# Shooting in a game

**URL:** <https://discourse.processing.org/t/shooting-in-a-game/5328>\
**Category:** Coding Questions\
**Created:** [November 7, 2018, 6:44pm UTC](https://discourse.processing.org/t/shooting-in-a-game/5328 "2018-11-07T18:44:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [November 8, 2018, 8:22pm UTC](https://discourse.processing.org/t/shooting-in-a-game/5328/3 "2018-11-08T20:22:49Z")

</div>

It’s really hard to answer general “how do I do this” type questions. You’ll have much better luck if you [break your problem down into smaller steps](https://happycoding.io/tutorials/how-to/program) and take those steps on one at a time. For example, can you create a sketch that shows a single hard-coded rectangle that “shoots” circles when you click?

If you get stuck on that, then you can post a [MCVE](https://stackoverflow.com/help/mcve) along with a more specific question. Good luck!

You might also read this for some tips on asking questions:

> [@Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-tips-on-asking-questions/2147):
>
> Summary (TL;DR) Ask complete questions to get better answers! Be specific. For example: I want to load an image. I tried using createImg() , and I expected the image to be on canvas, but what happened instead was the image showing up below the canvas. Isolate your problem and work in small steps. Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want. Can we run your code to …

---

_[View the full topic](https://discourse.processing.org/t/shooting-in-a-game/5328)._
