Search found 31 matches

by wekilledbambi03
Tue Sep 12, 2006 10:54 am
Forum: PSP Lua Player Development
Topic: A.I. for racing/shooting
Replies: 4
Views: 5216

for a simple ai use some randoms. for example create a random object where the outcome is either a 1 or 2. if 1 shoot if 2 dont. same for speed. 1 accel 2 dont. thats pretty basic but itll do for now. you could check my drag racer game(can be found on pspupdates) for my simple ai
by wekilledbambi03
Sun Mar 05, 2006 11:29 am
Forum: PSP Lua Player Development
Topic: SORRY NOOB-A-RIFFIC - Cursor
Replies: 3
Views: 1701

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...
by wekilledbambi03
Mon Jan 02, 2006 12:49 pm
Forum: PSP Lua Player Development
Topic: image looping
Replies: 1
Views: 1288

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.
by wekilledbambi03
Mon Jan 02, 2006 12:44 pm
Forum: PSP Lua Player Development
Topic: MUSIC Problem....
Replies: 3
Views: 1782

are you using custom fonts? i noticed that when i did it slowed down gameplay and music (i was using .wav dont know if that has any effect on it)
by wekilledbambi03
Sun Dec 11, 2005 10:06 am
Forum: PSP Lua Player Development
Topic: loading multi line .txt
Replies: 2
Views: 1612

nevermind...i went with creating a bunch of .txts just to get it done. but if anyone still wants to answer im sure others (still including me) would be interested.
by wekilledbambi03
Sun Dec 11, 2005 9:36 am
Forum: PSP Lua Player Development
Topic: saving screens
Replies: 1
Views: 1309

by wekilledbambi03
Sun Dec 11, 2005 3:52 am
Forum: PSP Lua Player Development
Topic: loading multi line .txt
Replies: 2
Views: 1612

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?
by wekilledbambi03
Sun Dec 11, 2005 3:46 am
Forum: PSP Lua Player Development
Topic: sound stopping
Replies: 13
Views: 4745

im not sure about the volume thing but i do believe that the sound is mono. also has anyone noticed that if you write in a new font the sound gets really slow?
by wekilledbambi03
Sat Dec 10, 2005 12:53 pm
Forum: PSP Lua Player Development
Topic: sound stopping
Replies: 13
Views: 4745

does anyone know where some good converters are? ive looked a few times but never found any good ones.
by wekilledbambi03
Sat Dec 10, 2005 12:06 am
Forum: PSP Lua Player Development
Topic: sound stopping
Replies: 13
Views: 4745

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...
by wekilledbambi03
Fri Dec 09, 2005 10:44 am
Forum: PSP Lua Player Development
Topic: sound stopping
Replies: 13
Views: 4745

thats basically what i have. and it gives me this error message "loop in gettable"
by wekilledbambi03
Wed Dec 07, 2005 12:25 pm
Forum: PSP Lua Player Development
Topic: sound stopping
Replies: 13
Views: 4745

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?
by wekilledbambi03
Sat Dec 03, 2005 2:08 pm
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 4822

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 ...
by wekilledbambi03
Sat Dec 03, 2005 7:45 am
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 4822

well im glad some people are agreeing with me (kinda) but does anyone know how to do it?
by wekilledbambi03
Fri Dec 02, 2005 2:03 pm
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 4822

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...
by wekilledbambi03
Fri Dec 02, 2005 11:42 am
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 4822

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...
by wekilledbambi03
Mon Oct 24, 2005 10:31 am
Forum: PSP Lua Player Development
Topic: timer
Replies: 9
Views: 3378

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)
by wekilledbambi03
Mon Oct 24, 2005 9:50 am
Forum: PSP Lua Player Development
Topic: timer
Replies: 9
Views: 3378

i think i figured it out. i was launching the .lua file from file assistant. it must have an older version of lua. i tried the lua player eboot and it worked. thanks though. now back to figuring out how to create a timer.
by wekilledbambi03
Mon Oct 24, 2005 9:44 am
Forum: PSP Lua Player Development
Topic: timer
Replies: 9
Views: 3378

was this problem in version 10? i know ive had them both. i cleared a bunch of stuff off of my memory stick. i may have pu on 10 instead of 11. ill have to check.
by wekilledbambi03
Mon Oct 24, 2005 8:06 am
Forum: PSP Lua Player Development
Topic: timer
Replies: 9
Views: 3378

i think there is a problem with my lua player. no matter what i try it says: attempt to index global "Timer" (a nil value). i even tried the led timer from the link KawaGeo gave me. i guess im not that stupid after all if its really a problem with lua. im using 11 by the way. anyone else h...
by wekilledbambi03
Sun Oct 23, 2005 11:57 am
Forum: PSP Lua Player Development
Topic: timer
Replies: 9
Views: 3378

timer

how exactly do you create a timer? i know its in the list of functions, but once again i have to plead stupidity.
by wekilledbambi03
Sun Oct 23, 2005 9:29 am
Forum: PSP Lua Player Development
Topic: function stoping
Replies: 10
Views: 4524

function fly&#40;&#41; bx = bx-2 wx = wx-2 if crashup&#40;&#41; then return end end is that right? cause it doesnt work. it just runs the function. function fly&#40;&#41; bx = bx-2 wx = wx-2 if y < uplimit then return end end tried tat too. did nothing. by the way the bx and...
by wekilledbambi03
Sat Oct 22, 2005 10:32 am
Forum: PSP Lua Player Development
Topic: calculating too fast
Replies: 8
Views: 3074

thanks guys i got the shifting working now. now i gotta jsut work on making a timer and a bunch of other stuff.
by wekilledbambi03
Thu Oct 20, 2005 12:44 pm
Forum: PSP Lua Player Development
Topic: calculating too fast
Replies: 8
Views: 3074

nevermind...i changed it to

Code: Select all

if upCount == 1 then 
but i must have changed something in other parts of the code cause it doesnt work right.
by wekilledbambi03
Thu Oct 20, 2005 11:49 am
Forum: PSP Lua Player Development
Topic: calculating too fast
Replies: 8
Views: 3074

Code: Select all

if upCount = 1 then 
that part (and the downcount one) give me an error. it says then expected near =. i change it to

Code: Select all

if upCount > 1 then  
that got rid of the error but it went back to what it was doing before.
thank you though.
by wekilledbambi03
Wed Oct 19, 2005 11:23 am
Forum: PSP Lua Player Development
Topic: calculating too fast
Replies: 8
Views: 3074

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...
by wekilledbambi03
Tue Oct 18, 2005 10:07 am
Forum: PSP Lua Player Development
Topic: function stoping
Replies: 10
Views: 4524

alright thanks ill try it
by wekilledbambi03
Mon Oct 17, 2005 11:11 am
Forum: PSP Lua Player Development
Topic: function stoping
Replies: 10
Views: 4524

so would i put that in the function itself? like

Code: Select all

funtion something&#40;&#41;
stuff = otherstuff
if pad&#58;cross&#40;&#41; then
return
by wekilledbambi03
Sun Oct 16, 2005 10:42 am
Forum: PSP Lua Player Development
Topic: function stoping
Replies: 10
Views: 4524

could you explain that a little more? im still pretty new to coding. im sure it makes sense you know the stuff, but im dont. hahaha
by wekilledbambi03
Sat Oct 15, 2005 11:44 am
Forum: PSP Lua Player Development
Topic: function stoping
Replies: 10
Views: 4524

function stoping

is there a way to stop a function with an if then statement?