summaryrefslogtreecommitdiff
path: root/include/algs.lua
AgeCommit message (Collapse)Author
2022-06-17Add scene controls and win/loss scenariosSteph Enders
Setup ability to check collisions and transition game scene
2022-06-16Made shortest path alg more efficentSteph Enders
In the previous commit this algo waited until the "success" step came up in the queue. Now we have the check during the push - and if an hits we return true from the push_moves fn. Since we're only interested in the initial move (since we check moves every frame) we can only return true and then use the current step as the origin position to diff against the start to get the dx,dy
2022-06-16Added onUpdate logic to move the enemies etcSteph Enders
Created some algorithm logic for enemy movement Allowed for default overrides