I really didn’t expect that for some reason. Most likely because ints aren’t supported natively in the language.
At any rate I threw out most of the code and started again anew, and worked towards an obstruction system that I couldn’t walk through the walls of. And I got there tonight!
Then I started implementing an obstruction system that’d let me slide around on the diagonals. And I got there tonight!
But the hack I used to get the diagonals-sliding lets you get embedded in and/or walk through walls again. So that’s got some bugfixing in it’s future.
The important part is: it feels fun again, and I made visible progress.
I also implemented an autoexec script for maps upon load (mapinit) and shoved a few setObstructionTile calls in there to make the map easier to navigate (specifically, to make it easier to get into and out of the hut).
So that’s neat.
Press ‘O’ to see the obstructions while you play!