mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 12:49:03 -06:00
DAS switch behavior implemented
This commit is contained in:
parent
7c8c5bb11d
commit
01b0f9f618
2
main.lua
2
main.lua
@ -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});
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user