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.
Search found 1 match
- Wed Jun 05, 2024 1:28 am
- Forum: Support and Development
- Topic: Collisions in my game.
- Replies: 6
- Views: 8997