You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PaddleSelectState you may notice that the level is fixed on the state change to "serve". You can just set it up to 1 in "bricks" and "level". gStateMachine:change('serve', { paddle = Paddle(self.currentPaddle), bricks = LevelMaker.createMap(32), health = 3, score = 0, highScores = self.highScores, level = 32, recoverPoints = 5000 })
Regarding the level progression, I suggest you to check if level is being increased when VictoryState changes to ServeState: gStateMachine:change('serve', { level = self.level + 1, bricks = LevelMaker.createMap(self.level + 1), paddle = self.paddle, health = self.health, score = self.score, highScores = self.highScores, recoverPoints = self.recoverPoints })
Whenever I start the game, the level is always 32. If I die or beat the level, it still says Level 32. Is there a way to fix this?
The text was updated successfully, but these errors were encountered: