mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 15:39:03 -06:00
Displays current gamemode in game (toggle)
This commit is contained in:
parent
ba5f78d5f1
commit
1bf8f91ef2
@ -68,6 +68,10 @@ function GameScene:render()
|
||||
|
||||
self.game:drawCustom()
|
||||
|
||||
love.graphics.setFont(font_3x5_2)
|
||||
if config.gamesettings.display_gamemode == 1 then
|
||||
love.graphics.printf(self.game.name .. " - " .. self.ruleset.name, 0, 460, 640, "left")
|
||||
end
|
||||
end
|
||||
|
||||
function GameScene:onInputPress(e)
|
||||
|
@ -9,6 +9,7 @@ ConfigScene.options = {
|
||||
{"manlock", "Manual locking",{"Per ruleset","Per gamemode","Harddrop", "Softdrop"}},
|
||||
{"piece_colour", "Piece Colours", {"Per ruleset","Arika" ,"TTC"}},
|
||||
{"world_reverse","A Button Rotation", {"Left" ,"Auto" ,"Right"}},
|
||||
{"display_gamemode", "Display Gamemode", {"On", "Off"}},
|
||||
{"next_se", "Next Piece SFX", {"On", "Off"}},
|
||||
{"das_last_key", "DAS Switch", {"Default", "Instant"}},
|
||||
{"synchroes_allowed", "Synchroes", {"Per ruleset", "On", "Off"}},
|
||||
|
Loading…
Reference in New Issue
Block a user