jmdejong / jmdejong/godot_2d_light_bug

Sometimes the ADD light is not added

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
GDScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Sometimes the ADD light is not added to objects that are affected by the MASK light.
This results in these objects being darker than they should be.
The objects affected by the MASK light are the enemies and the pistols.

correct:
![light_version](https://user-images.githubusercontent.com/7968950/78017679-eaaaeb00-734c-11ea-891e-ca64a2498a88.png)

incorrect:
![dark_version](https://user-images.githubusercontent.com/7968950/78017686-f0083580-734c-11ea-94ee-0bd1178b202c.png)

This happens a little less than half the time when running the game. It does not change when the game is running.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the game and reproducing the intermittent interaction between the MASK and ADD lights. Compare the affected enemies and pistols in the correct and incorrect cases shown in the issue images. Done means these objects consistently receive the ADD light and are no longer darker than expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.