News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

fog of war and limited visibility

Started by daydreamer, March 17, 2019, 01:44:22 AM

Previous topic - Next topic

daydreamer

"fog of war" as in old starcraft/warcraft and limited visibility to see enemies in a circle around your Player character
wouldnt it be easiest to render entirely in a huge backbuffer+offscreen surfaces and blit only the visible part of terrain to screen
1:sort out enemies outside visibility circle
2:limited visibility of enemies is to use ARGB,alpha channel from offscreen surfaces to control partial visibility

its good for a game to be more fun to explore new areas and make it more challenging to not knowing whats behind the corner, dead ends and/or enemy ambushes,also could be fun to find terrain that is good for an ambush before enemy
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding