Added extra buttons:

- Implemented retry button*
- Escape on mode select sends you to title screen
- Escape on title screen closes the game
- Added "Exit Game" entry on title screen, closes the game when selected

*Pardon my angry comment in `scene/game.lua`.
This commit is contained in:
Oshisaure
2020-10-08 04:56:46 +01:00
parent a4984fd687
commit 5606251ea7
8 changed files with 43 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ MarathonA2Game.tagline = "The points don't matter! Can you reach the invisible r
function MarathonA2Game:new()
MarathonA2Game.super:new()
self.super:new()
self.big_mode = true
self.roll_frames = 0
self.combo = 1

View File

@@ -68,6 +68,7 @@ end
function GameMode:initialize(ruleset)
-- generate next queue
self:new()
for i = 1, self.next_queue_length do
table.insert(self.next_queue, self:getNextPiece(ruleset))
end