DAS switch behavior implemented

pull/13/head v0.2.3
Ishaan Bhardwaj 2020-12-02 21:09:52 -05:00
parent 7c8c5bb11d
commit 01b0f9f618
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ function love.load()
config["side_next"] = false
config["reverse_rotate"] = true
config["fullscreen"] = false
config["das_last_key"] = false
config["das_last_key"] = config.gamesettings.das_last_key == 2
love.window.setMode(love.graphics.getWidth(), love.graphics.getHeight(), {resizable = true});

View File

@ -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"}},
{"das_last_key", "DAS Switch", {"Default", "Instant"}}
}
local optioncount = #ConfigScene.options
@ -24,6 +25,7 @@ function ConfigScene:new()
end
function ConfigScene:update()
config["das_last_key"] = config.gamesettings.das_last_key == 2
end
function ConfigScene:render()