# Mini-Game

**URL:** <https://forum.kirupa.com/t/mini-game/21415>\
**Category:** flash\
**Created:** [May 21, 2003, 12:30pm UTC](https://forum.kirupa.com/t/mini-game/21415 "2003-05-21T12:30:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YoSHi](https://avatars.discourse-cdn.com/v4/letter/y/aeb1de/32.png) [@YoSHi](https://forum.kirupa.com/u/YoSHi)\
**Post date:** [May 21, 2003, 12:30pm UTC](https://forum.kirupa.com/t/mini-game/21415/1 "2003-05-21T12:30:04Z")

</div>

gday all, basically im making a flash game where u move about on an x coord and shoot up on mouse clicks (the bullets are a MC, cheers to Kirupa for his tut.) basically im wondering if the best way to approach the user having to hit a target would be setting the targets coords to variables, then making it so whenever the bullets (MC) coords = targets coords it hides the target, plays a little explosion, then reloads the target into a new location… still in the designer phase atm so i cant upload any source files, but im hoping i explained it well enough 🙂

any tips/hints for pursueing this? got no problems writing the code, was just checking if its the best way to go about it (simply!)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 4:13pm UTC](https://forum.kirupa.com/t/mini-game/21415/2 "2003-05-21T16:13:19Z")

</div>

It sounds like you want to do the same thing I just taught my students (thanks to Senocular for the FOR loop idea)

I am attaching a graphically ugly but hopefully useful FLA that does just mostly what you want.

Take a look and let me know if you have any questions!

Tobias  
[http://www.gelstoncafe.com](http://www.gelstoncafe.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 12:44am UTC](https://forum.kirupa.com/t/mini-game/21415/3 "2003-05-22T00:44:24Z")

</div>

tah, gimme a day or two while i dig up the spare time to pull your code apart 🙂

thx alot
