Dofile isn't the only method for running other scripts.
http://www.lua.org/pil/8.html
CC
Search found 5 matches
- Tue Feb 07, 2006 7:14 pm
- Forum: PSP Lua Player Development
- Topic: Using 2 .Lua's together
- Replies: 5
- Views: 3116
- Thu Feb 02, 2006 7:07 pm
- Forum: PSP Lua Player Development
- Topic: I get stuck on a "Jump Function".
- Replies: 6
- Views: 3388
Well you are wanting the object to go up and then down. So the total distance travelled is height *2. Height is the halfway point, so once you are past height, you want to find out how far you are away from 2*height. The easiest way to understand these things is to draw it on a bit of paper and plot...
- Thu Feb 02, 2006 12:09 am
- Forum: PSP Lua Player Development
- Topic: Is this a know bug in the Windows Luaplayer?
- Replies: 1
- Views: 1915
Is this a know bug in the Windows Luaplayer?
I seem to have to do two flips to get my back buffer presented. Just to get myself familiar with Lua and the PSP LuaPlayer I have been modifying the tutorial examples and doing simple test apps. The following code is supposed to print hello world and count the number of presses of the up button (ooh...
- Wed Feb 01, 2006 8:20 pm
- Forum: PSP Lua Player Development
- Topic: I get stuck on a "Jump Function".
- Replies: 6
- Views: 3388
- Wed Feb 01, 2006 2:42 am
- Forum: PSP Lua Player Development
- Topic: I get stuck on a "Jump Function".
- Replies: 6
- Views: 3388
Hi, I am not really a lua programmer, just found out about the PSP luaplayer. Looking at your code there are a few points. a) You are using ==, and = interchangeably. Not sure on the lua syntax but if it is similar to C then your second comparison with time,is actually an assignment. b) I have to as...