can some1 post all the functions explain them to me thoroly
Printable View
can some1 post all the functions explain them to me thoroly
yea same here
Here's the ones specific to luaplayer:Zitat:
Zitat von SG57
http://luaplayer.org/functions.txt
These two are sort of the same, although some time I find the second link easier to understand:
http://www.lua.org/pil/
http://www.lua.org/manual/5.0/
You should be able to understand the functions. You didn't even say please, you just asked a VERY big task of us, or basically told us to do that. Which functions do you not understand?
Okay, i need help with my bullet moement code. Now, i can make the bullet shoot out of the plane, no matter where it is located, but now i must make it MOVE! And you guys can help me, hopefully!
Okay, here is a snidbit.
elseif pad:r() then
if shoot >= 1 then
-- Blit the rest of the stuff you do as if you weren't shooting
-- don't know what all those images are so just add more screen:blit()
updateMove()
screen:blit(btXpos, btYpos, bullet1)
screen:blit(pcXpos, pcYpos, sprite)
screen.waitVblankStart()
screen.flip()
bl = bl + 1
shoot = shoot - 1
end
--that is to shoot^
elseif pad:triangle() then
if shoot <=0 then
shoot = shoot + 1
end
--that is to recharge shot^
--Functions
Bullet1 = function()
btYpos = btYpos + 2
updateMove()
screen:blit(btXpos, btYpos, bullet1)
screen.waitVblankStart()
screen.flip()
bl = bl + 1
end
--A function I made^
--Bullet System
while true do
if bl == 1 then do
Bullet1()
--What calls the function^
Somehow everytime i run the game, my PSP freezes up, im not using lua player, i am using my own eboot. It is an old one. Should i update my lua eboot with the new lua player? PLease, help me, and thanks in advance!!!
well just some1s for a game, common ones used alot u kno so wat r they
There are never common functions for a game because you have to make your own functions... Work on your english a little too.
uh twenty 2 are you talking to me?
1st tht wasnt thorough 'make ur own' 2nd, i thot u were supposed to help not critisize
I wasnt criticising anyone, I was just asking twenty 2 if he was talking to me. Also, i you were talking to him about the english bit, listen to him, he has got a point. This isnt AOL talk, this is a forum, where spelling and grammer counts alot, and if you spell bad or diss users, people lose respect for you. At first, I would not spell great or talk AOL talk. But one user told me that you will lose respect that way, and guess what, I improved my act, and you should to. And dont throw a fight just because someone sugested you should clean up your english, he didnt say "Hey asswipe, you better speak better, or I wont help you" He just simply said to improve a little. I hope you understand my point, like a fellow user in these forums did. Because, i couldnt understand a couple of your posts above.
On topic, may someone help me with my code above? Thanks.