Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#5855 : Pong Upgrades



FS#5855 - Pong Upgrades

Attached to Project: Rockbox
Opened by Travis Hyyppa (Travis) - Saturday, 19 August 2006, 10:08 GMT
Last edited by Frank Gevaerts (fg) - Saturday, 08 January 2011, 16:34 GMT
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


Made pong look a lot nicer for color targets and added demo and one player modes for all.

I set the foreground to green and the background to black.

I also added a simple 1 player function to play against the computer. To play two players all you need to do is press one of the normal right player buttons.
This task depends upon

Closed by  Frank Gevaerts (fg)
Saturday, 08 January 2011, 16:34 GMT
Reason for closing:  Accepted
Additional comments about closing:  Mostly committed as r29007. I left out all colour changes (both the pulsing and the background/foreground).

Please submit a new patch if you want either of those, but if so, please make the pulsing configurable.
Comment by Shachar (Lamed) - Wednesday, 06 September 2006, 21:46 GMT
"/* Give ball a little push to keep it from getting stuck between wall and pad */",

I'm not sure as I don't have a development environment available atm, but I'm pretty positive I've already solved the wall-pad bug. other then that It sounds like a good idea but I haven't gone through the code really :)

I think we should increase the ball side and make the game a little harder (ie faster ball or smaller pads, at least reffering to the h1x0, which is too easy to play imho)
Comment by Travis Hyyppa (Travis) - Wednesday, 06 September 2006, 22:03 GMT
With the AI Player sometimes the ball will get stuck against the top/bottom of the screen and the side of the AI pad. The bump helps it, but it still happens, a lot less often now though. :)

Having the game get incrementally harder as you move on would be nice.
Comment by Nicolas Pennequin (nicolas_p) - Wednesday, 08 November 2006, 23:02 GMT
redid the patch so it applies correctly
Comment by Ryan Dechant (gravedigg154) - Friday, 22 December 2006, 07:46 GMT
I love this. I hate playing against myself, now I finally have AI to play against. Great patch.
Comment by Travis Hyyppa (Travis) - Wednesday, 31 January 2007, 17:40 GMT

» Now includes a 'demo' mode which will play cpu<->cpu until a button is pressed.
» Also, if music is playing, the paddles will pulse bright green to the beat.
Comment by Andre Coleman (drestar23) - Monday, 14 May 2007, 00:19 GMT
I am new to this whole rockbox mp3 player thing so could someone please tell me how to apply this and any other patch????
Comment by Shachar (Lamed) - Monday, 14 May 2007, 13:47 GMT
start off by reading the 'For Developers' Section under the wiki's index

You have to know how to compile and how to work with patches
Comment by Antoine Cellerier (dionoea) - Saturday, 30 June 2007, 20:35 GMT
Redid patch to remove tabs/trailing spaces and keep code formating consistent with previous code.

Would it be possible to have the pads blink in different colors? (maybe have smoother transitions)
Comment by josh (naegling23) - Sunday, 11 November 2007, 22:11 GMT
would love to see this, im not savy enough to patch rockbox though.
Comment by Taylore (trailblaze) - Monday, 25 August 2008, 21:25 GMT
When Patching, There is a hunk error.. That means it needs an update right? Hmmph this looked kool since the pong version right now isnt what it could be... can someone with knowledge in this stuff resyncdify this patch?
Comment by Thomas Schott (scotty) - Monday, 01 September 2008, 11:41 GMT
trailblaze: Of course! Here it is (r18377) ;-)

This patch crashes (at least) the simulator after a view seconds when playing music in the background while pong is running :-(
Didn't try it on a real device yet.
Comment by Taylore (trailblaze) - Monday, 01 September 2008, 17:16 GMT
Thanxs a lot.. No crashing here on my ipod nano! I love the oulsing colors 2 my music.. Thanxs for making this experience possible!
Comment by Thomas Schott (scotty) - Thursday, 04 September 2008, 10:48 GMT
On my iPod pong works fine with the patch :-)
Don't know what causes the simulator crashes...
Comment by Taylore (trailblaze) - Friday, 16 January 2009, 22:00 GMT
Hmm.. I loved this patch.. lol, played it everyday... hmm, but now on build 19778, im getting 2 of those darn hunk error again....I feel bad asking, but may you please re-sync it please?
Comment by Thomas Schott (scotty) - Friday, 16 January 2009, 23:58 GMT
Here it is.

The simulator crashes are gone somehow :-)
Comment by Taylore (trailblaze) - Tuesday, 20 January 2009, 22:28 GMT
Thank you very much! works again... I love this patch!
Comment by Gman (Thecoolgman) - Thursday, 02 April 2009, 02:58 GMT
Can you make it where I can vs the ai?
Comment by Thomas Schott (scotty) - Sunday, 13 December 2009, 19:31 GMT
sync to SVN