how can i make a loop game
the idea of the game is
a simple sprite
that he will be born
on the map when he is born will have
two doors, one locked and the other open when he enters the open, he goes back to the beginning and now the door that was closed is going to be open and so will be repeated someone can help me