Here is the most basic kind of script you could use to fire one bullet at a time:
http://img51.imageshack.us/img51/6850/script.gif
I could add a script to show you how to fire several at once, give me a second.
Last edited by Kileymeister (2012-01-11 15:45:53)
Offline
matthrew wrote:
is it aall of that apart from the speed
That should include the speed, changing the 10 in "move 10 steps" will adjust the speed of the bullet.
Offline
Here's one for multiple bullets:
This script goes in the ship sprite, all the variables should be "for all sprites":
http://img515.imageshack.us/img515/8739/scripti.gif
This script goes in your bullet sprite(s):
http://img825.imageshack.us/img825/6850/script.gif
The BulletNumber variable should be for that sprite only. The first bullet gets BulletNumber set to 1, the next one 2, and so on.
Offline