I'm racking my brain trying to replace the spawns in my game, please help!

anithmukanithmuk Member Posts: 235
edited November -1 in Working with GS (Mac)
Everything was working fine with spawns but to improve performance I'm trying to get rid of all spawn behaviors.
What I want to do now is this: When the player touches the screen the shooter aims to the touch (I can do this) when the player releases the touch the particle shoots (I did this also) after the particle has been shot the player can't shoot another one until it dies. When it dies the particle moves back to the where the shooter is (so it recycles and doesn't need to be spawned) and then the player touches the screen to aim and releases to shoot and the process repeats. This can be done 3 times for 3 lives.

I've tried for ages to get this to work right but I keep getting a bunch of problems. eg particle won't shoot after first time, particle continuously shoots by itself after dying etc. All I want is the player to be able to touch the screen to aim then release the touch to shoot.

Any help will be GREATLY appreciated :)

Comments

Sign In or Register to comment.