# Switching weapons in horizontal shooter

**URL:** <https://forum.kirupa.com/t/switching-weapons-in-horizontal-shooter/276703>\
**Category:** programming\
**Created:** [December 2, 2008, 9:01pm UTC](https://forum.kirupa.com/t/switching-weapons-in-horizontal-shooter/276703 "2008-12-02T21:01:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxGhost](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MaxGhost](https://forum.kirupa.com/u/MaxGhost)\
**Post date:** [December 2, 2008, 9:01pm UTC](https://forum.kirupa.com/t/switching-weapons-in-horizontal-shooter/276703/1 "2008-12-02T21:01:05Z")

</div>

This is a fallowup to my other thread, [http://www.kirupa.com/forum/showthread.php?t=314464](http://www.kirupa.com/forum/showthread.php?t=314464), but this is a completely different question. I now have a fully functionnal jet plane which fires tiny red bullets. Now, I want to be able to alternate between bullet/ammo types on the fly, with a shortcut like shift or something, but not neceserilly that, (but the key work isn’t my problem) from the red bullet to something like a yellow laser, which are both tiny little images to the left of the stage, beside the walls. I’ll attach the file I have up to now.

Thanks in advance!

Edit: It was suggested to me in the Actionscript 1.0/2.0 forums to post this here, so thats why the same question is being asked a second time in 2 different forums… Please delete the other one in there Mods? 🙂
