logo

    hyperPad Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Spawn objects freezes other object’s moves

    Help and Support
    4
    5
    611
    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.
    • Lupo
      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_Fire D 2 Replies Last reply Reply Quote 0
      • Aidan_Fire
        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
        • RobinsonX
          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?

            Lupo 1 Reply Last reply Reply Quote 0
            • Lupo
              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