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

#1 2011-08-08 20:58:41

theCreat0r
Scratcher
Registered: 2011-01-27
Posts: 19

Help With Scroller Shooting!

I need a shooting script that does not have a bullet, but is not a laser that shoots multiple enemies at a time!

Bullets go too slow, so i don't want that.

Lasers kill multiple enemies at a time.

I can't think of a NON LAGGY script for shooting an enemy in my scroller. Unluckily my guy jumps, so i can't just make it shoot the closest guy in the area its pointing.

Offline

 

#2 2011-08-08 21:20:32

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Help With Scroller Shooting!

What do you mean?

Offline

 

#3 2011-08-09 10:34:32

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: Help With Scroller Shooting!

Should this be in advanced topics? Anyways, just make the bullets go faster and don't make more than four. Each bullet should have offsetX and offsetY. Set offsetY to the y of the bullet and set offsetX to the player's x position and keep incrementing it. Set bullet's x and y by using scrollX+offsetX and scrollY+offsetY.  (I've never tried this, it may not work)


http://www.danasoft.com/citysign.jpg

Offline

 

Board footer