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

SGDK only sub forum

Moderator: Stef

Post Reply
eliander20
Newbie
Posts: 2
Joined: Wed Sep 01, 2021 9:34 pm

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

Post by eliander20 »

can someone explain or post a code or example!
cloudstrifer
Very interested
Posts: 118
Joined: Mon Feb 19, 2018 7:31 pm

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

Post 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.
Post Reply