1 decade ago by jaems
I'm a newbie and trying to figure this out. I think it should be simple, just not sure how to go about doing it.
In each level, the player has to collect a certain amount of items to progress to the next. I want it so that in between each of these levels, there is a black screen with white text that narrates the story in between.
So pretty much Level1 (collect 3 coins) -> Black Screen w/ Text (press space to continue -> Level2 (collect 4 coins) and so on
I imagine I'd have to have somewhere in main.js where I keep track of the current level and reset the player entity's coin count
Thanks in advance guys.
In each level, the player has to collect a certain amount of items to progress to the next. I want it so that in between each of these levels, there is a black screen with white text that narrates the story in between.
So pretty much Level1 (collect 3 coins) -> Black Screen w/ Text (press space to continue -> Level2 (collect 4 coins) and so on
I imagine I'd have to have somewhere in main.js where I keep track of the current level and reset the player entity's coin count
Thanks in advance guys.