Search found 1 match

by rigelloo
Wed Jun 05, 2024 1:28 am
Forum: Support and Development
Topic: Collisions in my game.
Replies: 6
Views: 8997

Re: Collisions in my game.

You can do for example
if [other thing such as enemy]X < characterX + 10 and [other thing such as enemy]X > characterX - 10 and [other thing such as enemy]Y < characterY + 10 and [other thing such as enemy]Y > characterY - 10 then

thats how I did it. :3