Page 1 of 1

How to detect collision between Sprite and Plane A low??

Posted: Tue Sep 28, 2021 12:33 am
by eliander20
can someone explain or post a code or example!

Re: How to detect collision between Sprite and Plane A low??

Posted: Mon Nov 01, 2021 1:26 pm
by cloudstrifer
Hi.

You can use sprite position X and Y and compare with PLANE A or B, considering it as a 16 x 16 grid or 8 x 8.

I recomend this article.
https://jonathanwhiting.com/tutorial/collision/

Never give up.