Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Registering only 1 bullet

Registering only 1 bullet

Scheduled Pinned Locked Moved Help and Support
6 Posts 3 Posters 511 Views 1 Watching
  • 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.
  • SplitMindGamingS Offline
    SplitMindGamingS Offline
    SplitMindGaming
    wrote on last edited by
    #1

    Im having a major problem where i cannot get the hit by bullet to only recognize just 1 bullet. I have an object that when it is hit by a bullet an item spawns in replacement of it. The problem is that if i set my bullet count to like 3 and happen to shoot the object close enough it will detect that 3 bullets hit the object at the same time therefor spawning 3 items in replacement of it. Is there a way to have an object only render just 1 bullet hit? Ive tried everything. Ive messed with spray variance and everything and allthough some tweaks would help. There are still instance where it will detect multiple bullets.

    Aidan_FireA 1 Reply Last reply
    0
    • RobinsonXR Offline
      RobinsonXR Offline
      RobinsonX
      wrote on last edited by
      #2

      After the hit by bullet behavior has been triggered, disable it using Behavior Off so the behavior only registers bullets once. Whenever you want it to detect bullets again, simply use Behavior On to enable it.

      SplitMindGamingS 1 Reply Last reply
      1
      • SplitMindGamingS SplitMindGaming

        Im having a major problem where i cannot get the hit by bullet to only recognize just 1 bullet. I have an object that when it is hit by a bullet an item spawns in replacement of it. The problem is that if i set my bullet count to like 3 and happen to shoot the object close enough it will detect that 3 bullets hit the object at the same time therefor spawning 3 items in replacement of it. Is there a way to have an object only render just 1 bullet hit? Ive tried everything. Ive messed with spray variance and everything and allthough some tweaks would help. There are still instance where it will detect multiple bullets.

        Aidan_FireA Offline
        Aidan_FireA Offline
        Aidan_Fire
        wrote on last edited by
        #3

        @SplitMindGaming Even if you are destroying the object instantly, it seems you do need to as Robinson said disable the hit by bullet behaviour.
        851DF529-7BE4-4F13-82A9-BD20F79899C0.png
        When this object is hit by 2 bullets at the same time, it disappears and the score is increased by 1. If I disable the Behaviour Off, then score increases by 2 when the object is hit by bullet and the object disappears.

        1 Reply Last reply
        1
        • RobinsonXR RobinsonX

          After the hit by bullet behavior has been triggered, disable it using Behavior Off so the behavior only registers bullets once. Whenever you want it to detect bullets again, simply use Behavior On to enable it.

          SplitMindGamingS Offline
          SplitMindGamingS Offline
          SplitMindGaming
          wrote on last edited by
          #4

          @RobinsonX @Aidan-Oxley yesssss that definitely fixed the problem. Thank you so much.

          1 Reply Last reply
          1
          • SplitMindGamingS Offline
            SplitMindGamingS Offline
            SplitMindGaming
            wrote on last edited by
            #5

            I think this should be a built in feature. Its safe to say that when building games you would want that hit object to only register 1 bullet at a time. Otherwise you can destroy bosses by simply shooting them closer unless your trying to build a shotgun then it would make sense to register multiple hit points from a single shot.

            1 Reply Last reply
            1
            • RobinsonXR Offline
              RobinsonXR Offline
              RobinsonX
              wrote on last edited by
              #6

              @SplitMindGaming Great idea! Single register for a single shot.

              1 Reply Last reply
              1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Search