kuroneko1996 / cyberlab

jrpg-like game in pygame
MIT License
4 stars 3 forks source link

Limit view range to only directly visible items (FOV) #12

Closed slemonide closed 7 years ago

slemonide commented 7 years ago

Make it so that the player can only see items that are directly visible to her.

kuroneko1996 commented 7 years ago

It requires FOV function, FOV should be recalculated only on the player movement. Python is slow.

slemonide commented 7 years ago

Here is an example of how it might look like:

shadow_test
kuroneko1996 commented 7 years ago

TODO: Debug FOV