Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement flashlight #499

Open
snipercup opened this issue Nov 29, 2024 · 0 comments
Open

Implement flashlight #499

snipercup opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@snipercup
Copy link
Collaborator

Requires #498
Idk if this is a good first issue, but once we have nighttime, we will also need flashlight functionality. For this issue, I will keep it simple:

  • Add another light to level_generation.tscn below the FrontLight. This light will be off by default and when it shines, the light will be more narrow then FrontLight.
  • When the player equips the flashlight item in the equippedleft or equippedright slot, the light turns on.

Optionally (bonus)

  • Have functionality to turn the flashlight on and off. We can toggle it using the left mouse button when it's equipped. We will need some kind of label or tooltip to show it's state.
@snipercup snipercup added the enhancement New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant