# Help me

**URL:** <https://forum.makecode.com/t/help-me/3296>\
**Category:** Help\
**Created:** [September 1, 2020, 4:09pm UTC](https://forum.makecode.com/t/help-me/3296 "2020-09-01T16:09:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![annapurna079](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@annapurna079](https://forum.makecode.com/u/annapurna079)\
**Post date:** [September 1, 2020, 4:09pm UTC](https://forum.makecode.com/t/help-me/3296/1 "2020-09-01T16:09:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![livcheerful](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/livcheerful/32/3509_2.png) [@livcheerful](https://forum.makecode.com/u/livcheerful)\
**Post date:** [September 1, 2020, 4:23pm UTC](https://forum.makecode.com/t/help-me/3296/2 "2020-09-01T16:23:29Z")

</div>

yeah! so you can make gravity by setting the ay of a sprite. For example:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/5b7f57237c0ba45ddd5db97fe0707b1bbfffba13.png)

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

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/620c9d8741c4abad83beb6624f892e9aa3cbed6f.png)

Feel free to ask anything else!

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [September 1, 2020, 4:24pm UTC](https://forum.makecode.com/t/help-me/3296/3 "2020-09-01T16:24:35Z")

</div>

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.

[![](https://img.youtube.com/vi/9bSX9Q5aP6E/maxresdefault.jpg "How to Make a Platformer Game [Part 1: Intro, sprites, movement & tile map]") ](https://www.youtube.com/watch?v=9bSX9Q5aP6E)

---

<div class="post-metadata">

**Author:** ![annapurna079](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@annapurna079](https://forum.makecode.com/u/annapurna079)\
**Post date:** [September 1, 2020, 4:29pm UTC](https://forum.makecode.com/t/help-me/3296/4 "2020-09-01T16:29:09Z")

</div>

thanks so much!!!

---

<div class="post-metadata">

**Author:** ![purna079](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purna079/32/4018_2.png) [@purna079](https://forum.makecode.com/u/purna079)\
**Post date:** [September 1, 2020, 4:31pm UTC](https://forum.makecode.com/t/help-me/3296/5 "2020-09-01T16:31:03Z")

</div>

Yay i wanted to know that so much
