Need help on how shoot
-
Hi am a beginner and just created a platformer with Fuze help docs.
I want to shoot the enemy but i don't know how. Any one can provide help me on:
1 how to shoot the enemy?
2. Game over if player get hit by enemy? -
@Dhayyan2009 there a few ways you can do this essentially your wanting to create a bullet sprite and move it with speed maybe trigger it with a button.
im sure someone will be able to go into greater detail as im away from my switch at the moment.
you also want to look intodetectspritecollision
that will detect the bullet sprite and what it is hitting. from there you'd put an if statement to then trigger the desired effect between the sprites.
hopefully that helps for now.