# My retro shooter script

**URL:** <https://forum.kirupa.com/t/my-retro-shooter-script/300777>\
**Category:** Uncategorized\
**Created:** [November 27, 2009, 5:40am UTC](https://forum.kirupa.com/t/my-retro-shooter-script/300777 "2009-11-27T05:40:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheKid22](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@TheKid22](https://forum.kirupa.com/u/TheKid22)\
**Post date:** [November 27, 2009, 5:40am UTC](https://forum.kirupa.com/t/my-retro-shooter-script/300777/1 "2009-11-27T05:40:36Z")

</div>

How do i make my space ship shoot?! heres scirpt:

onClipEvent (enterFrame) { if (Key.isDown(Key.UP)) { \_y -= 10; \_rotation = 270; }}onClipEvent (enterFrame) { if (Key.isDown(Key.DOWN)) { \_y -= -10; \_rotation = 90; }}onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { \_x -= 10; \_rotation = 180; }}onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { \_x -= -10; \_rotation = 0; }}  
onClipEvent (enterFrame) { if (Key.isDown(Key.DOWN)) { \_y -= -10; \_rotation = 90; }}onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { \_x -= 10; \_rotation = 180; }}onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { \_x -= -10; \_rotation = 0; }}  
onClipEvent (enterFrame) { if (this.hitTest(\_root.enemy)) { \_root.player.Play (); }}
