# In shooting game, How can I add gravity?

**URL:** <https://discourse.processing.org/t/in-shooting-game-how-can-i-add-gravity/37552>\
**Category:** Processing\
**Tags:** homework\
**Created:** [June 15, 2022, 2:20am UTC](https://discourse.processing.org/t/in-shooting-game-how-can-i-add-gravity/37552 "2022-06-15T02:20:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 15, 2022, 11:08am UTC](https://discourse.processing.org/t/in-shooting-game-how-can-i-add-gravity/37552/3 "2022-06-15T11:08:23Z")

</div>

Hello @Pleasegod,

Welcome to the forum.

This is an excellent resource to help with gravity:  
[https://natureofcode.com/book/](https://natureofcode.com/book/)

> [@Pleasegod](#):
>
> I’m not good at English and please when you answer my question, give me completed coding…

Please read our Processing Forum Guidelines:

> **Processing Forum Guidelines \< Click here to open!**
>
> I am sharing these Processing forum guidelines as a courtesy to start you on your journey.
> 
> Please read:
> 
> - [Processing FAQ - Frequently asked questions](https://discourse.processing.org/faq)
> - [Guidelines - Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147/4)
> - [Guidelines - Answering Questions](https://discourse.processing.org/t/guidelines-answering-questions/2145/1)
> - [p5.js Community Statement](https://p5js.org/community/)
> 
> Our homework policy:  
> [FAQ - Processing Foundation](https://discourse.processing.org/faq#homework)
> 
> If this is a homework question please tag it as _homework_.
> 
> Please format and post code as per these instructions:  
> [FAQ - Processing Foundation](https://discourse.processing.org/faq#format-your-code) \< It is Ctrl+T in Processing for Windows
> 
> Processing resources are here:  
> [https://processing.org/](https://processing.org/)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/in-shooting-game-how-can-i-add-gravity/37552)._
