mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 01:09:02 -06:00
Compare commits
2 Commits
9611fc31bf
...
8dbb75cbef
Author | SHA1 | Date | |
---|---|---|---|
|
8dbb75cbef | ||
|
bc54bc57b6 |
8
main.lua
8
main.lua
@ -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()
|
||||
|
||||
|
@ -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"}},
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user