This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-03-25 15:39:42

Bigdog8123
Scratcher
Registered: 2007-12-15
Posts: 1

Fireing bullets

How do i make bullets fire in quick sucsession

Offline

 

#2 2008-03-25 15:53:05

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Fireing bullets

You need more than one bullet sprite, and a means of keeping track of which ones are currently "unfired" so that they can be triggered when the firebutton is pressed.

I have a multiple bullet demo here: http://scratch.mit.edu/projects/Mayhem/19961


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

Board footer