Are you new? Sign up now
The Daily Click
Klik Coding Help
8-Dir jumping & double tap running?
7th June, 2003 at 20:30:31 -
does anybody kno how to do jumping with the 8 dir movement? Also does anybody kno how to make a character run by tapping left or right twice?
7th June, 2003 at 21:02:20 -
I also need help wit enemy a.i. for a beat em up engine.
im usin TGF.
I make other people create vaporware
7th June, 2003 at 21:21:52 -
To tap left and right then do a run:
*Right was pressed - set player. alt a to 10
+player.alt a = 0
+player.alt a > 1 - subtract 1 from player.alt a
*Right was pressed
+player.alt a = >< 0 - Run (set speed to a faster one)
Then repeat for left.
For A.I in beat em ups, the best approach is usually a status/probability counter. CHeck this post that i answered before to santa:
Jumping is just a matter of illusion, just make him move up but make a shadow object underneath the player.
Upon pressing "shift" - set player.alt b to 10, create shadow underneath player.
+player.alt b = 0
player.alt b >0 - player.y = player.y + 1, player. alt b - 1
Hope that helps
Creator of Faerie Solitaire:
Also creator of ZDay20 and Dungeon Dash.
8th June, 2003 at 10:54:52 -
Wondering how u did double tap run.
Also! if u wanted to learn 8 directions jump look at the game on TGF disc called "Magician's Lair". That has 8 dir jump.
Formerly known as "Spiderhead".
Returned after four years.
for more infomation
8th June, 2003 at 15:18:58 -
Andy, that way would cause the Alt value A to equal 0 after .1 seconds! That's much too fast.
Craps, I'm an old man!
Worth A Click