DEV Community

Cover image for Fish or Die: Sunburn mechanic how to
w4ffl35
w4ffl35

Posted on

Fish or Die: Sunburn mechanic how to

I just released a video describing the sunburn mechanics in Fish or Die. It shows how I'm using slots and signals to send messages between nodes, allowing me to keep my code decoupled and easy to maintain.

Ultimately a UV exposure value is passed to a sprite shader which changes the color of the person's skin giving them a sunburn.

Top comments (0)