lampe-games / godot-open-rts

Open Source RTS game made in Godot 4
https://lampe-games.itch.io/open-rts
MIT License
494 stars 70 forks source link

Terrain objects are not shown in minimap #87

Open elliotrpage opened 7 months ago

elliotrpage commented 7 months ago

The minimap does not show terrain items, making it difficult to know at a glance the "lay of the land".

Terrain will differ from Units in that once revealed they should remain displayed on the minimap even when shrouded by the Fog of War. Alternately, they could be shown in the minimap by default and not need to be revealed (You assume that players already know the battlefield they are fighting on)

Here is an example from Age of Empires 2 to illustrate what I mean:

AoE2 minimap screenshot

Edit: I am tempted to have a stab at this myself, but wanted to submit an issue first as mentioned in the README!

Scony commented 7 months ago

That feature is definitely required. I was actually planning to implement it at some point, but for that, some uniform input like e.g. texture would be required. At some point, the map will be generated from heightmap and some map areas will be painted in certain ways - with that, we will have 2 textures - one for heightmap and the other for colors - with that, the above feature will be easy to implement.