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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Bubbles 2
« previous next »
  • Print
Pages: [1]

Author Topic: Bubbles 2  (Read 1920 times)

Offline lionfury

  • Member
  • *
  • Posts: 51
Bubbles 2
« on: August 18, 2010, 10:31:01 AM »
Maybe a sequel to the bubbles plugin with new levels and maybe a random option to make random levels for you.
Logged
8gb Sansa Fuze+/8gb MSD Card
4gb Sansa Fuze
2gb Sansa Clip
All Rockboxed

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Bubbles 2
« Reply #1 on: August 18, 2010, 10:43:10 AM »
why not just add that to the exisiting plugin?
Logged

Offline lionfury

  • Member
  • *
  • Posts: 51
Re: Bubbles 2
« Reply #2 on: August 18, 2010, 11:04:26 AM »
Sounds good. Mainly I just want the random feature so I can never run out of levels. I would add it myself but my programming skills are limited to ti basic
Logged
8gb Sansa Fuze+/8gb MSD Card
4gb Sansa Fuze
2gb Sansa Clip
All Rockboxed

Offline froggyman

  • Member
  • *
  • Posts: 214
Re: Bubbles 2
« Reply #3 on: August 18, 2010, 05:59:46 PM »
First you will want to get yourself a build envirnoment set up so you can compile the code and actually see the results of what you have changed. Take a look at http://www.rockbox.org/wiki/DevelopmentGuide first followed by setting up your compiler to build rockbox from SVN.

You will also want an editor for editing the code, Code::Blocks and notepad++ are two editors that are fairly simple to use.

You may want to consider starting off by just adding more levels to the current version of Bubbles, which really shouldn't be too difficult or require too much prior programming. Check out /apps/plugins/bubbles.c  for its source code in the trunk/SVN. Just take a glance over the entire file, and read through the comments, its describes pretty well on how to make the levels, plus there are 100 examples to look at. Start by making changes to some of the existing levels, compiling it and seeing if you did what you wanted to. After you get a feel for the level syntax start by adding new levels to it. Then you can post a .diff or .patch of your changes on the flyspray and maybe someday have it committed to SVN.
Logged
iPod Video 5.5G 30GB - Now Dead :(
Sansa Fuzev2 4GB

"To prevent this day from getting worse, I'll just read ERROR as GOOD THING"

Offline lionfury

  • Member
  • *
  • Posts: 51
Re: Bubbles 2
« Reply #4 on: August 19, 2010, 09:40:15 AM »
Thank you. I'll try to do it. Most likely il fail. By the way is it possible to type source code on the rockbox text editor
Logged
8gb Sansa Fuze+/8gb MSD Card
4gb Sansa Fuze
2gb Sansa Clip
All Rockboxed

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Bubbles 2
« Reply #5 on: August 19, 2010, 09:48:52 AM »
Quote from: lionfury on August 19, 2010, 09:40:15 AM
Thank you. I'll try to do it. Most likely il fail. By the way is it possible to type source code on the rockbox text editor

Possible?  Yes.  Though I'm not sure why one would want to.

Perhaps I don't fully understand where you are going, or what base assumptions you are making, with this question.

Rockbox is compiled from source code.  The TI Basic you are familiar with is an interpreted language, meaning that one executes the source code directly on the calculator, running inside another program.  Rockbox is mostly C language code, a compiled language which must be turned into executable software through the use of a compiler.  There is no compiler built into Rockbox as this would be a massive undertaking and most of the DAPs Rockbox supports probably don't have enough battery life to compile a complete Rockbox build.

Rockbox does have a LUA interpreter.  LUA is an interpreted language like TI Basic, and maybe you would enjoy playing around with it.  Still, though, the lack of a physical keyboard (or even a decent number of buttons) on Rockbox devices would make programming on your DAP a painful experience, IMHO.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Bubbles 2
 

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

Page created in 0.085 seconds with 16 queries.