- More textures, more transition textures.
- Old ImageLoader removed.
- Number of tiles displayed reduced for more realistic benchmarking.
Also makes running tests a bit faster.
- Map drawing is now possible with custom object-specific drawing
code. A few examples have been added, including one that draws
borders.
Please note that those borders are still not perfect, however, as
some inner angles are being rendered with plain/full-tile textures.
The drawing code helpers will probably be moved to a location that
makes them easy to reuse.
- Some of the old map drawing code is still present (in particular in
src/main.cr). That code is deprecated and will be removed soon.
- WIP Naka::Map::ObjectReference. May or may not remain as it
currently is.
- Some mapgen updates to match the new drawing methods.
- Possibly other minor tweaks or grooming.
- Naka has been split to a separate file for better readability.
- Naka::Noise2D added. Basically Perlin noise, but it adds a few APIs
to sum stacks of octaves and such. Generation from seed is still
missing even though it’s critical.
- An example map is generated using several Naka::Noise2D.
- Some assets added, and used to display an example map. Objects that
are higher than one tile are displayed, but widths can’t overflow
at the moment.
- Maps are saved to disk. This is still minimal, however, and loading
them from save files is not implemented at the moment.
- Some Naka::Event were added at some point, although they’re still
very much works in progress, and probably incomplete.
- Maps are displayed in a very crude way. Transitions between terrain
types are unsupported, for example.