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

    Spawn objects freezes other object’s moves

    Scheduled Pinned Locked Moved Help and Support
    5 Posts 4 Posters 1.3k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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

              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
              • First post
                Last post