Search found 31 matches
- Tue Sep 12, 2006 10:54 am
- Forum: PSP Lua Player Development
- Topic: A.I. for racing/shooting
- Replies: 4
- Views: 6098
- Sun Mar 05, 2006 11:29 am
- Forum: PSP Lua Player Development
- Topic: SORRY NOOB-A-RIFFIC - Cursor
- Replies: 3
- Views: 2022
Re: SORRY NOOB-A-RIFFIC - Cursor
if this is where your images are for the icons screen:blit(30, 150, pstype, true) screen:blit(100, 195, pscalc, true) screen:blit(285, 195, psdraw, true) screen:blit(355, 150, links, true) you can use the...
- Mon Jan 02, 2006 12:49 pm
- Forum: PSP Lua Player Development
- Topic: image looping
- Replies: 1
- Views: 1508
image looping
i want the same image to be able to scroll accross the screen. currently i have it so that one image is is put at 0,0 then one at 480, 0 then 960, 0 and so on. is there an easier way then typing it all out? that way it could be infinite.
- Mon Jan 02, 2006 12:44 pm
- Forum: PSP Lua Player Development
- Topic: MUSIC Problem....
- Replies: 3
- Views: 2149
- Sun Dec 11, 2005 10:06 am
- Forum: PSP Lua Player Development
- Topic: loading multi line .txt
- Replies: 2
- Views: 1897
- Sun Dec 11, 2005 9:36 am
- Forum: PSP Lua Player Development
- Topic: saving screens
- Replies: 1
- Views: 1544
this could help a bit.
http://forums.ps2dev.org/viewtopic.php? ... 92492d23f7
http://forums.ps2dev.org/viewtopic.php? ... 92492d23f7
- Sun Dec 11, 2005 3:52 am
- Forum: PSP Lua Player Development
- Topic: loading multi line .txt
- Replies: 2
- Views: 1897
loading multi line .txt
i know that there is an example of loading multiple lines in snake. however ive been staring at it and fiddling with it for a while. i just cant get it to work right. can someone explain it in a bit of detail?
- Sun Dec 11, 2005 3:46 am
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5704
- Sat Dec 10, 2005 12:53 pm
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5704
- Sat Dec 10, 2005 12:06 am
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5704
thanks that works. now i have another sound question. i would like music to play during a race. problem is i have sounds for the engine constantly playing. the music plays for about half a second before it is drowned out by the engine. is the problem that the music isnt load enough or that the const...
- Fri Dec 09, 2005 10:44 am
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5704
- Wed Dec 07, 2005 12:25 pm
- Forum: PSP Lua Player Development
- Topic: sound stopping
- Replies: 13
- Views: 5704
sound stopping
i have a sound clip (.wav) playing. its about 30sec long. problem is i dont know how to stop it. i tried bgmusic:stop() (bgmusic is the var for the file) then it says something to the effect of loop in gettable. i forget exactly what it said. can anyone help me out?
- Sat Dec 03, 2005 2:08 pm
- Forum: PSP Lua Player Development
- Topic: analog stick position
- Replies: 9
- Views: 5552
alright thanks for the help. however before i read it i made up my own code. it was really simple once i got the hang of how the stick works. hopefully soon i can implement my sytem into my game. currently i just have it in a seperate file just for testing. i still havent figured out exactly how to ...
- Sat Dec 03, 2005 7:45 am
- Forum: PSP Lua Player Development
- Topic: analog stick position
- Replies: 9
- Views: 5552
- Fri Dec 02, 2005 2:03 pm
- Forum: PSP Lua Player Development
- Topic: analog stick position
- Replies: 9
- Views: 5552
i am currently using the shoulder buttons. i just wanted to see how it would control like that. im sure it would be difficult but i wanted to try something different. i would also put in a clutch so there wont be unwanted shifting. you just have to clutch, push the stick in the right region, and rel...
- Fri Dec 02, 2005 11:42 am
- Forum: PSP Lua Player Development
- Topic: analog stick position
- Replies: 9
- Views: 5552
analog stick position
ive been working on my drag racer game (on pspupdates if anyone wants to try) ive changed it quite a bit so the old versoin is really basic. one thing i wanted to change was the conrols. i want to give the player a better sense of shifting. ive thought about this and thought it would be cool for maj...
- Mon Oct 24, 2005 10:31 am
- Forum: PSP Lua Player Development
- Topic: timer
- Replies: 9
- Views: 4143
could something like this be used to show the timer
Code: Select all
timer = Timer.new()
...
timer:start()
...
if x+75 == bx+3800 then
timer:stop() end
...
screen:print(120, 213, timer, red)
- Mon Oct 24, 2005 9:50 am
- Forum: PSP Lua Player Development
- Topic: timer
- Replies: 9
- Views: 4143
- Mon Oct 24, 2005 9:44 am
- Forum: PSP Lua Player Development
- Topic: timer
- Replies: 9
- Views: 4143
- Mon Oct 24, 2005 8:06 am
- Forum: PSP Lua Player Development
- Topic: timer
- Replies: 9
- Views: 4143
- Sun Oct 23, 2005 11:57 am
- Forum: PSP Lua Player Development
- Topic: timer
- Replies: 9
- Views: 4143
timer
how exactly do you create a timer? i know its in the list of functions, but once again i have to plead stupidity.
- Sun Oct 23, 2005 9:29 am
- Forum: PSP Lua Player Development
- Topic: function stoping
- Replies: 10
- Views: 5464
- Sat Oct 22, 2005 10:32 am
- Forum: PSP Lua Player Development
- Topic: calculating too fast
- Replies: 8
- Views: 3827
- Thu Oct 20, 2005 12:44 pm
- Forum: PSP Lua Player Development
- Topic: calculating too fast
- Replies: 8
- Views: 3827
nevermind...i changed it to
but i must have changed something in other parts of the code cause it doesnt work right.
Code: Select all
if upCount == 1 then
- Thu Oct 20, 2005 11:49 am
- Forum: PSP Lua Player Development
- Topic: calculating too fast
- Replies: 8
- Views: 3827
Code: Select all
if upCount = 1 then
Code: Select all
if upCount > 1 then
thank you though.
- Wed Oct 19, 2005 11:23 am
- Forum: PSP Lua Player Development
- Topic: calculating too fast
- Replies: 8
- Views: 3827
calculating too fast
im making a drag racing game. i spent like an hour or 2 working out the equations for the gear ratios and what not. i based it off of data collected from gt4(playing the game is why it took me about 2 hours). anyway, i got it all worked out and it should go really good. in fact it pretty much does e...
- Tue Oct 18, 2005 10:07 am
- Forum: PSP Lua Player Development
- Topic: function stoping
- Replies: 10
- Views: 5464
- Mon Oct 17, 2005 11:11 am
- Forum: PSP Lua Player Development
- Topic: function stoping
- Replies: 10
- Views: 5464
so would i put that in the function itself? like
Code: Select all
funtion something()
stuff = otherstuff
if pad:cross() then
return
- Sun Oct 16, 2005 10:42 am
- Forum: PSP Lua Player Development
- Topic: function stoping
- Replies: 10
- Views: 5464
- Sat Oct 15, 2005 11:44 am
- Forum: PSP Lua Player Development
- Topic: function stoping
- Replies: 10
- Views: 5464
function stoping
is there a way to stop a function with an if then statement?