Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Games
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by paprica - 2006-06-12
Closed by  linuxstb
2007-02-16 01:24
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Committed.

This game lends itself perfectly for porting to a DAP, and
is fun to play as well, good idea!

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

amar commented on 2006-06-16 16:23

I think this should fix the playback and allow you to quit using the stop button

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!

I'm at vication in USA…

please, fix it and commit it :)

thanks

Ben.

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)

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.

Here is a fixed version of the patch.

Updated the patch to add keymappings for the H10.

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.

it crashes in line 648
… rb→set_option("Level", iLevelMode, INT, levels, 2, NULL);
IMHO you must use &iLevelMode

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

Just fix it yourself for now… takes 10 seconds

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...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing