Scene tween on a layer with a time scale of 0 does not run

There is an issue when changing the time scale of a layer to 0 and starting a scene tween (e.g. zoom or camera position) on that layer. Under these conditions, the tween is not executed if the relatively newer tween system (measured in seconds) is used.
image

However, if the same action is used with the previous system (measured in milliseconds), the tween is executed.
image

2 Likes

Damn i seen A LOT ppl on discord complaining that tweens run while scene time scale is 0

So even for you it is a bug
For other it would be fix

I clarify, just in case, that I am talking about the time scale of a layer, not the time scale of the scene. Tweens do not work when the scene timescale is 0 (on neither system). I consider it a bug because the previous tween system allowed it. Maybe it’s not a bug and it was modified with that intention, but I don’t know.

This sounds really similar to the issue i was just describing with ZeroX4 earlier on Discord too. When i pause the game, i have a small image added to the screen that says “pause.” And i have the time scale set to zero, and then back to 1 when the scene is unpaused. But if you do this more than a few times, the entire base layer goes blank.

I don’t see a connection because I’m just talking about how tween behavior works (or doesn’t work) on a layer with a time scale of zero.

Sorry sorry its my dyslexia
It was about timescale for layer
Since i always saw it in regards to making pause screen
Well i also experience same issue with making pause screen
So for me this is also a fix not a bug

Connection is that times scale set to 0 was causing it in his case
So he is was most likely tweening something to a point it went totally black

So in game it looks like base layer went away while i believe he was tweening his black layer or any layer above it to black or to opacity 0

But whatever

So, now we know the reason why sometimes it works and sometimes it doesn’t haha. I think the temporary solution is to use the old system for those actions. I suppose it could also be replaced by associating the value of what you want to modify to a scene variable and tween that variable, but it is more complex to do so.

I think he means that the layer is no longer visible. From what I was seeing in his bug report, he doesn’t show any tween behavior. He uses the “Hide” and “Show” actions.

I am always open to admitting of being wrong

I we all assume something i assume he used tweens or layer opacity
Where i can be 100% wrong

I do not have a black layer. I am not tweening a black layer. This is not the problem. Thank you.