Quick Jump Daily Digest

Thank you for your interest in the Quick Jump Daily Digest. Get notified of all new content on QJ in our free Daily Digest. To subscribe, enter your email address below and click the subscribe button.


Email Address:


Email will come from "donotreply@caputomedia.com". Please whitelist this email address.

Cancel and Return to page

Lua Coding 101

Posted Feb 21, 2007 at 3:38AM EST by QJ Staff

Listed in: Homebrew Development, How-To Tags: Glynnder, Lua, psp homebrews
Ó

Lua Devkit screenshot - Image 1 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)
Lua coding provides a relatively simple interface to work with, hence making it a favorite for newcomers just getting used to coding for a PSP. As Glynnder explains comparisons of "C" and Lua codes:
  • "#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"
There's also the long list of heavy-hitting lua games that are out as of late, like Quest of Link by Zion. For now, anybody who wishes to learn the ropes of PSP coding in Lua can access Glynnder's tutorial via the discuss link. Enjoy!

Discuss: [Lua Tutorial]



0% of voters think this story ROCKS!
Vote Now!    This story ROCKS! (0) This story SUCKS!! (1)




Become a Member of QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can sign up for nightly updates.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link at the top right!

Comments 


 
# Que locoGuest 2007-02-21 04:41
wow another type for the Lua codign yeah

Reply
 

 
# koolSniper78 2007-02-21 04:43
kool this is kool

Reply
 

 
# Im gonna start making homebrewGuest 2007-02-21 04:47
But I do need to know... Is C++ better? is it harder to code? And does it give me more control?

Reply
 

 
# lua looks easier by farMickMog 2007-02-21 04:53
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"

Reply
 

 
# ActuallyGuest 2007-02-21 05:00
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.

Reply
 

 
# YesGuest 2007-02-21 06:00
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.

Reply
 

 
# Nice workGuest 2007-02-21 07:43
Wow. Nice tut. Sounds like it's pretty easy to do. I really want to try it later

Reply
 

 
# I did some lua games then got boredGuest 2007-02-21 10:40
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.

Reply
 

 
# hgGuest 2007-02-21 13:24
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

Reply
 

Add comment

Security code
Refresh


Welcome to QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link below!



Want to learn more about the team who brings you the QJ news?

Read about them now!


RSS Feeds Follow us on Twitter Find us on Facebook
Login:

HOT FLASH GAMES

Monster Truck Jumper

Left to Die

The Empire 2

Dark Dimension

Town Drift Competition

Heroes of the Sword