DSLua Community
Welcome, Guest. Please login or register.
February 05, 2012, 08:20:54 AM
1371 Posts in 262 Topics by 33109 Members
Latest Member: Limewire Download
DSLua Community  |  DSLua - Best scripting language for Nintendo DS  |  Examples/Tutorials  |  Some Tutorials! « previous next »
Pages: [1] 2
Author Topic: Some Tutorials!  (Read 9670 times)
Jeremysr
First Quarter
***
Posts: 215



WWW
« on: August 28, 2006, 12:59:37 AM »

I decided to write tutorials for people since DSLua is so hard to learn with just examples! I'm writing them on my DSLua site, I've done two so far, which teach how to use DSLua and how to use some text functions. The tutorials are located here:

http://www.bio-gaming.com/jeremy/dslua/index.php?act=tutorials

I don't know too much about DSLua, but I'll teach all I know! Tongue
Logged
jeffx
New Moon
*
Posts: 9

Lua Programmer


« Reply #1 on: August 28, 2006, 11:39:10 AM »

awesome, I will check them out
Logged
daltonlaffs
First Quarter
***
Posts: 189


Freaking Insane


WWW
« Reply #2 on: August 28, 2006, 02:26:38 PM »

I am currently in the works of putting some tutorials for DSLua on my site, as well. But that Hello World tut isn't too shabby. No errors there, but why on earth do you confuse people by saying colour through the whole thing?  Lips sealed
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #3 on: August 29, 2006, 12:10:43 AM »

Lol, well ,I guess it'd be a good idea to change that...there, it's all back to color! Grin

And I added another tutorial: Loops and if statements!

Then I'll make the short tutorials of button/touch screen presses and music/sound playing, but I'll skip the sprites tutorial for now...I don't know enough about them, I don't think. Especially with frames and scrolling. Instead I will try to create a new section where I list all the functions I know/can find, and describe how each one works and give examples etc. Smiley
Logged
daltonlaffs
First Quarter
***
Posts: 189


Freaking Insane


WWW
« Reply #4 on: August 29, 2006, 10:13:34 AM »

I'll skip the sprites tutorial for now...I don't know enough about them, I don't think. Especially with frames and scrolling.
I can always teach you over MSN or PM or something, ya know. They're easy once you find out how to use em.  Shocked

Wanna go 2 msn or something? I have Instan-t, MSN, Yahoo, and AOL. I'm sure I can teach you what you wanna know in less than 20 minutes.
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #5 on: August 29, 2006, 10:47:35 AM »

Sure ok! Grin I have MSN: jeremysr@hotmail.com
Logged
daltonlaffs
First Quarter
***
Posts: 189


Freaking Insane


WWW
« Reply #6 on: August 29, 2006, 02:30:55 PM »

Come on MSN whenever you can, I'll be on 4 a while.
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #7 on: September 03, 2006, 12:37:28 AM »

I've added a tutorial on the touch screen and buttons, which also explains my stylusInBox() function. And here's a new bigger list of future tutorials:

Quote
Tutorial 0: How to run DSLua programs on your DS - When you download my DSLua programs, you will just get source code. Go to this document to find out how to run it on your DS.

Tutorial 1: Hello World - How to print stuff to the screen, use variables, use comments, colour text, and choose where on the screen to put the text.

Tutorial 2: Loops and If statements - Learn how to let your programs make decisions and run repetetetetive code.

Tutorial 3: Touch screen/Buttons - Get user input from the stylus and the 12 DS buttons.

Tutorial 4: Sound and Music - Coming Soon

Tutorial 5: Sprites and Backgrounds - Coming Soon

Tutorial 6: Functions - Coming Soon

Tutorial 7: Strings - Coming Soon

Tutorial 8: Randomization - Coming Soon

Tutorial 9: User Information - Coming Soon

Tutorial 10: File I/O - Coming Soon

Tutorial 11: Arrays - Coming Soon

Edit: I just quickly wrote a Sound & Music tutorial. The next one to write is Sprites & Backgrouns..which I'm scared to write.. Tongue It'll be so big...But at least I get to make some nice graphics for the tutorial along the way! Cheesy
« Last Edit: September 03, 2006, 01:09:56 AM by Jeremysr » Logged
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #8 on: September 03, 2006, 11:32:43 PM »

Wow, according to my hidden pageview counters on the tutorials, there are a lot of people using these! The counter keeps going up a few times every hour!
Logged
brennan
Waxing Crescent
**
Posts: 41


WWW
« Reply #9 on: September 04, 2006, 08:02:17 PM »

Hehe, back when I had interest in Lua, there was almost no docuentation at all. Now, I have moved on, started learning C, and this shows up :p.

Well, it seems as if the project is dieing anyway, it'd probably been a waste of time.
(Btw, those tuts are pretty good, Jeremy)
Logged
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #10 on: September 04, 2006, 11:44:41 PM »

I've added the tutorial about sprites and background maps: http://www.bio-gaming.com/jeremy/dslua/index.php?act=spritesandbackgrounds

And I'll quickly write the functions tutorial tonight. (making your own functions)
Logged
jester
Waxing Crescent
**
Posts: 86


Jester Corp DS Logo


WWW
« Reply #11 on: September 05, 2006, 09:29:28 AM »

we need to save DSLua it is the most comfortable way of coding for the nds keep the dream alive i am going to also search for waruwaru
Logged

CURRENT PROJECT:

JesterCorp DS- 2D FIGHTING GAME!!! Due out August 19th 2007!!!Having Sprite Issues but Toast is helping me ALOT
daltonlaffs
First Quarter
***
Posts: 189


Freaking Insane


WWW
« Reply #12 on: September 05, 2006, 01:47:08 PM »

Hey jeremysr!

I saw that you were struggling on your Language fuction, cuz you didn't know what number is what language, so here. I tested this on REAL hardware, by resetting my DS and changing my language over and over again. Here is each language and its number:

Japanese = 0 (Dualis speaks Japanese, who knew?)
English = 1
French = 2
That one that sounds like Dutch = 3
Italian = 4
Spanish = 5


And on the chinese iQue DS, they have chinese, but I don't have one, so good luck... probably 7, but not sure.

Just say (thanks Daltonlaffs) somewhere on the page  Tongue
Logged

Code:
-- Bored? Read code line below.
-- Bored? Read code line above.



^^ That works, I SWEAR! ^^
Jeremysr
First Quarter
***
Posts: 215



WWW
« Reply #13 on: September 05, 2006, 07:33:14 PM »

Yay, thanks! Grin I'm pretty sure the dutch one is how you say "German" in German. I'll go check.

I'll definately give you credit. Smiley

(BTW I just "elsed" the chinese one (if the number is not inbetween 0 and 5 it must be chinese))
« Last Edit: September 05, 2006, 07:41:06 PM by Jeremysr » Logged
jester
Waxing Crescent
**
Posts: 86


Jester Corp DS Logo


WWW
« Reply #14 on: September 05, 2006, 07:58:04 PM »

i cant wait for more tutorials jeremysr
Logged

CURRENT PROJECT:

JesterCorp DS- 2D FIGHTING GAME!!! Due out August 19th 2007!!!Having Sprite Issues but Toast is helping me ALOT
Pages: [1] 2
« previous next »
    Jump to: