| View previous topic :: View next topic |
| Author |
Message |
NOODL3
Joined: 21 Aug 2006 Posts: 3
|
Posted: Mon Aug 21, 2006 5:28 am Post subject: NOOB Info |
|
|
ok i am very very new to lua but i know some basics. I started learning lua for the primarly purpose of game/application dev. for the psp. Right now i am a noob and need some resources and some guidence. I need to know what i need for me to be able to write programs on my pc, compile them(if needed) transfer them to my psp and run them. I have read the lua tutorial.
please dont flame me i just want to get to the point where i can just write my own programs and them test them on my psp, then if good enough maybe submit them to the public. |
|
| Back to top |
|
 |
JC
Joined: 02 Jun 2006 Posts: 16
|
Posted: Tue Aug 22, 2006 9:33 am Post subject: |
|
|
First off check out
http://www.luaplayer.org/
There you can download both windows and PSP versions of Lua Player.
You can use any text editor to edit your code.
You can test your programs on your PC using the windows version of LUAPlayer and then transfer the code to your PSP. The file extension for LUA is usually .lua and there is no need to compile. You should be aware that not all commands that work on the PSP version work on the PC version.
HTH,
JC _________________ Remember, don't sweat the petty things
and don't pet the sweaty things....... |
|
| Back to top |
|
 |
NOODL3
Joined: 21 Aug 2006 Posts: 3
|
Posted: Thu Aug 24, 2006 6:45 am Post subject: |
|
|
that was very very helpfull and very well written, thank you
-NOODL3- |
|
| Back to top |
|
 |
NOODL3
Joined: 21 Aug 2006 Posts: 3
|
Posted: Thu Aug 24, 2006 11:06 am Post subject: |
|
|
One more question though, when in the read my for lua player for windows it says to open it with the command prompt with "luaplayer yourscript.lua" Thats not working for me, any suggestions. Thanks again
and yes i made a .lua file named yourscript |
|
| Back to top |
|
 |
KawaGeo
Joined: 27 Aug 2005 Posts: 191 Location: Calif Mountains
|
Posted: Fri Aug 25, 2006 8:32 am Post subject: |
|
|
The PC version of Lua Player is not up to date yet. You'll need to modify some in your code before attempting to run it on your PSP.
I am hoping someone would be able to update the PC version soon. _________________ Geo Massar
Retired Engineer |
|
| Back to top |
|
 |
JC
Joined: 02 Jun 2006 Posts: 16
|
Posted: Fri Aug 25, 2006 10:04 am Post subject: |
|
|
Where have you installed luaplayer ?
You will probably need to give an explicit path to the luaplayer.exe.
The why I tend to do things is install something along the following:
1) install luaplayer in c:\luaplayer
2) Make a new directory for the game/app i am working on like
c:\luaplayer\test
3) So the file I am editing is c:\luaplayer\test\yourscript.lua
4) Open a command prompt and cd c:\luaplayer\test
5) from this directory run ..\luaplayer yourscript.lua
This should run the yourscript.lua file. There are probably other/better ways to structure things but this works for me.
If you are still having problems post the error you are getting and I may be able to shed some more light.
HTH,
JC _________________ Remember, don't sweat the petty things
and don't pet the sweaty things....... |
|
| Back to top |
|
 |
|