-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
[Bug]: Tux immunity after door #3186
Comments
It‘s not a bug, it‘s a feature. Please see discussions in #2844 and related tickets. |
No, it is a bug. I have permanent immunity after entering a door, please see the latest nightly and related literally in your face bug. |
Permanent immunity should indeed not be, Tux should only be invincible during the fade in effect. |
I can reproduce this, and think I understand the mechanism for this: #3051 repurposed the variable |
That is correct. I should have chosen a diffent name for the variable, it is obviously misleading. |
…Tux safe Splitted the flags for making Tux intentionally safe and avoiding the blinking effect while Tux is safe after using a door. Fixes SuperTux#3186
I have split the flags according to their intention and renamed the flag that avoids the blinking effect to make it hopefully less misleading. I did some tests with the door and the scripting function and did not see any unintended behavior, but please give it a try and check for yourself. |
…Tux safe * Use a separate timer for temporary safety instead of reusing m_is_intentionally_safe * Split timers for post damage safety and temporary safety Fixes SuperTux#3186
SuperTux Version
v0.6.3-1566-ge43838b1d
System Information
win 11 64 bit
Expected Behavior
Tux is not immune to every damage type
Actual Behavior
After entering a door, possibly in addition to having Tux be set invincible and then not invincible (#3051 related(?)), tux is invincible to all damage types.
Steps To Reproduce Actual Behavior
go through a door, if thats not enough, possible try make tux invincible and then not invincible, then go through the door.
if that doesnt work, then start by making tux not invincible (he shouldn't be anyway, by default), invincible, then not invincible, then go through a door.
Additional Information
No response
Guidelines For Reporting Issues
The text was updated successfully, but these errors were encountered: