I need help on how to make my "Cat" jump. However, to make it realistic, the cat is slightly in the green box (Grass) to make it realistic. I need help in how to do it.
The problem? Because its ankles are in the box, its not as easy to make it jump.
Note 1: Its 2D, not birds-eye view
I'd greatly appreciate it!
(Due to the fact i'm new here, I don't have much info...)
Offline
Can you upload the project for us to be able to help more easily? Anyways, you should make a sensing sprite that isn't quite at the cat's sole. Then, set a variable called (touching ground) to true when it's touching the ground and false when not.
Offline
Use this. You can adjust the values accordingly, do not use anything other than variables when trying to create realistic movement in your projects. Anyway, Click this link to view the script
Hope I helped! Happy scratching.
Offline
daniel_j wrote:
Hello scrin445, i have a suggesion for making the sprite jump
This will only work if you do not already have scripts for the y AXIS:when gf clicked forever if <key [up arrow v] pressed?> change y by (10) end
Fixed
Last edited by wasabi56 (2012-05-28 14:10:57)
Offline