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
Offline
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)

Offline