Hopefully this is easy to remember from left to right:
There are also tooltips to introduce these shortcuts to newcomers.
Most of the shortcuts are only enabled when code is visible. In keeping with existing conventions for mouse events, we leave most event handlers for the script when code is hidden. The only exception is 'F3' to show code. So if you want to use a shortcut 'k' when code is hidden, you have to instead use 'F3 k F3'.
This is all tentative and open to change. But I'll probably grow more reluctant to change the shortcuts in a few weeks or months.
Q3EQI5LIQVRRX234KDA4WBAAQFVER4F2DQLS62AO4B7F42N7ODFQC
KCFQO6K5FBODEFEDWJL7Y3DECUCYANS34GYZ55WRHETU4VCHAJYQC
YR7AXEYBLB7Y4OZKPX4REW5JD5VOCSKMAC2TR5N75UJEG72XJUQAC
LJUJH5GPSIC36QYGYV4XYT7E3T4LGVKY3FXGJBKQTZ3GTHMKDQRQC
XX7G2FFJ4QCGQGD4REAW5QFHVYAKCFUPGZCK7L6DFGS5ISVBYBQQC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
W3RRTO4PYRYYWVCL5FZFD7646E4WVPYAUVPCSCPI545EM74GY7EQC
AZMYKWMHE3RTQ7Z7NTBK3H4YTZ46HQE2GHUY7WADMITC7UIVB5RQC
LGIEVJE6W72DAIY7NEWDIMPSI6K5GR2M4BREPQ4TYFWCZYGA6MHQC
6ARK6HWF5NMFDJ7XI7IEOZ6FFLSEBIVRGETLBQS5ILIAIR2HIBTAC
SIJ5I4NZN5LFATNT5QIWUK75Z5W6P4B4AKNPVYFQ7IVRMOCVWR3AC
FIUQJVL2MCC4VKKX7JBT6377TWIGPTUC5NXMUABV5JILB3ZDWZFAC
W4EQ6IW4KVNJDAN32RUK7BLGWJB3TKZIE27PLIIGU5ARJPBMVS6QC
OGDDLU5BOJEAETHLBI5S3HAOHI275IVIY5UOJ4TG6DROJJ5PIOLAC
SJXIMERSV47SKYWCC5TA7TFGRWNN27S5FJE2PS5D46T5HOUN3V2AC
DZLFYLDUMYM4TXT5WKUHD4YXF2J2TQM5SO4W4VXLPBJNDXYV43VQC
5MEJ7XNHNFG2BIX3TFU6PDJHSJOS2Z45L25QAZKFGRW7ZNOFEUKAC
GWLETNMWE7L7P3YBVUFZGBNT3DKHB7IT7ZJ54FUCNYLC72UNCXGAC
RK2ASPN7A55RCEG2YRFZLFXNPSME2VKBE2ZXO257DYZPS5TPXC5QC
X2YWEIZSRESZM4LE5JNEXIRP6YIBPGTYRJLXLUI45FS2QBPMFNAQC
I52S4E5FT6E6FHH3QEDJPWO7C6W7AIMAFDP2KQ5FEWXFQX7RY6CAC
2Q437U4FVEYO3Y22OC3NC5MAYVEDTTCWCRJHBKHKWA4WZSPWYUDQC
ZM7NOBRMD5HHA35Y4JDC76EOA2RD4KQOQCPURXYKXA6ABMKOJIGQC
show_tooltip = function(x,y, tooltip_text)
if not tooltip_text then return end
App.color(Tooltip_background)
local w = App.width(tooltip_text)
love.graphics.rectangle('fill', x,y, w+10, Line_height+10, 2,2)
App.color(Tooltip_foreground)
love.graphics.print(tooltip_text, x+5, y+5)
end
Is_mobile = (OS == 'Android' or OS == 'iOS')
Tooltip_foreground = {r=0, g=0, b=0}
Tooltip_background = {r=0.8, g=0.8, b=0.8}
function()
Show_menu = nil
Show_file_dialog = true
File_dialog_callback = function(filename)
if filename == '' then
-- clear filename
Current_pane.filename = nil
return
end
Current_pane.filename = filename
one_time_load()
-- Load new filename in future sessions.
-- On mobile devices, we can't depend on on.save_settings() triggering on quit.
love.filesystem.write('config', json.encode(settings()))
end
end)
press_load_button, --[[final button?]] false, not Is_mobile and Show_code and 'F5')