Actor animation stops when growing to -100% horizontal (possible bug?)

daverave1212

  • *
  • Posts: 44
Hello!

I am using the "grow" block to flip an actor horizontally.


There are 2 issues I noticed:
- When the growing is finished, the animation stops
- The growing does not reach -100%

Here is a gif that shows exactly what happens:


Other mentions:
- I have no code/blocks in the actor
- I tried with other actors and the issue persists
- I tried changing the time from 1 second to other values (including 0) and the issue persists
- I tried changing the scaling from -100% to other values. It is fine for all positive values. For negative values, it seems to stop working at about -95%. I tried scaling it to -95% and it works fine. However, when I tried to scale it to -99%, the issue appeared.
  - It also seems to not work for any scaling below -100% (e.g. -200%). The scaling just stops at about -95%. Even if I scale it to -200%, it will scale the actor to -95% and stop there.
  - The same issue seems to happen with vertical scaling (e.g. scaling to w: 100%, h: -100%).

I don't know what else to try for this.
I have tried all I knew.
If anyone knows how I can fix this, please let me know.

Thank you!

Luyren

  • *
  • Posts: 2740
I cannot reproduce this issue. If that was indeed a bug, it has been fixed already in the private builds, and will be included in the next public release.

That doesn't exclude the possibility of that being something in your code. Consider testing in a blank game, with only one actor, one scene and nothing else. Also consider targeting "self" instead of targeting a separate actor.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

daverave1212

  • *
  • Posts: 44
Hi, thanks for the response.

I tried what you said. I made a blank game, blank scene, new actor and I run into the same issue:


I also tried putting it on the actor and using self, but same issue happens.

I will try to reinstall stencyl; I am using 4.0.4 at the moment.


daverave1212

  • *
  • Posts: 44
Update: I tried reinstalling Stencyl to no avail. The issue persists.

I am using Stencyl 4.0.4, on Windows 10 x64.

Can you please check you are using the same Stencyl version and make sure it's a problem on my end?

Thank you!

Luyren

  • *
  • Posts: 2740
I'm using a private build, as I implied in my post, so that's on me. I'm pretty sure people have been using the grow by -100% to flip actors for a long time now though, so I can't tell what the issue is. All I can say is regarding my experience, that in the private builds, and in the next public build, I cannot reproduce this issue as you described.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

daverave1212

  • *
  • Posts: 44
I see. Thanks for the info!

Any idea when the next build will be released?

Luyren

  • *
  • Posts: 2740
I don't know. That sort of information may come up sooner in the Stencyl Discord server. I can't say for sure when the next public release will be though.

And on a related note, I did a quick test with Stencyl 4.0.4 and I was able to reproduce it, so it is indeed an issue that has already been fixed in the private builds.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

daverave1212

  • *
  • Posts: 44
I see. Thank you Luyren and happy new year!