I am having a problem in applying collision. I have created a tile source and created a ground collision group named “ground”. I have selected my target tiles to add collision to. Below is snapshot:
Also, i have created the same for the tile map. Below is a snapshot:
When created my tile map, i have added a background layer, and another layer. I have given the background layer a z-value of 0 and the later a z-value of 1. As a result, in order for my character to appear, i have added a z-value of 1 to the game object “Player” which contains the spirit. Also, i have added a scale of (2,2,2) as per your recommendation on one of your posts. Below is a snapshot:
The final result is this:
As you can see that the collision is not working. on the on_message event, i used the function print() but it doesn’t reach there. If you can please help me solve this issue…