GuillemBarroso / CLing

2D survival game using command line
MIT License
3 stars 1 forks source link

Fog object #76

Closed GuillemBarroso closed 1 year ago

GuillemBarroso commented 1 year ago

Create fog object.

This will be applied to the entire screen but in the player's sight area.

The fog object will be a surface. We will play with the alpha coefficient depending on the player's position and aiming direction.

The fog object will also take into account the luminosity of the place. In a cave, the player's awareness radius will decrease. Also, during the night, etc.