Closed paranoiax closed 12 years ago
I really should add the Menu to the other version, it'll speed things up (definitely), can you give a quick overview of how this menu system works.
Btw, anyone can see this code and play it without paying... piracy alert!
Take a look at https://github.com/josefnpat/lovemenu for how the menu system works.
I've just implemented a system to save and load the settings in options.lua.
In main.lua from line 284 to 305 are the "switches" for the default values.
Lines 307-404 are the actual menu items.
The callback starts at line 1022.
But if you take a look josefnpat's framework it should be pretty much self explanatory.
Oh and I also made some changes to the original menu.lua (nothing important though).
About Piracy: Not even one 1% of potential customers are able to do anything with the source ;)
What needs to be done though, if you want to carry things over to your bitbucket repo, is implementing the level selector. You'll probably need to hack away quite a bit.
But if you take a look josefnpat's framework it should be pretty much self explanatory.
Thanks! (Yes, I stalk repos.)
=)
Working! One thing left: Make use of saved resolution and fullscreen settings.