Schoppy0384 Posted January 31, 2014 Posted January 31, 2014 Hi, I am working on a simple RTS Game. Right now I think about how I could best implement a minimap. And secondly, the Fog of War. Maybe someone has done it before something. I'm grateful for all the tips. Quote
DudeAwesome Posted January 31, 2014 Posted January 31, 2014 Minimap: how you generate your map? if you use a .raw I would use the .raw to generate the minimap so you can calculate playerpositions on the map Fog of War: every unit should have a view/attack radius. dont draw what is not in the viewradius. for the fog itsself you can use a shader or just some kind of light. its up to you how it should look like. Quote It doesn´t work... why? mhmmm It works... why?
gamecreator Posted January 31, 2014 Posted January 31, 2014 Here's some fog code: http://www.leadwerks.com/werkspace/topic/7624-still-no-fog/#entry60931 And you'd use the 2D drawing functions to draw your minimap: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/context/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.