Basic Shooting Platformer
yomamababy
Member Posts: 8
Hi there, I was wondering if there is some way to spawn bullets in the direction your actor is facing. Right now I have a an actor who can only shoot to the right, but zombie enemies are being spawned from the left and right of him. I have uploaded the art for 4 basic directions; up down,left, and right, so it looks like when I am facing left, he continues to shoot to the right of the screen. Is there any way to break that constraint?
Comments
Maybe when you spawn "shoot" actor, do it on front of actor. "Layer" actor too.
I have added the Move attribute on the spawner and it gives me the option to move relative to the actor, which I have selected and move in an additive way. I was also given the option t o set the direction of the spawn with the dial on the right. However, this gives me only 1 direction to choose from.