mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Small changes on how virtual key call action
This commit is contained in:
@@ -6,11 +6,14 @@ require 'settings'
|
||||
|
||||
function GameScene:new(player_name, replay_file, replay_grade)
|
||||
game_mode = require 'game.gamemode'
|
||||
|
||||
VCTRL[9].show = false; VCTRL[10].show = false -- Hide SELECT and QUIT button
|
||||
if PENTO_MODE then
|
||||
ruleset = require 'game.rotation_pent'
|
||||
else
|
||||
ruleset = require 'game.rotation'
|
||||
end
|
||||
|
||||
self.retry_mode = game_mode
|
||||
self.retry_ruleset = ruleset
|
||||
self.secret_inputs = inputs
|
||||
@@ -60,6 +63,9 @@ function GameScene:update(nosound, tas_update)
|
||||
if not self.paused then
|
||||
self.game:update(inputs, self.ruleset)
|
||||
end
|
||||
if self.game.input_playback or self.game.game_over or self.game.game_completed then
|
||||
VCTRL[9].show = true; VCTRL[10].show = true
|
||||
end
|
||||
end
|
||||
|
||||
function GameScene:render()
|
||||
|
||||
Reference in New Issue
Block a user