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.
NOOB Info
Moderators: Shine, Insert_witty_name
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
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.......
and don't pet the sweaty things.......
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
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.......
and don't pet the sweaty things.......