Dreamora i use also the system with the collision layer (to test collision between :
map tiles, map static object and players.
else i now use imagescollides after my own tests. For example, i test an ennemy collision box with the player and after call imagescollide. For the projectiles (for example the player shoot), before the call to imagescollides, i compute the distance between the shoot and the ennemy.
The thing i don't know how to with bmax collision system layer is to return the 'projectile id' when for example it collide with a maptile, and remove it from my projectiles list.
map tiles, map static object and players.
else i now use imagescollides after my own tests. For example, i test an ennemy collision box with the player and after call imagescollide. For the projectiles (for example the player shoot), before the call to imagescollides, i compute the distance between the shoot and the ennemy.
The thing i don't know how to with bmax collision system layer is to return the 'projectile id' when for example it collide with a maptile, and remove it from my projectiles list.