itch.io is community of indie game creators and players

Devlogs

Fire Flickers, Destructible Objects and Mood Lighting

The Catacombs of Venice
A browser game made in HTML5

Whilst adding some destructible objects (i.e. barrels) I thought it'd be fun to play around with Unity's Light 2D and Shadow Caster 2Ds to get a fire flicker effect (please excuse the WIP particle system used for the fire).

The flicker effect is just a Script that randomly moves the position of the light 2D on the Fire Game Object.

I keep the barrel's shadows from casting onto other barrels by using a CompositeShadowCaster2D. Just create an Empty GameObject - pop the composite caster on it, then add your barrels as Child Game Objects.

...

...

And of course, no barrel is safe from inevitable destruction at the hands of a greedy adventurer!

Leave a comment