Just wait...I'm writing the functions tutorial tonight. Functions are really easy to make and use.![]()
Hmm....darnOriginally Posted by Jeremysr
i guess since i dont know how to use functions yet I'll try the while loop thing
:Edit:
TYVM! it works pefectly now![]()
Just wait...I'm writing the functions tutorial tonight. Functions are really easy to make and use.![]()
Alrighti got the menu working with the while loop thing, which was much easier than i expected, but for the actual game i will need to use funtions because you will be pressing a button to shoot a gun...
:Edit:
I see funtions tut ^.^ looking at it right away!
Hm, looks like I should re-write the script so all of my functions are first and then the game starts after all of my functions have been set up, I will work on that tomorrow, thanks for the help functions ARE pretty easy
:Edit 2:
Yep thats what i have to do, i just looked at the Snowball battle game again and i acctualy understood some more of it, Angor made ALOT of functions then called them to be executed at the very end of the script
:Edit 3:
Ok i re-wrote my entire sctript using functions and now its ALOT more organized and the menu still works perfectlynow to start the actual game once i get my sprites working...
I wrote a User Information tutorial, it tells you how to get system information like the clock, the calendar, the users username, birthday, colour, language.......
Also, you might wanna look at the tutorials page ( http://www.bio-gaming.com/jeremy/dsl...?act=tutorials ) and see what tutorial 8 is called.![]()
Quick question, I've done Lua Development on the PSP before (check out Air Warriors if you can!) and was wondering if DS Lua is essentially the same (as far as functionality?
If so, I'd love to port over my Air Warriors game and dev some other DS stuff.
Also, the DSLUA site is down, anyone know where else I can get the DS Lua progs from?
Thanks in advance!
No it isn't. The core language is the same but the API/functionality is different.
Like with all programs, you need to understand the hardware that you are developing for. The DS hardware is rather unqiue similar to the GBA and therefore will seem extremely odd to people who are used to PSP's LuaPlayer.
DSLua uses the hardware of the DS, so you need to understand how the DS hardware works at least in principle to use DSLua.
....Hauh?
I'll try coding, eventually. I'm in mutual pain.
http://brennan.amidal.com/lua/DSLua%200.5.zip
This is the latest version of DSLua. It contains a few extras, like Jeremysr's keyboard, and part of the game I am coding (heh, just displays "adventure game" right now, the real file was on my card at the time I uploaded that).
Whoa, looks like a really old version of keyboard. There's a way better one at http://www.bio-gaming.com/jeremy/dsl...p?act=keyboard
It will only use the bottom screen, so you are free to use the top screen whenever you want.
Also, here is the GBFS version if anyone wants it. (brennxn uploaded the CF version)
http://www.bio-gaming.com/jeremy/dsl...a-0.5-gbfs.zip
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks