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

pyxel edit gave wrong click in osx #587

Open
Hulk89 opened this issue Dec 22, 2024 · 3 comments
Open

pyxel edit gave wrong click in osx #587

Hulk89 opened this issue Dec 22, 2024 · 3 comments

Comments

@Hulk89
Copy link

Hulk89 commented Dec 22, 2024

I uses pyxel edit by following condition.

  • Apple M3 Max
  • Sequoia 15.1.1
  • sdl2 2.30.10
  • python 3.11.1
  • pyxel 2.2.8

When I click with the mouse, it takes about a second to respond, which is very slow.

And it's also intermittent double-clicking, so I can't utilize the utility properly.

Is there a solution or workaround?

P.s. It's a really good framework that I've been looking for. And I'm looking forward to making a simple game over the holidays.

@Hulk89
Copy link
Author

Hulk89 commented Dec 22, 2024

By the way, It's same issue as #282

@kitao
Copy link
Owner

kitao commented Dec 22, 2024

If you mean that you are trying to use Pyxe Editor, could you check Pyxel examples? Because Pyxel Editor is just a Pyxel application written in Python. So the same issue should occur in examples. I'd like to confirm it first.

Anyway my main development environment is Mac and I can't reproduce the issue for now, we need to clarify what the difference is.

@Hulk89
Copy link
Author

Hulk89 commented Dec 22, 2024

Yes. The same mouse lag persists in example 06 as in the issue above.

I tried cloning the github repository and building it, but the behavior was the same.

When I looked on stackoverflow, I saw that there is a similar lag when using the metal backend in the SDL, but I didn't know what options to give at build time to change from metal to opengl, so I didn't try it.

If you can point me to a way to use the opengl backend, I'll try it and let you know the results.

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