Game Over and Key/Door Relationship

Both scripts I have showed you are part of the same player script (attached to the player object). Should I have a separate collision script for the player? PlayerCS is the name of the kinematic collision object that I assigned to the player.go character.

In the script, the first “on_message” was from the link below where you helped with the collisions for the walls (which worked by the way) but they bypassed the “group” and “mask” relationship. As in, any group not named “wall” or “player” would not get triggered.

the second on_message defines the reset function and the final one tells me to reset the player. Should I have only one on_message and have the rest in on_update?

As you posted in here Collision detection - #6 by britzl here is my entire(?) project gamefiles_goat.zip (4.6 MB)