Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Need help on how shoot

    Help
    2
    2
    183
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dhayyan2009 last edited by

      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?

      waldron 1 Reply Last reply Reply Quote 1
      • waldron
        waldron F @Dhayyan2009 last edited by waldron

        @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 into detectspritecollision 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.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post