Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Joncom

I'm having an issue where certain entities that are allowed to overlap the player are displaying above the player. Any chance somebody could give me a hint as to where I go to specify the order of entities?

1 decade ago by Aitor

If I'm not wrong, you can specify a certain zIndex for the entities (the entity with the lowest value will be drawn on the top) and then call ig.game's sortEntitiesDeferred() whenever you want to sort them (I think it's automatically called when the level is loaded)

1 decade ago by Joncom

Perfect. Thanks!
Page 1 of 1
« first « previous next › last »