Is there a gravity code for lua example:
a ball that goes up at 10 velocity and starts to slow down ,when it reaches zero it starts to go down and speeds up.
Printable View
Is there a gravity code for lua example:
a ball that goes up at 10 velocity and starts to slow down ,when it reaches zero it starts to go down and speeds up.
Zitat:
Zitat von shadow-evillink
you should just develop a code yourself so you can customize it the way you want...
http://www.google.com/search?hl=en&l...th%27s+gravity
http://www.evilmana.com/tutorials/lu...et_jumping.php
but that should get you started! ;D
Gah, I still need help making objects fall down the screen :dry:
Download the attached file!Zitat:
Zitat von MaSt3r_ShAk3
I used a 10x10 image which will fall from a random x location from the top of the screen to the bottom. Press X to pause the spike MID-AIR ;P
HTH
can someone give me an example animation? How do i make it so when you press X, it starts, looping forever, and when you press X it stops. Then when you press X again it starts again and so on.
THANK YOU! *bows*Zitat:
Zitat von califrag
Humm, how can i make an scrolling screen? (like when you go forward it scrolls with you and if theres objects like then they move/appear too :P)
(making smw game :P )
And also, how can i create a menu with mouse arrow replaced with an hand icon thingy, and also, if i click x while the arrow/hand is over the button, it does some function and menu dissapears(and goes to game of course :P )?
click "search this thread"Zitat:
Zitat von Greenskull
How would I have a function loop forever?
Okay this is pissing me off... I test the script in luaplayerwindows and nothing happens. It starts but its just a black screen...