devember 9th — smooth autocentering camera
Camera smoothly centers on player position.
Trying to create autofiltering for bordertiles between two kinds, e.g. banks between water and grass tiles, but messed up the logic somewhere, causing a huge mess. Also for way more than one hour, causing past midnight.
Next related
devember 10th — pretty randomness is hard
Making randomness look pretty is hard, so I’ll put that on the shelf for now. Started looking at GameKit’s Graph pathfinding classes instead, which is probably more essential than getting sidetracked by making things look pretty. Defining the GridGraph at the IsoTileMap level will probably not work though, as different Actors will have their own unique capabilities to traverse the map. The Actor should probably generate their own GridGraph for their observable vicinity when they need it, and filter the graph with their traversal capabilities.
Previous related
devember 8th — randomized maps
Refactored lots of tile related stuff, so the tile templates can hold more information than just a texture image name, e.g. the stepHeight for a tile, so we can have tiles that are not perfectly flat, but still be walkable and have actors positioned correctly.
devember 7th — actors walk on top of map tiles
Refactored movement from Player* to new superclass ActorSpriteNode.
devember 6th
Lighting broke yesterday because initialization code was moved into the wrong place. Sigh. Now we have working scene lighting again.