Rockbox

Tasklist

FS#5535 - Chopper game

Attached to Project: Rockbox
Opened by Ben Basha (paprica) - Monday, 12 June 2006, 13:28 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 0
Private No
This task depends upon

Closed by  Dave Chapman (linuxstb)
Friday, 16 February 2007, 01:24 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed.
Comment by Benoît Balmaekers (benosoft) - Wednesday, 14 June 2006, 15:08 GMT
This game lends itself perfectly for porting to a DAP, and
is fun to play as well, good idea!
Comment by Ioannis Koutoulakis (Genre9mp3) - Thursday, 15 June 2006, 13:04 GMT
I had some problems when tried to play the game during playback. When I was in the game menu the music stopped. Also when I try to exit the game by pressing the stop button (H300) the player freezes. That's all, keep up the good work
Comment by Alistair Marshall (amar) - Friday, 16 June 2006, 16:23 GMT
I think this should fix the playback and allow you to quit using the stop button
Comment by mat holton (matholton) - Wednesday, 19 July 2006, 21:27 GMT
There seems to be a problem with your patch. The function plugin_start is missing a return ret; and the closing curly brace.
But the game seems pretty good. Good idea!
Comment by Ben Basha (paprica) - Sunday, 23 July 2006, 02:10 GMT
I'm at vication in USA...

please, fix it and commit it :)


thanks

Ben.
Comment by Antoine Cellerier (dionoea) - Tuesday, 22 August 2006, 09:58 GMT
This is quite an adicting game :)

Some comments:
* Some #defines aren't used anywhere in the plugin. These should be removed. (I guess that they were copied from Brickmania :) )
* The source code allows setting the level mode to steep (LEVEL_MODE_STEEP) but that can't be changed anywhere in the interface.
* amiconn wants to ban all custom menus from plugins. Could you try using the rockbox menu api ?
* Would it be possible to add an option to use a more realistic acceleration/deceleration scheme ? Some thing like when you press the Action button you get a 1px/s² upwards acceleration and when you don't you get a -2px/s² downwards acceleration. (and add some max/min speed limits if needed) (the 1 and -2 values are kind of random and would need to be adjusted to something fun)
Comment by Antoine Cellerier (dionoea) - Thursday, 24 August 2006, 21:30 GMT
Two more comments:
* when restarting the game really fast (less than a second i guess), it uses the same level again. Must be due to some call to srand( clock time in seconds ) i guess.
* it'd be nice to have at least the first full screen without any bars so that you can't loose directly upon game start.
Comment by Nicolas Pennequin (nicolas_p) - Tuesday, 29 August 2006, 01:19 GMT
Here is a fixed version of the patch.
Comment by Bobby Graese (TrueJournals) - Thursday, 19 October 2006, 12:16 GMT
Updated the patch to add keymappings for the H10.
Comment by Barry Wardell (barrywardell) - Thursday, 19 October 2006, 15:20 GMT
Here's an updated patch which uses the rockbox menu api. It seems to freeze occasionally when entering/exiting the menu. I haven't figured out why just yet.
Comment by Max Weninger (maxwen) - Wednesday, 13 December 2006, 01:14 GMT
it crashes in line 648
...
rb->set_option("Level", iLevelMode, INT, levels, 2, NULL);
...
IMHO you must use &iLevelMode
Comment by Adam (voltagex) - Tuesday, 16 January 2007, 06:57 GMT
Any chance of an update for latest SVN?
I get

debian:~/rockbox# patch -p0 < chopper.patch
patching file apps/plugins/SOURCES
Hunk #1 FAILED at 84.
1 out of 1 hunk FAILED -- saving rejects to file apps/plugins/SOURCES.rej
patching file apps/plugins/chopper.c
Comment by Paul van der Heu (paulheu) - Tuesday, 16 January 2007, 12:29 GMT
Just fix it yourself for now... takes 10 seconds
Comment by Bobby Graese (TrueJournals) - Sunday, 04 February 2007, 02:42 GMT
Here are two files that should work with latest SVN. chopper.patch is the game without using the menu API, and chopper_with_menu_api.diff is the game USING the menu API. Choose whatever one you like. I also tried to fix the occasional freeze when exiting/entering menu that barry reported by using maxwen's fix.

Loading...