Added a minimap system to the engine, this is a fully-fledged and battle-tested implementation. The usage is simple - you add a MinimapMarker component to your entity with desired marker size and sprite image and it just works. Following features are provided:
- serialization (json as well as binary)
- camera visualization
- camera interaction (drag/click to focus on a given part of the world)
- supports FogOfWar
- two view implementation:
-
GLimplementation usingTHREE.Points -
HTMLimplementation
-
here’s an example from my game