Page 1 of 1

Detect collisions for STI with bump by layer id

Posted: Mon Jun 10, 2019 7:57 pm
by EnbyAdams
Hiya friends, is it possible to check for collisions with specific STI tile layer ids with bump? If not, how can I differentiate between enemy collisions and collisions with the map? Current code is attached, enemies aren't programmed yet.

Re: Detect collisions for STI with bump by layer id

Posted: Wed Jun 12, 2019 2:37 pm
by bobbyjones
I haven't used it in a while but I believe the collision object returns the items the took place in the collision. That's how I handled it.