Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to stop a player from moving the character after finishing the level?

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.


  • Twayne2Twayne2 Posts: 410Member, PRO

    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.

  • mypingo7mypingo7 Posts: 22Member

    thanks it worked :D

Sign In or Register to comment.