Next level if reach score X before countdown clock ends

May I ask someone to show me the code for:

  1. level to change
  2. when score reaches X before countdown clock ends


Can you provide some kind of base code? Like sharing your game or template.

Here you go

I believe you can set it so that when score equals 50, change current Level by one, call new level, and restart the countdown. You could also put the countdown you want for the individual level inside the function if you want different times. You may also need a clear level function which is just deleting all the sprites so that when the new level is called there isn’t extra sprites.