In platform game
The sprite moves between layers.
The solid is in Layer 1, if sprite is in layer 1 collision with solid.
But sprite is on llayer 2, no collision.
How i do?
Something like this?
[attachment=0:2p5pdbpi][/attachment:2p5pdbpi]
Develop games in your browser. Powerful, performant & highly capable.
I will study your example to try to understand.
But, example my idea.
-Solid is on layer 1
-Enemi on layer 1
-Player can change layer 1-2
When player is in layer 2, solid only works with enemy.
You can do this by example?
Seems that the solution is this plugin.
I'm not sure, but try
I'm sorry I can not put url,the name is "platformpaco" its a behaviour.