# How to make object shoot in Processing

**URL:** <https://discourse.processing.org/t/how-to-make-object-shoot-in-processing/32087>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [September 4, 2021, 7:33am UTC](https://discourse.processing.org/t/how-to-make-object-shoot-in-processing/32087 "2021-09-04T07:33:55Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [September 20, 2021, 3:18am UTC](https://discourse.processing.org/t/how-to-make-object-shoot-in-processing/32087/12 "2021-09-20T03:18:01Z")

</div>

Hi

Nice game

> [@Game from Japan](https://discourse.processing.org/t/game-from-japan/28639):
>
> import fisica.\*; FWorld world; FBox paddle; FCircle ball; int score=0; void setup() { size(600, 600, P3D); noStroke(); textAlign(CENTER); textSize(50); Fisica.init(this); world=new FWorld(); world.setGravity(0, 0); world.setEdges(0, 0, width, height); world.remove(world.bottom); for (int i=0; i\<8; i++) { for (int j=0; j\<5; j++) { FBox box=new FBox( 60, 20); box.setFill(j\*50, j, 150); box.setPosition(i\*70+50, 30\*j+30); box.setStatic(true); …

---

_[View the full topic](https://discourse.processing.org/t/how-to-make-object-shoot-in-processing/32087)._
