Add level selector / leaderboard browser #7

Merged
Not merged 23 commits from browser into master 2022-09-06 10:08:42 +02:00
Showing only changes of commit c497581539 - Show all commits

View File

@ -406,10 +406,10 @@ local function controller(player)
local cmd = player.cmd local cmd = player.cmd
if not keyRepeat then if not keyRepeat then
if cmd.driftturn > 0 then if cmd.driftturn > 0 then
updateMapIndex(-1) updateMapIndex(1)
updateKeyRepeat() updateKeyRepeat()
elseif cmd.driftturn < 0 then elseif cmd.driftturn < 0 then
updateMapIndex(1) updateMapIndex(-1)
updateKeyRepeat() updateKeyRepeat()
elseif cmd.buttons & BT_FORWARD then elseif cmd.buttons & BT_FORWARD then
scrollPos = $ - 1 scrollPos = $ - 1