Mooses2k / SecretHistories

First-person stealth/combat roguelite
Other
14 stars 11 forks source link

simple dungeon-weather/fog/dust effects system #37

Open Mooses2k opened 3 years ago

Mooses2k commented 3 years ago

START WITH

OTHER IDEAS

Maybe based on how much the room is used. Prefer cobwebs in unlit rooms and unused rooms, for instance.

and if you make the bounding box for each big enough, like 3x3 tiles, they can move around a bit before getting culled To not go through walls: That depends on the process material we can do stuff with movement and theoretically, we can bounce them, or respawn them, if they go out of bounds the bounding box is used only for actual culling, like frustum culling so if the bounding box isn't on screen, the particles aren't drawn, even if they would be visible

We're going to generate the Area procedurally. Also will use it for #179

Maybe have them attached to origin of floor tiles? in suitable rooms? Might be easiest

Mooses2k commented 2 years ago

basic floor fog to start with

Mooses2k commented 1 year ago

floor fog probably needs fog2.tscn applied per tile in maybe 25% of rooms that don't have candelabras.