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 spawn objects infinitely.

How to spawn objects infinitely.

Scheduled Pinned Locked Moved Help and Support
7 Posts 2 Posters 719 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

    imagine big rain drops falling from the sky that can hurt the person below. 2 questions really.

    1. How do i set up the raindrops to start falling after 1 minute into the game
      ( “timers” seem to work exactly like “wait”. If i set the timer it will just repeat it ever minute. Is there a way to set the timer to only run it one time?)

    2. How do i set up the rain to fall down infinitely.
      ( if i put ”spawn on area” within the behavior raindrop layer this will work. However i have no control over this as I would like to off this option at some point and turn it back on again)

    How you can replicate this.

    1. Drag an object into the screen. This will be the raindrop.
    2. Go into the raindrop behavior and add the action “wait” and set it to 1 second.
    3. Under that action put “spawn on area” set it to Spawn on top of the screen and set randomize to 100.

    Tell me how I can turn this off after lets say 30 seconds.
    Tell me how i can turn this back on.

    MelideM 1 Reply Last reply
    0
    • SplitMindGamingS SplitMindGaming

      imagine big rain drops falling from the sky that can hurt the person below. 2 questions really.

      1. How do i set up the raindrops to start falling after 1 minute into the game
        ( “timers” seem to work exactly like “wait”. If i set the timer it will just repeat it ever minute. Is there a way to set the timer to only run it one time?)

      2. How do i set up the rain to fall down infinitely.
        ( if i put ”spawn on area” within the behavior raindrop layer this will work. However i have no control over this as I would like to off this option at some point and turn it back on again)

      How you can replicate this.

      1. Drag an object into the screen. This will be the raindrop.
      2. Go into the raindrop behavior and add the action “wait” and set it to 1 second.
      3. Under that action put “spawn on area” set it to Spawn on top of the screen and set randomize to 100.

      Tell me how I can turn this off after lets say 30 seconds.
      Tell me how i can turn this back on.

      MelideM Offline
      MelideM Offline
      Melide
      wrote on last edited by
      #2

      @SplitMindGaming Do not put this behaviors in the 'raindrop' object. But it in another object but not the raindrop.

      Set a Timer to how many seconds you want. Connect it to a Spawn in area and select the 'raindrop' object you want. And you are good to go 🤷

      You can manipulate when you want it to stop or not with the Behavior Off and Behavior On thing, you can search it in the search bar if you are on the lastest version or you can find it in the last category ( dark blue ones ). When putting a Behavior Off/On you can select Wich behavior you wanna turn off or on, Wich in this case is the Timer.

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

        Yes I have tried this but when i do that it does not spawn infinitely. I also tried putting a loop to see if it will constantly spawn but it doesnt.

        MelideM 1 Reply Last reply
        0
        • SplitMindGamingS SplitMindGaming

          Yes I have tried this but when i do that it does not spawn infinitely. I also tried putting a loop to see if it will constantly spawn but it doesnt.

          MelideM Offline
          MelideM Offline
          Melide
          wrote on last edited by
          #4

          @SplitMindGaming If you do put a Timer instead and put it in another object's behavior, it should work. Loop is not like a Timer or a Wait, I haven't really understand Loop but it's for another thing.

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

            Thanks so I did get that to work. Much better. But I still do not know how to turn it off from spawning when a certain event happens. I tried behavior off and chose “spawn on area” but it doesnt stop the spawning of objects.

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

              I just found my answer by turning off both behaviors, the spawn on are and the timer. :)

              MelideM 1 Reply Last reply
              0
              • SplitMindGamingS SplitMindGaming

                I just found my answer by turning off both behaviors, the spawn on are and the timer. :)

                MelideM Offline
                MelideM Offline
                Melide
                wrote on last edited by
                #7

                @SplitMindGaming Normally, just getting the Timer off will work, as I said earlier. But if you want it to be like that, it works too ;)

                1 Reply Last reply
                0

                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