Solutions to pin lag and folder structure?

Not favoritedFavorited Favorited 0 favourites
  • 6 posts
From the Asset Store
Pin UI
$3.49 USD
Create a perfectly Pinned Interface for Any Device
  • I noticed there's a lag when an object is pinned to another object which is pinned to a third one, if you move it.

    I've put the 3 objects in the same folder in the projects bar, and that fixed it.

    Question1: is there another better solution?

    Question2: which is the best folder structure organization, considering this issue? I previously organized my folders based on type (player, vegetation, items, plugins, tiledbackgorund, etc) but apparently this is not the best way if i pin an arrow to a quiver which is pinned to the player...

  • Use hierarchies instead of pin.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use hierarchies instead of pin.

    I know pin is a superseeded feature, but i got reasons for using it in this instance.

  • The pin lag has to do with the order the pin behavior runs among the instances. As you’ve noticed moving the object types around in the project folder can change the order of things but I wouldn’t consider that a great solution.

    However if you wish to solve it that way you probably can come up with a strategy. I’m guessing the object types list is ordered alphabetically. I’d imagine folders just are expanded in place so that would allow changing the order in that way.

    The second part would be to find an order where the lag doesn’t happen in specific cases. Depending on the pin configuration you may or may not be able to solve the lag in this way though, or at the very least you’d only be able to solve lag in a specific chain of pins I imagine.

    Alternately I’d just do the pinning in another way besides the behavior so that you’d have more control of the order of things. That could be wackyToasters suggestion or just setting the position somehow.

  • Hierarchies is the right answer. Fundamentally there is no way to completely stop the lag with the pin behavior, such as scenarios where you pin A to B and also B to A. If you don't want to use hierarchies, you will probably end up with lag.

  • Hierarchies is the right answer. Fundamentally there is no way to completely stop the lag with the pin behavior, such as scenarios where you pin A to B and also B to A. If you don't want to use hierarchies, you will probably end up with lag.

    Alright. The temporary solution is to put all the entities in the same project folder, that fixes it for now. I will switch to hierarchies after the next regular update on my steam game, since doing that will break savegame compatibility (DinoSystem is quite complex).

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)