Compare commits

..

2 Commits

Author SHA1 Message Date
Ishaan Bhardwaj
8dbb75cbef Basic SOCD handling 2021-10-08 20:07:28 -04:00
Ishaan Bhardwaj
bc54bc57b6 Changed Display Gamemode to Debug Info
Cambridge version will display at all times if on
2021-10-08 20:06:36 -04:00
3 changed files with 8 additions and 4 deletions

View File

@ -75,9 +75,11 @@ function love.draw()
scene:render()
love.graphics.setFont(font_3x5_2)
love.graphics.setColor(1, 1, 1, 1)
love.graphics.printf(version, 0, 460, 635, "right")
if config.gamesettings.display_gamemode == 1 or scene.title == "Title" then
love.graphics.setFont(font_3x5_2)
love.graphics.setColor(1, 1, 1, 1)
love.graphics.printf(version, 0, 460, 635, "right")
end
love.graphics.pop()

View File

@ -12,7 +12,7 @@ ConfigScene.options = {
{"piece_colour", "Piece Colours", false, {"Per ruleset", "Arika", "TTC"}},
{"world_reverse", "A Button Rotation", false, {"Left", "Auto", "Right"}},
{"spawn_positions", "Spawn Positions", false, {"Per ruleset", "In field", "Out of field"}},
{"display_gamemode", "Display Gamemode", false, {"On", "Off"}},
{"display_gamemode", "Debug Info", false, {"On", "Off"}},
{"das_last_key", "DAS Last Key", false, {"Off", "On"}},
{"smooth_movement", "Smooth Piece Drop", false, {"On", "Off"}},
{"synchroes_allowed", "Synchroes", false, {"Per ruleset", "On", "Off"}},

View File

@ -126,6 +126,8 @@ function GameMode:update(inputs, ruleset)
if inputs["left"] or inputs["right"] then
inputs["up"] = false
inputs["down"] = false
elseif inputs["down"] then
inputs["up"] = false
end
end