How do i make gravity? I want to make a game where you kill the enemies and running away. But i do not know how to do it. Please help.
1 Like
yeah! so you can make gravity by setting the ay of a sprite. For example:
Since down is positive in Arcade, I’m setting the ay here to be 300. If you want to jump, you can set the vy (velocity) to be a negative number
Feel free to ask anything else!
2 Likes
You can also check out this series of videos on how to make a platformer by @darzu! It’s got some useful instructions on how to make enemies as well.
3 Likes
thanks so much!!!
Yay i wanted to know that so much