logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Spawn objects freezes other object’s moves

    Scheduled Pinned Locked Moved
    Help and Support
    4
    5
    785
    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.
    • LupoL
      Lupo
      last edited by

      I spawn two new objects every 1.5 seconds and then they move slowly accross the screen with all other objects previously spawned. But every time the spawn behaviour is triggered all other currently moving objects are freezing for a few milliseconds which gives not a smooth continuous flow of the objects. How can I avoid this interruptions?

      Aidan_FireA D 2 Replies Last reply Reply Quote 0
      • Aidan_FireA
        Aidan_Fire @Lupo
        last edited by Aidan_Fire

        @lupo Spawning object's causes a bit of lag it seems 🤔. Tried not spawning them at the exact same time, but add a tiny delay between the two?

        1 Reply Last reply Reply Quote 0
        • RobinsonXR
          RobinsonX
          last edited by

          I try to avoid Spawning objects because they do cause some lag, maybe use transform behaviors to make it seem like they are spawning. :3

          1 Reply Last reply Reply Quote 0
          • D
            Deeeds @Lupo
            last edited by

            @lupo Do you know how to build an object pool and cycle through objects from that pool?

            LupoL 1 Reply Last reply Reply Quote 0
            • LupoL
              Lupo @Deeeds
              last edited by

              @deeeds I don’t know, but I hope you can explain me in detail? 😉 Thx

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