Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: saintrunner on November 06, 2011, 08:00:12 pm
-
In a project I'm writing, I need to have my sprite appear to be jumping. I'd like it to be using getkey(4),UP, but I'm not sure how I can code that so It looks clean. Also I'd like to be able to jump forward, as well as backwards. Any suggestions on how this could be accomplished?
-
By "clean," I think you mean with gravity, as in acceleration, right? There are some tutorials on that around here...
Jumping forward and backwards is easy -- you don't have to worry about it at all, since it's basically just pressing the arrow keys at the same time you're pressing the jump button, and arrow keys should already be taken care of as moving left and right anyway.
-
Can you direct me to a proper tutorial?
-
By Builderboy: http://www.omnimaga.org/index.php?action=articles;sa=view;article=63
-
Thanks!
but how do I code that in axe?
-
still need help? I can help you if you do.
-
I will maybe once I begin making a game with jumping :P
Unless I get lazy and do linear gravity :P