Search found 43 matches
- Tue Apr 11, 2006 6:31 pm
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
Hey Lumo, I started Pyramid Panic after I split up with my girlfriend... I then subsequently got a new one meaning no free time for personal programing. I've just started working from home now meaning I no longer have to do 5 hours of commuting a day which means I now have free time!! I was knocking...
- Tue Apr 11, 2006 5:20 pm
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
- Tue Apr 11, 2006 9:35 am
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
- Tue Apr 11, 2006 7:27 am
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
Jordy, surely my code is set out fine? Your statement seems a little odd. I would have thought that prefixing my variables with an indication of thier type would make it easier to understand, not harder. It lets people who read the code see what values I'll be pushing into the variables. But, that a...
- Tue Apr 11, 2006 1:47 am
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
- Tue Apr 11, 2006 1:00 am
- Forum: PSP Lua Player Development
- Topic: Game of Life speed help
- Replies: 15
- Views: 8453
Game of Life speed help
Hi guys, I wrote "Game of Life" (not the board game) in Lua and it was running very slow. I used to get the pixel color to see if it was alive or not but then changed the alive state into a 2d array. My current code is: while not Controls.read():start(&#...
- Sat Mar 25, 2006 4:18 am
- Forum: PSP Lua Player Development
- Topic: Variable creation
- Replies: 3
- Views: 2319
Variable creation
How do I go about create variable names out of dynamic elements?
Say I wanted to create 10 vars:
myVar_0 - myVar_9
Using a for loop how would I write this please?
Thanks in advance.
Say I wanted to create 10 vars:
myVar_0 - myVar_9
Using a for loop how would I write this please?
Thanks in advance.
- Sun Aug 14, 2005 9:59 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Thu Aug 11, 2005 8:44 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Nevyn, I've noticed the new looping on sounds doesn't work for extended periods of time. I've got 2 sounds in my game, 1 looping and 1 not. After a while I hear the looping one stop. The looping one always stops after I play the non looping one for the 32nd time if that helps. A nice idea for the o...
- Thu Aug 11, 2005 7:26 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Thu Aug 11, 2005 6:54 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Nevyn, I've noticed the new looping on sounds doesn't work for extended periods of time. I've got 2 sounds in my game, 1 looping and 1 not. After a while I hear the looping one stop. The looping one always stops after I play the non looping one for the 32nd time if that helps. A nice idea for the of...
- Thu Aug 11, 2005 5:00 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Wed Aug 10, 2005 7:24 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Wed Aug 10, 2005 12:54 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Wed Aug 10, 2005 12:39 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Tue Aug 09, 2005 10:14 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Tue Aug 09, 2005 3:21 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Mon Aug 08, 2005 6:47 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Mon Aug 08, 2005 2:27 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Is anyone seeing an odd image bug when moving an image off the left hand side of the screen? I haven't tested any other scenarios but what I have is my BG being blitted to screen then blitting and alpha image (16 * 16) on top. When the character moves off the left hand side of the screen the image a...
- Sat Aug 06, 2005 10:28 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Thu Aug 04, 2005 10:34 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
nevyn, that's brilliant news! I bought some sounds for the phone version of my game and my friend that does music made me some. I'm going to source or make a jumping sound and add some rooms over the weekend. Will up a new version on Sunday. Will all functionality remain the same when it gets added ...
- Thu Aug 04, 2005 10:14 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Thu Aug 04, 2005 8:08 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Thu Aug 04, 2005 8:00 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Snow: Relational expressions Relational operators are supplied which return the boolean values true or false. == equal to ~= not equal to < less than > greater than <= less than or equal to >= greater than or equal to This came from: http://lua-users.org/wiki/ExpressionsTutorial Kins: Cool, I've alr...
- Wed Aug 03, 2005 9:55 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Does:
Work?
Code: Select all
while true do
green = getColorNumber(0, 255, 0)
blitImage(0, 0, background)
blitImage(200, 100, nextbutton)
printText(300, 100, "test", green)
flipScreen()
end
- Wed Aug 03, 2005 8:53 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Wed Aug 03, 2005 1:02 am
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
New version is up, running full speed! I even had to slow it down.
I've added animated tiles, only torches are in at the moment but I'm going to be doing the lava too.
I haven't included the EBOOT in the rar.
http://www.flash-git.net/pyramidPanic.rar
G
I've added animated tiles, only torches are in at the moment but I'm going to be doing the lava too.
I haven't included the EBOOT in the rar.
http://www.flash-git.net/pyramidPanic.rar
G
- Tue Aug 02, 2005 11:06 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Shine, wow! I realise now that I was waiting for vblank everytime i call that func and was looping 4 times so it was 4x slower than needs to be yeah? It looks so amazing running fast! I had all my tiles cut up from my other version of the game and have a level editor already built in Flash so I'll k...
- Tue Aug 02, 2005 10:21 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
- Tue Aug 02, 2005 10:12 pm
- Forum: PSP Lua Player Development
- Topic: Lua Player for PSP
- Replies: 351
- Views: 308954
Ok, The basic engine is done, you can't leave the room yet, I'll work on that when it's running better. D-pad left/right and X to jump, Triangle to take a screenshot. This is where I need your help, am I doing the rendering correctly? Am I messing up my blitting which is making it not run very fast ...