Magomet Kochkarov

Magomet Kochkarov 

BADCOM - a place where bad guys create good games

1subscriber

23posts

goals1
$909.33 of $1 419 raised
На лечение

Silent hill like fog system

Hey folks!
Recently I've been working on a sprite based fog system. It's quite fast and I'm very happy with how I got things working!
I generate fixed amount of fog sprites at the random position within the seedbox, which can be moved with any given position (camera view, or any entity as shown on the video below). When a sprite goes out of the seedbox, I cycle it's position back on the opposite side of the seedbox and since sprites are faded out on distance, this is nearly seamless to the player. This also helps to optimise things a lot, since I don't constantly create/remove fog sprites.
Best regards!
Subscription levels1

Basic subscription

$0.15 per month
Buy me a coffee
Go up