PDA

View Full Version : XNA Fog of War example



Fengol
15-04-2009, 08:23 AM
I found this easy example (http://catalinzima.spaces.live.com/blog/cns!3D9ECAE1F2DC56EF!238.entry)of how to implement Fog of War using XNA. It comes from a list of samples shared in the MS XNA Team blog post (http://blogs.msdn.com/xna/archive/2009/04/14/creators-club-communiqu-24.aspx)

Aequitas
15-04-2009, 10:51 AM
What Fengol failed to mention, is that two of the tuts are linking to edg3's blog!


One of the bigger hurdles game developers hit as they are learning their craft is handling player input. Luckily, edg3 offers a tutorial on Player Handling (http://realdev.co.za/blog/?p=85) on his blog! While you’re there also check out his series on Simple Minimaps (http://realdev.co.za/blog/?p=72) on his blog. Soon your players will know exactly where they need to go and how. He also suggests taking a look at MVP megastar Catalin Zima’s blog post about creating Fog of War (http://catalinzima.spaces.live.com/blog/cns!3D9ECAE1F2DC56EF!238.entry) in your game.

dislekcia
15-04-2009, 11:34 AM
Woot! Gratz Edg3!

Fengol
15-04-2009, 12:12 PM
i iz fail for missing that *goes to lie under a unicorn poo*

Ramperkash
16-04-2009, 01:08 AM
Looks cool, but why is this only applicable to XNA? It seems like a pretty general way to implement it. (I don't know anything about XNA... just so you know)

Sorry off-topic but: I checked the comments... I havn't seen so much "buy wow gold" spam in one place, and I actually play the game.

dislekcia
16-04-2009, 03:09 AM
Looks cool, but why is this only applicable to XNA? It seems like a pretty general way to implement it. (I don't know anything about XNA... just so you know)


The tutorials are all written with for XNA libraries, so they tend to assume things like .NET structures being available, XNA's cleaned up effects system, etc.

Generally the logic behind a tutorial is applicable to any system or language, in fact you can always tell if a tutorial is good by how language agnostic it appears to be ;)

edg3
16-04-2009, 02:40 PM
Thanks guys, also I didnt know due to internetlessness for the past few days. :P

Catalin's blog is quite epic and if you like his fog of war sample, take a look at his newest sample: Mass Effect Dialogue Sample (http://www.catalinzima.com/?p=517)

Fengol
16-04-2009, 03:22 PM
hehehe, Ziggyware mentioned it a couple of days ago; very awesome