Skip to content

Fix wall visibility #6

Description

@SnowyCoder

Now a wall is visible with no regards to its light conditions (you may think of it as being always illuminated).
That's because the current PlayerVisibleComponent is thought for points, not lines, and if it is applied to walls then they will appear visible even if the light is at the other side of the player viewing it. This does not seem to be an issue for now, but a perfect solution would be to count player/light count for each side and also the vicinity of a player (if a player touches a wall it does not need a light to know it exists).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyEasy code editingenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions