How can I make the best fog of war?
Do anybody here know how to create a fog of war, like in Warcraft II and Startcraft? It must be fast... Very fast i use VB you see..
And by the way I have been learning the basics in C++ but i can''t even paint a single picture how do I do, do you know any tuts?
Please help me!
By the way, the fog of war is going to bee in the new Heroquest i am going to make. It is almost done...
As for fog of war, the basic idea is that, in addition to your map, you''ll want to keep a secondary array to record what tiles are "fogged" and what tiles are not. When it comes time to render the screen, don''t render things that are located in "fogged" tiles. Obviously, that''s an overview, and no matter what you do, you''re going to have to add some extra handling in your rendering loop, but it should give you the general idea.
As for DirectX tutorials, try a search on this site- there are some good ones. Additionally, I learned from Windows Game Programming for Dummies by Andre LaMothe; it''s a fairly good place to start if you''re stumped. Be forewarned that DirectX is fairly large and complicated, and you will have more than a few headaches before you get it up and running- at least, I know I did.![](smile.gif)
Good luck!![](smile.gif)
- HC
-- EMail: cloweh@rpi.edu
-- AIM: SeigfriedH
As for DirectX tutorials, try a search on this site- there are some good ones. Additionally, I learned from Windows Game Programming for Dummies by Andre LaMothe; it''s a fairly good place to start if you''re stumped. Be forewarned that DirectX is fairly large and complicated, and you will have more than a few headaches before you get it up and running- at least, I know I did.
![](smile.gif)
Good luck!
![](smile.gif)
- HC
-- EMail: cloweh@rpi.edu
-- AIM: SeigfriedH
-- EMail: hlclower@comcast.net-- AIM: SeigfriedH
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement