QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

LUA games

This is a discussion on LUA games within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; hello my name is psphacker12........ i want to start coding a game in LUA.............. is there a tut 4 this?...

Reply
 
LinkBack Thread Tools
Old 09-06-2006, 02:19 PM   #1
likes kittens....awww....
 
Join Date: Sep 2006
Real First Name: Erik
Location: Detroit
Just Played: Call of Duty:World at War
Posts: 628
Trader Feedback: 0
Default LUA games

hello my name is psphacker12........
i want to start coding a game in LUA..............
is there a tut 4 this?
psphacker12. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 02:22 PM   #2

Developer
 
Join Date: Mar 2006
Posts: 1,026
Trader Feedback: 0
Default

Welcome to the forums mate.

http://www.evilmana.com/tutorials/ is a good place to start.
__________________

Check out my homebrew & C tutorials at http://insomniac.0x89.org/
Coder formerly known as Insomniac197

Quote:
tshirtz: what is irshell ??
Atarian_: it's where people who work for the IRS go when they die
Insert_Witty_Name is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 02:24 PM   #3

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

there and psp-programming.com
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 02:27 PM   #4
 
EminentJonFrost's Avatar
 
Join Date: Dec 2005
Location: Here
Posts: 2,715
Trader Feedback: 0
Default

http://www.lua.org/pil/
__________________
[CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]
EminentJonFrost is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 02:59 PM   #5
 
Exodus's Avatar
 
Join Date: Jul 2005
Location: East Coast
Posts: 361
Trader Feedback: 0
Default

I am currently coding a game in Lua. It's actually not too hard once you figure stuff out... You'll learn over time.

I pretty much went over to PSP-Programming first, and did thier two tutorials. They teach you the basics really easily.

Then I went to EvilMana and looked at thier code snippits and tutorials, and hung out in thier IRC.

So far I've gotten my intro screen, basic collision engine, healthbars, and a few other things drawn up and working.
Exodus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 03:52 PM   #6

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

What? Nobody mentioned ProgramLua? Guess it's not popular enough yet. Anyway, the link is in my sig.

Edit: 888th post!
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 03:56 PM   #7

Developer
 
cools's Avatar
 
Join Date: Aug 2005
Posts: 472
Trader Feedback: 0
Default

Another way to learn is study sample code, and then try to re-create it. This will help you learn a lot better.
__________________

PSP Monopoly | PSP Tic Tac Toe | PSP eMail and SMS | Drag Mini | Block Dude
http://www.cools.biaklan.com
Currently Working on ?????

Quote of the Week
cools is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 05:40 PM   #8
 
Exodus's Avatar
 
Join Date: Jul 2005
Location: East Coast
Posts: 361
Trader Feedback: 0
Default

Quote:
Originally Posted by cools
Another way to learn is study sample code, and then try to re-create it. This will help you learn a lot better.
Yes, but he should learn the very basic stuff first.

I read over ALOT of sample code, and recreate it as my own.

I've done that numerous times when I'm coding Rozen Kombat. (Which actually, I am doing RIGHT now.)

Oh, and the most important thing... I suggest you download Notepad++... It's like Notepad, but it has formatting options (Lua, in our case), tabbed browsing of files, and alot more. It's just so helpful.
Exodus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 05:43 PM   #9

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

Or context editor (which many say is better...)
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 05:43 PM   #10

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

I suggest downloading LuaEdit. It's much better than most other text editors since it was designed for Lua and Lua Only.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:02 PM   #11

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Cause everyone knows LUA is where it's at
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:06 PM   #12

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

ROFL, oh yeah...
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:07 PM   #13

OMFG
 
Slasher's Avatar
 
Join Date: Jul 2005
Location: Toronto
Posts: 2,816
Trader Feedback: 0
Default

Quote:
Originally Posted by SG57
Cause everyone knows LUA is where it's at
Says the egotistic wannabe C master.
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:15 PM   #14

Developer
 
Join Date: Jul 2006
Posts: 205
Trader Feedback: 0
Default

I second the vote for Notepad++ if you're on Windows, but that's only because conTEXT didn't work for me so I don't know how good it is. I had LuaEdit first but for me it took up around twice the memory that Notepad++ does.
LMelior is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:27 PM   #15

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

Quote:
Originally Posted by SG57
Cause everyone knows LUA is where it's at
Exactly. Actually, when I finish the next version of pencil puzzles (which should be out tonight), I plan on learning some more C. I already know Yeldarb's tuts. I just need to go a step further.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:33 PM   #16

Your Fate is Grim...
 
Grimfate126's Avatar
 
Join Date: Oct 2005
Posts: 2,269
Trader Feedback: 0
Default

Quote:
Originally Posted by ARza
Exactly. Actually, when I finish the next version of pencil puzzles (which should be out tonight), I plan on learning some more C. I already know Yeldarb's tuts. I just need to go a step further.
lua to c is fairly easy. i know. i converted.
__________________
--------------------------------------------------------------------------------------
Grimfate126 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:43 PM   #17

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

Quote:
Originally Posted by Grimfate126
lua to c is fairly easy. i know. i converted.
That's what everyone says, but I'm a little hesitant to do it. I mean, if I'm going to start learning C, that means I have to devote all my time to C. And it'll take me a couple months to gain enough C knowledge to create a good game. That means 2 months of nothing but reading tutorials. It's too boring for me. I like creating games and apps, not reading tuts and making "Hello Worlds".
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:57 PM   #18

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Everyone has to start somewhere. Do you honestly think both 2.8's recent Decryption and the 2.71 downgrader were created without studying / disassembling the PoC hello world for 2.0-2.8? Honestly, I dont know as they possibly could have just replicated what the PoC Hello World did all on there own, but thatd be a big waste of time... Good work no doubt.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 06:59 PM   #19

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

Quote:
Originally Posted by SG57
Everyone has to start somewhere. Do you honestly think both 2.8's recent Decryption and the 2.71 downgrader were created without studying / disassembling the PoC hello world for 2.0-2.8? Honestly, I dont know as they possibly could have just replicated what the PoC Hello World did all on there own, but thatd be a big waste of time... Good work no doubt.
I know everyone has to start somewhere. But I don't want to start, I just want to finish. I don't want to go through all of the hassles, I just want to know it. But that can never happen, so I'll eventually start C. Don't know when though. Between school and my current Lua Projects, I don't know where I'll find time. That's why I don't want to start learning C yet.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:02 PM   #20
 
Exodus's Avatar
 
Join Date: Jul 2005
Location: East Coast
Posts: 361
Trader Feedback: 0
Default

Quote:
Originally Posted by ARza
I know everyone has to start somewhere. But I don't want to start, I just want to finish. I don't want to go through all of the hassles, I just want to know it. But that can never happen, so I'll eventually start C. Don't know when though. Between school and my current Lua Projects, I don't know where I'll find time. That's why I don't want to start learning C yet.
Finish up with Lua whenever your ready. It can always better prepare you for more languages, as you get all the logical benefiets from doing Lua and can use those in C or C++.

Off Topic: Anyone know where I should post if I am looking for help with something like having sprites/2D models made?
Exodus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:05 PM   #21

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

Quote:
Originally Posted by Exodus
Finish up with Lua whenever your ready. It can always better prepare you for more languages, as you get all the logical benefiets from doing Lua and can use those in C or C++.

Off Topic: Anyone know where I should post if I am looking for help with something like having sprites/2D models made?
I would just post here in the dev forum.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:09 PM   #22
 
dagger89's Avatar
 
Join Date: May 2006
Location: Queens, NYC
Posts: 165
Trader Feedback: 0
Default

Exodus: i know some ppl who can help....

Yea, i'm starting to learn C++ now... LUA is getting too annoying to code a GOOD Castlevania-esque game in.... i have the basics, but it just doesn't shine....
dagger89 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:19 PM   #23
 
Exodus's Avatar
 
Join Date: Jul 2005
Location: East Coast
Posts: 361
Trader Feedback: 0
Default

Quote:
Originally Posted by dagger89
Exodus: i know some ppl who can help....

Yea, i'm starting to learn C++ now... LUA is getting too annoying to code a GOOD Castlevania-esque game in.... i have the basics, but it just doesn't shine....
Hmm. It kinda sounds feasible that it could be done in Lua. AIM or PM me about the sprites also; or we can chat about LuaVania, lol.
Exodus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:35 PM   #24
 
dagger89's Avatar
 
Join Date: May 2006
Location: Queens, NYC
Posts: 165
Trader Feedback: 0
Default

nah, its cool about the castlevania game, i alrdy have a lil dev group (a spritest and a sfx person), but i kinda want more freedom... ppl are giving LUA a bad name, and im not talking about the coders... several news sites bash lua games, often times for no good reason *cough*pspirates*cough*.. . thats why i'm moving to C...
dagger89 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:39 PM   #25
 
Exodus's Avatar
 
Join Date: Jul 2005
Location: East Coast
Posts: 361
Trader Feedback: 0
Default

Quote:
Originally Posted by dagger89
nah, its cool about the castlevania game, i alrdy have a lil dev group (a spritest and a sfx person), but i kinda want more freedom... ppl are giving LUA a bad name, and im not talking about the coders... several news sites bash lua games, often times for no good reason *cough*pspirates*cough*.. . thats why i'm moving to C...
Cool, well, PM or AIM me if the person is willing to help with Sprites / 2D models for me... I need a ton of them.; and I mean a ton.
Exodus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2006, 07:41 PM   #26
 
dagger89's Avatar
 
Join Date: May 2006
Location: Queens, NYC
Posts: 165
Trader Feedback: 0
Default

a pm'ed u a good site, where several GREAT gfx artists work... im sure sum1 will help
dagger89 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2006, 06:25 PM   #27

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Bad code design still produces bad code no matter which language you use. Learning HOW to program is far more important then learning the language to program in.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2006, 08:45 AM   #28
 
JoeDaStudd's Avatar
 
Join Date: Feb 2006
Location: Earth, UK
Posts: 457
Trader Feedback: 0
Talking

Quote:
Originally Posted by head_54us
Bad code design still produces bad code no matter which language you use. Learning HOW to program is far more important then learning the language to program in.
Hes right, Ive seen people code amazing stuff in Lua and others code rubbish in C/C++. Just because you can code in C or C++ doesnt mean your going to make a better game or app.
__________________
<<Put A message Here>>
<<Just made another rubbish website visit it [URL="http://www.joedastudd.co.uk/"]here[/URL].>>
JoeDaStudd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
games , lua

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 05:36 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us