View Full Version : o2Pong: Beta
Here is the beta of my pong clone. No scoring as of yet (due to a lack of a text library at the moment, I will likely eventually use tally marks instead, or a bitmap font if I write a bitmap loader).
This is mainly to get some input on the physics and gameplay. I'm not sure of the best and most fair way to make the enemy move (currently it goes at a constant speed, trying to center itself on the ball). Your paddle velocity is added to the ball velocity, allowing you to add some side to side momentum to the ball. Any input would be helpful.
The source will be released with the final release, though if anyone is interested in it ahead of time I can clean it up a bit and post it.
Installation:
To install o2Pong, just extract the zip to your USRPROG directory.
cmillermo
12-28-2008, 14:19
Hi I just wanted to let you know that I just put this program on my O2. The only problems I found were after a bit of playing sometimes the sound would stop when the ball would bounce off one of the sides of the screen and their would be no sound. But eventually it would come back. I haven't been able to figure out what caused this. Also this isn't a problem with just your program but also with the stopwatch program, I found that their was no way to exit the program except by closing the o2. But overall this game has a lot of potential. Keep it up!
I honestly have no idea about the audio issues. I've never experienced them myself, and since it's affecting the stopwatch too, which I didn't make, it sounds like an issue with the sdk or the device itself.
Having to turn off the o2 to exit the program is a limitation of the current sdk. The only way to exit is to restart the device. I could make a button to do that like the stop watch has, but overall it basically accomplishes the same feat. I'd really like to figure out how the calculator and notepad programs exit back to the interface, but they didn't release the source to those.
The comments in the sdk seemed to imply that they were sortof afraid your application wouldn't free up all of its memory when it exited, which could cause problems with the main o2 software (Mainly, it would likely cause the interface to crash at some point in time when it tried to use more memory than what was available, and ofcourse cowon would be blamed for this issue).
cmillermo
12-29-2008, 14:46
I just found another "bug" i guess you could call it. When you first click the ball in the center to start a round you don't really know what direction the ball is going in. And I think it would be a good idea to at least put in an exit button that restarts the O2 in your game. If you don't know how to do this a bubblewrap "game" was just released just look under cowon o2 softwares in this forum and you should see it. He has the source to his "game" availible to download and his game has a restart button so you could use his source. Keep it up!
P.S Ill try to record some video of the sound not working and then ill post it in case you're interested.
You don't actually have to click the ball, you can touch anywhere on the screen. Direction wise, it always goes in the same direction on the first round, and every round after that it heads towards the winner of the previous round. Though obviously the up and down movement is randomized.
The lack of an exit button wasn't due to a lack of knowledge, it was partially because I was going for a classic pong feel, and partially because this was mainly a quick release for people to test out the physics/gameplay. Since people tend to prefer one, I'll be sure to include an exit button in the next release (though I'm not sure where).
I'm actually kind of surprised people haven't pointed out the odd collision bug where the ball can sortof clip over the very top edge of the paddles. Needless to say, that will also be fixed in the next release.
vBulletin® v3.6.8, Copyright ©2000-2013, Jelsoft Enterprises Ltd.