Skip to content
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

Pythonista - graphic performance #739

Open
Einehordebedrohenie opened this issue Jun 2, 2024 · 1 comment
Open

Pythonista - graphic performance #739

Einehordebedrohenie opened this issue Jun 2, 2024 · 1 comment

Comments

@Einehordebedrohenie
Copy link

Good evening! I wrote a little game in Pythonista. It is just like a chess game. The users are moving figures over a chess board with a touch_moved method from the ui.view library. The figures are little png-files with 384x384 pixels. It works, but the framerate looks like 15fps or so when I drag a piece over the screen. Any ideas how I could improve that?

Thank you!

@mikaelho
Copy link

mikaelho commented Jun 3, 2024

Unlikely to be due to Python or UIKit performance, and more likely due to something like poor UI thread handling and/or touch event throttling.

But impossible to say anything, really, without seeing your code.

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

No branches or pull requests

2 participants