Game Development Community

Mario style control

by Tri · in Torque Game Builder · 09/24/2005 (9:10 am) · 1 replies

Can anyone help me with showing me how to create a function to get my player to jump like Mario. I followed the scrolling tutorial and was able to get the keys to bind going left and right but I am stuck on how to my player jump. Please help..

Also is there a delay command equivalent in T2D? cause i want an object to delay for like .5 second before continuing on its path?

Thank you.

Tri

#1
09/24/2005 (12:55 pm)
There are many posts on this, use the search function. But to give you an idea your going to need a constant force on the player and then you want to apply an impulse to player to make him/her jump.

For dalay, look at schedule. You should find what your looking for using the schedule function.