How to stop a player from moving the character after finishing the level?
mypingo7
Member Posts: 22
So basically at the end of each level, my character has to collect a gem, i want the player to stop having control of moving left, right, or jumping once he collects the gem so that 2 seconds later the screen cuts to the "choose level" screen. I already have that level screen working, I just don't know how to stop the character.
Comments
Add a global attribute called whatever you want to. Say the player can move and jump only if that attribute is 0. If the player touches the gem, set that attribute to 1.
thanks it worked