Pygame collision detection not working how I want it to
问题 Collisions are not working the way I want them to. I want it so that whenever you hit a boat, you are sent back to MENUSTATE, and whenever you hit a fish, the image disappears and the game keeps running. From what I've tried, the game will go back to MENUSTATE after a boat collision for as long as the two objects are still colliding, but will go back to GAMESTATE when it's done. How can I have it so it permanently stays in the MENUSTATE after a collision with the boat, and how would I go