# Mx game code help please!

**URL:** <https://forum.kirupa.com/t/mx-game-code-help-please/282042>\
**Category:** flash\
**Created:** [February 17, 2009, 2:47am UTC](https://forum.kirupa.com/t/mx-game-code-help-please/282042 "2009-02-17T02:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Game\_Maker\_Guy](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Game\_Maker\_Guy](https://forum.kirupa.com/u/Game_Maker_Guy)\
**Post date:** [February 17, 2009, 2:47am UTC](https://forum.kirupa.com/t/mx-game-code-help-please/282042/1 "2009-02-17T02:47:25Z")

</div>

\*\*Hello [FONT=Fixedsys][COLOR=red]KIRUPA[/COLOR][/FONT] Community i am creating a game similar to the following:  
\*\*[www.addictinggames.com/guitarmasters.html](http://www.addictinggames.com/guitarmasters.html)  
**Please play the game, it will help you get a better understanding of my project!**

I am upto the part where the skull (or star is what im doing) the star comes down the guitars fret bar (ive allready animated that part) then this is what i need the code for:

When the star is touching the target1 (" target1 " is moviclip instance name) target1 is the star it must be touching

You need to press 1  
If you dont these things happen:  
The volume goes down a bit  
10 Points deducted from the score (dynamic text instance name" scoreBox ")  
and the star deletes then regenerates

But if you press 1 when the star (moviclip star istance name:" note1 ")  
These things Happen:  
The volume stays same  
Adds 500 Points to scoreBox  
and star regenerates!

SO heres a recap of what should happen:  
The star comes down the fret bar  
It is on top or touching the target star  
Then you press 1  
The star dissapears and you score (scoreBox) goes up 500 points!

OR

You Miss the target and this happens:  
The Volume goes down  
-10 points from the scoreBox  
and the star regenerates (or duplicates!)

Please suply code with your reply!  
Thanks!  
Game Maker Guy

(INSTANCES: Star Moviclip:note1 Target STAR Movieclip:target1 Score DYnamic text:scoreBox)
