Nice and challenging.
Also please don't create a canvas every frame. Instead, create it once and just use setCanvas when drawing.
The game errors out with this message when hitting 1,000,000
scripts/base/music.lua:46: attempt to index local 'song' (a nil value) Traceback scripts/base/error.lua:60: in function 'handler' scripts/base/music.lua:46: in function 'addSong' scripts/base/music.lua:120: in function 'play' scripts/game/gamemanager.lua:221: in function 'abilityCheck' scripts/game/gamemanager.lua:135: in function 'update' scripts/base/scene.lua:42: in function 'update' main.lua:61: in function 'update' [love "callbacks.lua"]:162: in function <[love "callbacks.lua"]:144> [C]: in function 'xpcall'Otherwise, it's a nice game.
Thanks
In regards to the crash, from the error message I have a hunch that it might be due to that section being too close to the edge of the map, it's an easy fix and i can add clamping to the fog update code just in case.
And for the text, if it's tutorial text then it's mostly intended, perhaps i can move the triggers a bit earlier to make the text disappear sooner.