• Register

Only you can reclaim the world of SRC from an army of evil software-bugs: time to top-down-shoot balls of energy at cartoon monsters and watch them explode! "Bugger!" is a top-down shooter in the vein of CyberDogs, with a slightly unconventionally theme... The game is being developed from the ground up in C++, using the open SFML graphics library. As such it can (and will) be cross platform upon release :-)

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Add media Report RSS Alpha 5: shadows iteration montage!
Post comment Comments
Daemoria
Daemoria

Montages make everything better/faster. :D

Do you plan on removing the terrain from the screen if it is occluded by a shadow?

Reply Good karma Bad karma+1 vote
wilbefast Author
wilbefast

The effect so far is purely aesthetic, so the game doesn't actually "know" what's in shadow.
It's not finished yet though: I'm going to add a simple tile-based binary "visibility" matrix underneath all this so I know when to draw objects and when to skip them. I'll probably end up masking the far-away tiles as well ;)

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

How do I implement 2D shadows in under 3 minutes? Easy: with a montage!

Here a quick look at what I've spent Saturday morning doing. I want enemies to be hidden when they're out of sight but this means it's important for the player to know what they can and can't see...