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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  I need help with LUA Save data and playback control
« previous next »
  • Print
Pages: [1]

Author Topic: I need help with LUA Save data and playback control  (Read 1558 times)

Offline Rot8er_ConeX

  • Member
  • *
  • Posts: 5
I need help with LUA Save data and playback control
« on: December 01, 2011, 10:50:49 AM »
Two questions, one forum:
  1.) How do I control playback from within a LUA game?  I'm guessing it'll be (a) function(s) that starts with "rb." .
  2.) How do I get a LUA game to save its data?  (lemme think: BRICKS, BROCKS, BALLS, COSMIC, PWR, SHARD, level_base, paddle, lives, level, score)  So I need to save the values of eight tables - six of which change sizes throughout the course of the game - and three integers.
« Last Edit: December 15, 2011, 10:34:23 AM by Rot8er_ConeX »
Logged

Offline Rot8er_ConeX

  • Member
  • *
  • Posts: 5
Re: I need help with LUA Save data and playback control
« Reply #1 on: December 15, 2011, 11:19:52 AM »
Note:  I now have saving working (I used the Contacts plugin as refrence), but still need help with playback control.  I notice that the actions and buttons files allow for playback control, I just don't seem to be able to guess how to implement it.
« Last Edit: December 15, 2011, 11:26:21 AM by Rot8er_ConeX »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  I need help with LUA Save data and playback control
 

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

Page created in 0.045 seconds with 15 queries.