Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Testers needed for new Lua game
« previous next »
  • Print
Pages: [1]

Author Topic: Testers needed for new Lua game  (Read 4742 times)

Offline splondike

  • Member
  • *
  • Posts: 3
Testers needed for new Lua game
« on: April 26, 2011, 12:59:09 AM »
Hello, I've written a new Lua game for RB which I'd like to get included in the official distribution for all players with an RGB screen. The flyspray ticket is here: http://www.rockbox.org/tracker/task/11922 . As of now I have only got it tested fully on the Fuze v2.

Since it's Lua, all you have to do is take the file, drop it on your player and select it in the file browser. The current latest version is the most recent 'pixel-painter.lua' attachment listed in the ticket (you can't change older posts unfortunately).

The usage case I'm most interested in testing is starting and playing through a new hard difficulty game with music playing at the same time. I've had difficulty with the music being stopped in the past due to my plugin using up too much memory (see ticket and http://forums.rockbox.org/index.php/topic,27120.0.html).
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Testers needed for new Lua game
« Reply #1 on: May 05, 2011, 02:51:20 PM »
I'll have a play this weekend.  :)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline iformas

  • Member
  • *
  • Posts: 6
  • The Cake is a lie!
Re: Testers needed for new Lua game
« Reply #2 on: May 13, 2011, 01:23:12 PM »
tested in ipod video 5.5g, works fine, with music play
Logged
Ipod Video 5.5g (Rockbox, ipodlinux)

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Testers needed for new Lua game
« Reply #3 on: May 13, 2011, 01:34:31 PM »
I didn't notice any problems on my Gigabeat either.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline siber_cat314

  • Member
  • *
  • Posts: 41
Re: Testers needed for new Lua game
« Reply #4 on: May 15, 2011, 05:19:39 AM »
It managed to stop playback on my Gigabeat F10 on only couple of the many games I played. I have a save file backed up of one of the games that stopped playback, if you want it.
Logged
Quote from: Zardoz
so if i scribble some nonsense and post it on a site, i reserve all rights to my scribbled nonsense?
Quote from: Llorean
If it can be described as a creative work, yes.

Offline jaylee

  • Member
  • *
  • Posts: 14
Re: Testers needed for new Lua game
« Reply #5 on: May 18, 2011, 11:05:11 AM »
Tested on SA9200, works fine. The playback is interrupted temporarily when starting a new (med&hard difficulty) game.
Logged

Offline JohnnyX

  • Member
  • *
  • Posts: 2
Re: Testers needed for new Lua game
« Reply #6 on: June 02, 2011, 03:02:35 PM »
Results were consistent on my Sandisk Sansa e200V1 player
Easy -> no interruption to music playback
Normal -> Stoppage of playback that resumed when CP was complete
Hard -> Complete stoppage of playback that did not resume after CP was complete

CP consumed quite a bit of time on Normal and Hard levels.

Thanks for creating the plugin.  A "flood puzzle" type game was high on my mental list of projects to try for the rockbox.  Also, it's in lua, which I've been meaning to play with.  So, this is awesome!

I noticed that the difficulty level is not remembered after I restart rockbox.  This may be by design, but since the calculating par takes a while on normal, I hard-coded mine to "1."  Once I get bored with easy, I will put at "2" again.

I was not a fan of "black" as one of the colors (well, almost black).  I thought it too closely matched the background of the game and didn't quite fit as a color.  I replaced that color with "violetred" rb.lcd_rgbpack(208, 32, 144).  Of course I made the pip black across the board.  Screenshot from simulator on PC:



I would like the ability for the pip to wrap around the color chooser.  I'm really lazy and don't like to click back 5 spaces if I can go forward 1.  Anyway, that will give me a chance to really get hands-on with lua.

Thanks again for a great plugin!

Post Merge: June 03, 2011, 11:54:40 AM
FYI, I created my own personal modification to allow wrapping of the color chooser.  It should also work on the other screen layouts (up-down instead of right-left).  I'm lazy, so I don't like having to click back 5 times when I could click forward 1.  Here is the modified code.
Code: [Select]
			elseif action == next_action then
if game_state["selected_colour"] == NUM_COLOURS then
game_state["selected_colour"] = 1
redraw_game(game_state, highscores)
else
game_state["selected_colour"] = game_state["selected_colour"] + 1
redraw_game(game_state, highscores)
end
elseif action == prev_action then
if game_state["selected_colour"] == 1 then
game_state["selected_colour"] = NUM_COLOURS
redraw_game(game_state, highscores)
else
game_state["selected_colour"] = game_state["selected_colour"] - 1
redraw_game(game_state, highscores)
« Last Edit: June 03, 2011, 11:54:40 AM by JohnnyX »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Testers needed for new Lua game
« Reply #7 on: June 03, 2011, 01:01:15 PM »
You should post a new version of the patch to the flyspray task.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline rryswny

  • Member
  • *
  • Posts: 2
Re: Testers needed for new Lua game
« Reply #8 on: June 05, 2011, 03:38:03 PM »
Seems to work fine on the ipod video 5g. Fun game. Thanks!
Logged

Offline RockBoxFan

  • Member
  • *
  • Posts: 55
Re: Testers needed for new Lua game
« Reply #9 on: June 28, 2011, 03:04:41 PM »
Wow nice work!  Perhaps a "High Score" screen from the menu?
Logged

Offline JohnnyX

  • Member
  • *
  • Posts: 2
Re: Testers needed for new Lua game
« Reply #10 on: July 07, 2011, 04:03:29 PM »
9 under par on level 2 (medium)!!

Brag-worthy?
Logged

Offline lilmac

  • Member
  • *
  • Posts: 4
Re: Testers needed for new Lua game
« Reply #11 on: July 07, 2011, 07:40:28 PM »
tested with fuze v1 works great
Logged

Offline lbpages

  • Member
  • *
  • Posts: 1
Re: Testers needed for new Lua game
« Reply #12 on: August 01, 2011, 06:32:31 PM »
Just tested it on a Sansa Fuze, v1, it works well. However I unfortunately haven't been able to test out the sound yet. Have you considered making a custom menu, in lua, instead of using the rockbox default menus? With that, you could add some animations and graphics that would look really sweet. Just a thought.  :)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Testers needed for new Lua game
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.125 seconds with 15 queries.