I’m making a mining game and I want to find a way for light sources or the player itself to only see so far in a cave to make it a bit more difficult to find ore.
Similar to this in terraria
I’m making a mining game and I want to find a way for light sources or the player itself to only see so far in a cave to make it a bit more difficult to find ore.
Similar to this in terraria
What about adding black barriers on certain areas. Make the collision off and layer them in front of the player.
could work but if a player mines in that direction wouldn’t they just me face with a bunch of black barriers?
You could set the alpha lower so it’s still dark and you can kind of see through it.
true, but also if they still mine towards it they should be able to light up the area so its not dark anymore
Maybe deactivate the barrier when receiving on a channel or wire pulse.
Maybe a button that says place a torch?
true, I could also use a zone to where the player moves closer its not as dark