Not sure what to call this

0 favourites
  • 2 posts
From the Asset Store
Voice call plugin based on webrtc protocol for construct 3
  • Hi everyone,

    Back again and stumped hoping you can help. I've got a map with some buildings, trees and a farmer.All the tiles are single tiles. Is there someway to make it so that when the farmer passes behind on of the sprites, he visibly passes behind it? I know I can split the buildings and trees into two and place them on separate layers to achieve this but I really want to avoid doing this for convenience. I've tried on overlap to send the sprites to the top and bottom of the layer and it works but only the second time I pass behind the tree/building. Is there a quick and easy way to do this besides splitting up the images? Yes it's an iso map if you're wondering which turns out is a pain in the bum to make. Anyways any help would be greatly appreciated.

    Lance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's referred to as "depth sorting" or "z ordering".

    A common way to do it would be to put all the object you want to sort into a family and use this event to sort:

    System: for each family1 ordered by family1.y

    --- family1: send to top

    It works best if the object hotspots are on the bottom. You can also do it without families by using one object and having different animation frames represent the different objects.

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