1 decade ago by riceje7
does anyone have any idea how i would go about implementing a secondary collision map in a level that would only effect certain entities? I am not sure if it will be best to inject into the collision map class or if i can do it through simple logic statements in my main.js.
my goal is that i can put in invisible collision tiles that enemy entities will bounce off of, change direction, and then continue on to the edge of the ground tiles then fall down onto the next level of tiles and so on an such, but my player entity will just pass through them if those specific tiles are encountered.
has anyone ever tried this before? i can't really think of how to go about starting to accomplish this any guidance would be great. thanks
my goal is that i can put in invisible collision tiles that enemy entities will bounce off of, change direction, and then continue on to the edge of the ground tiles then fall down onto the next level of tiles and so on an such, but my player entity will just pass through them if those specific tiles are encountered.
has anyone ever tried this before? i can't really think of how to go about starting to accomplish this any guidance would be great. thanks