Skip to content

All animations Appear Visually Jittery on iOS #2542

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

Open
kamal-ik opened this issue May 13, 2025 · 3 comments
Open

All animations Appear Visually Jittery on iOS #2542

kamal-ik opened this issue May 13, 2025 · 3 comments

Comments

@kamal-ik
Copy link

  • axmol version: version 2.4.0
  • devices test on: IOS
  • developing environments
    • NDK version: r23c
    • Xcode version: Version 16.3
      • Visual Studio:
        - VS version: 2022 (17.9+)
        - MSVC version: 19.39+
        - Windows SDK version: 10.0.22621.0+
    • cmake version: version 3.30.5
      Steps to Reproduce:

I’ve developed a tile-based game using Axmol Engine. While testing on Android, all sprite actions (such as MoveTo, ScaleTo, and Sequence) appear visually smooth and fluid. However, on iOS (tested on iPhone 15 Pro Max), the same actions appear jittery or slightly choppy, even when using the exact same logic and animation timing.

I’ve attached a minimal project to reproduce the issue directly on iOS.

Could you please investigate:

Why actions on iOS (even basic ones like MoveTo or ScaleTo) are visually less smooth than on Android

Any guidance or workaround to improve visual fluidity on iOS

Thank you for your great work on Axmol!
Looking forward to your help.

TileMatch.zip

Step to reproduce :
Find the attached sample proj
build and run in ios
try to select any tile and feel the transition
Then build the same project on Android and observe the difference

Thanks
Kamal

@halx99
Copy link
Collaborator

halx99 commented May 17, 2025

I tried on ios and android, I can't see differrent behavior explicitly.

@kamal-ik
Copy link
Author

Thanks for your effort ,I will try to record the video.

Is there any way to achieve 120 FPS on iOS?
I’ve already tried the following code on an iPhone 15 Pro Max, but it didn’t work as expected
Director::getInstance()->setAnimationInterval(1.0f / 120.0f);

@halx99
Copy link
Collaborator

halx99 commented May 19, 2025

I don't have iphone device which support 120fps, maybe somebody can help who have 120fps device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants