You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Projectiles: add clue to indicate that they are about to disappear #2442
changed the title [-]Projectiles: add clue to indicate that they are about to dissapear[/-][+]Projectiles: add clue to indicate that they are about to disappear[/+]on Jul 2, 2026
I propose adding an AnimationPlayerNode to the scene of the projectile. In this node there will be an animation "dissapear" modifying the property track "modulate" in order to simulate a blinking animation for the projectile. This animation will be looped because the dissapearing of the projectile is controlled by its script.
In adittion I propose modifying the projectile.gd script, as seen in the images, adding 4 new attributes, the animation player, time_passed, time_to_dissapear and is_dissapearing. Also there are going to be added some lines of code in the following functions: _ready(), _process() and _on_body_entered().
The behavior of the code is explained in the following images.
Activity
[-]Projectiles: add clue to indicate that they are about to dissapear[/-][+]Projectiles: add clue to indicate that they are about to disappear[/+]Salonso928 commentedon Aug 18, 2026
I plan to work on this
Salonso928 commentedon Aug 27, 2026
Planning sheet for this issue: https://docs.google.com/document/d/1w38R68yiIp-KqdV1nD71Aqwp-a25HfqR2ZnA47DeEbI/edit?usp=sharing
I propose adding an AnimationPlayerNode to the scene of the projectile. In this node there will be an animation "dissapear" modifying the property track "modulate" in order to simulate a blinking animation for the projectile. This animation will be looped because the dissapearing of the projectile is controlled by its script.
In adittion I propose modifying the projectile.gd script, as seen in the images, adding 4 new attributes, the animation player, time_passed, time_to_dissapear and is_dissapearing. Also there are going to be added some lines of code in the following functions: _ready(), _process() and _on_body_entered().
The behavior of the code is explained in the following images.
manuq commentedon Aug 27, 2026
@Salonso928 excellent, please send a pull request and we can continue from there. Is hard to discuss code with images.
Salonso928 commentedon Aug 28, 2026
Hi @manuq I created the pull request is here #2801
manuq commentedon Aug 28, 2026
Thanks! The best way to link a pull request with an issue is by adding "Fixes #2442" as last line in the PR description. Please read https://github.com/endlessm/threadbare/wiki/Contributing#pull-request-descriptions
Projectile: Add a visual clue when dissapear (endlessm#2948)
manuq commentedon Sep 22, 2026
@Salonso928 thanks so much! This is merged now. You did all the work in #2801, I only amended it in #2948 in order to merge it.
Salonso928 commentedon Sep 22, 2026
Thanks for correcting some parts of the code! It was a pleasure to work for this issue.