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. How to achieve this

How to achieve this

Scheduled Pinned Locked Moved Help and Support
6 Posts 3 Posters 954 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 trying to have my player shot out a flame thrower. I tested a few things which was had the flame thrower object off screen then move to the player when a button is pressed. The only problem with this is that it doesnt move with the player. I tried weld attach but that just messes up with the movement completely. Any ideas on how to achieve this? It would be perfect if i could do this with the shoot behavior but instead of the bullets it shoots out a flame thrower. Is that possible?

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

      Yes, you can achieve this using the bullet shoot behavior. Change the bullet sprite to a fire graphic, configure all the Hit by Bullet behaviors and you're set!

      However, the major downside is that you cannot change the size of the bullets directly on the behavior. So if you wanted to resize the bullets, you would need to resize the sprite that it's using.

      Though, the major advantage is performance and reliability because you don't need to manipulate huge amounts of objects to do a small thing.

      (Changing bullet size should definitely be a feature!)

      SplitMindGamingS 1 Reply Last reply
      0
      • RobinsonXR Offline
        RobinsonXR Offline
        RobinsonX
        wrote on last edited by
        #3

        Oh and if you're using weld attach or pivot attach, the objects should have zero mass so they don't freak out.

        1 Reply Last reply
        0
        • RobinsonXR RobinsonX

          Yes, you can achieve this using the bullet shoot behavior. Change the bullet sprite to a fire graphic, configure all the Hit by Bullet behaviors and you're set!

          However, the major downside is that you cannot change the size of the bullets directly on the behavior. So if you wanted to resize the bullets, you would need to resize the sprite that it's using.

          Though, the major advantage is performance and reliability because you don't need to manipulate huge amounts of objects to do a small thing.

          (Changing bullet size should definitely be a feature!)

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

          @RobinsonX so i actually tried this but i notice you cant add animations to the bullet shooting out. So for example i have this flamethrower fire animation. When it shoots out it only shows this first still image. Unless im doing something wrong which is a good possibility.

          1 Reply Last reply
          0
          • SplitMindGamingS SplitMindGaming

            Im trying to have my player shot out a flame thrower. I tested a few things which was had the flame thrower object off screen then move to the player when a button is pressed. The only problem with this is that it doesnt move with the player. I tried weld attach but that just messes up with the movement completely. Any ideas on how to achieve this? It would be perfect if i could do this with the shoot behavior but instead of the bullets it shoots out a flame thrower. Is that possible?

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

            @SplitMindGaming Not sure if it's the best or what you're looking for, but here's my attempt at making a simple flamethrower: https://go.aws/30ybKkh

            SplitMindGamingS 1 Reply Last reply
            0
            • Aidan_FireA Aidan_Fire

              @SplitMindGaming Not sure if it's the best or what you're looking for, but here's my attempt at making a simple flamethrower: https://go.aws/30ybKkh

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

              @Aidan-Oxley thanks this a very smart approach.

              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