Work is continuing on Majesty. Changes since the last update:
- A complete rewrite of the code now that I'm a bit more familiar with Phaser
- Got the GUI working on a second camera
- Added a class for generating and handling heightmaps more efficiently, with a
variety of methods for transforming them
- Realized I can use easing functions to transform heightmaps, and implemented those
- Added heightmap color mapping and a Gradient class to define these mappings
- Implemented the Sobel filter with central differencing to calculate terrain steepness, used in calculating traversability and site suitability maps
ยงTraversability
These were generated while working on the traversability map. The last two represent its current state.
ยงColor
Examples of the new terrain color mapping, including some bugs.