LoginLogin

Stuck - Sprite Collision

Root / Programming Questions / [.]

h267Created:
After debugging and debugging, I couldn't fimd a solution to two sprites not colliding. I finally decided to show you guys the program so you can find the error, because I have no idea how to fix this. The sprite collision returns 0, even though it's supposed to return -1. Debug Program Key ------------------------------------- ZKE438HV

If you are talking about the catball game, where hitting the cat sprite should give you a "game over" you need to enable collisions on both objects. Adding the below lets this happen: spcol 5, true

THANK YOU SO MUCH! It works now!