# Shooter Game Problems

**URL:** <https://forum.kirupa.com/t/shooter-game-problems/178533>\
**Category:** flash\
**Created:** [February 11, 2006, 3:53pm UTC](https://forum.kirupa.com/t/shooter-game-problems/178533 "2006-02-11T15:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shoo](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Shoo](https://forum.kirupa.com/u/Shoo)\
**Post date:** [February 11, 2006, 3:53pm UTC](https://forum.kirupa.com/t/shooter-game-problems/178533/1 "2006-02-11T15:53:49Z")

</div>

[FONT=Century Gothic][SIZE=1][COLOR=royalblue]Ok it’s pretty simple actualy… I’m not so good at flash and have started making a shooter game and it has messed up, Thus here I am asking you all for some help.[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]Okay heres what I did:[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]I drew a triangle on stage, made it a movie clip (I called the movie clip sheelah) and gave it the instance name “triangle” (no quotes)[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]I wanted this triangle to follow the mouse cursor along the X axis but **not** the Y axis[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]So I applyed the following code to the triangle:[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]  
[/COLOR][/SIZE][/FONT]

```auto
 
onClipEvent (enterFrame) {
 function () {
  _root.triangle._x = _xmouse;
}
}

```

[FONT=Century Gothic][SIZE=1][COLOR=royalblue]Obviously somthing messed up coz it didn’t work thats why I’m asking you people what I’ve done wrong[/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1][/COLOR][/SIZE][/FONT]  
[FONT=Century Gothic][SIZE=1][COLOR=#4169e1]Help Please, Cheers 🍺 [/COLOR][/SIZE][/FONT]
