Lua Coding 101 |
Ó
Ever wanted to know how to code in lua? Homebrew developer Glynnder has just announced that in line with his recent coding break, he has set up a tutorial for lua coding over at the boards. Now, before you get started on the (free) session, be reminded that you will need the following tools:- The latest version of Lua Devkit
- Lua Player (preferably versions v0.16, v0.17DK2, v0.20, or v0.20MOD3
- Notepad++ (in case Lua Devkit doesn't work)
- "#include <stdio.h> int main() { printf("hello world"); return 0;} That is 'hello world' in C"
- "print("hello world") That is 'hello world' in lua"
Discuss: [Lua Tutorial]
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
Accessories
Add-ons
Applications
Artwork
Batteries
Cheats
Deals
Emulators
Events
Featured Articles
Firmware
Flash Applications
Flash games
Game Demos
Games
Hacks & Exploits
Homebrew Applications
Homebrew Demos
Homebrew Development
Homebrew Emulators
Homebrew Games
Homebrew Themes
How-To
Humor
Imports
Interviews
Magazines
Mods
MY QJ
News
Off Topic
On Shelves This Week
Opinions & Analysis
Podcasts
Previews
PSP Go
PSP Minis
PSP Slim & Lite
QJ How-To Series
QuickJump QuickGuide
QuickJump QuickPeek
Reviews
Rumors
Scans
Screenshots
Site News
Titles
UMD Movies
Videos
Weekend Warrior
Wi-Fi
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
Comments [refresh]
wow another type for the Lua codign yeah
kool this is kool
But I do need to know... Is C++ better? is it harder to code? And does it give me more control?
if you cant read above youll have probs wi both AlucardZero;-)
heres the example between the two........
# "#include int main() { printf("hello world"); return 0;} That is 'hello world' in C"
# "print("hello world") That is 'hello world' in lua"
I've been scripting Actionscript for flash games, it has the same layout as Java, and C++ what with the () and {} and ; and all...
Like
onClipEvent(ent erFrame){
play();
}
Stuff like that.
C++ is definitely more powerful, but as you guessed, has a steeper learning curve. It's not a bad idea however to get your feet wet with Lua.
Wow. Nice tut. Sounds like it's pretty easy to do. I really want to try it later
LUA is an alright language but I already know c++ to an extent, I was only using lua because you can run the same game on both the pc and psp to debug.c++ is much better and now I'm making a game on the lte engine.
hjjjjjjjjjjjjjj jjjjjjjjjjjjjjj jjjjjjjjjjjjjj
kk
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k