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

Mouse Pointer Lock or TimeDelta() bug in Mac browser run games when scenery is moving. #6338

Open
1 task done
VanCastar opened this issue Feb 10, 2024 · 0 comments
Open
1 task done

Comments

@VanCastar
Copy link

Is there an existing issue for this?

Describe the bug

There is a nasty bug in the Mouse Lock extension OR defining the TimeDelta() that is used to check the movement offset that appears only on Mac when playing on a browser in full screen mode.
-On Firefox Mac the mouse movement offset is broken resulting in leaving the cursor behind

  • On Safari Mac the mouse works even worse.
  • On Chrome Mac the movement is way over sensitive.
  • On Mac desktop launchable the game works just fine with no problem.
  • On windows and Linux there seems to not be any problem.

The movement for some reason in those configuration will make the cursor movement to break.

This is the way I use it on a moving layer.
image

You can test it out in Global Neon Blitz game when playing the game.
https://gd.games/raminiemi/galactic-neon-blitz
Tested on Macbook Pro M1

PS: Unfortunately I can't bug test it on my end I'm just relaying the problematic behaviour present in my friends work computer.

Steps to reproduce

https://gd.games/raminiemi/galactic-neon-blitz

GDevelop platform

Desktop

GDevelop version

5.3.189

Platform info

Problem occurs only on Mac browsers.
Tested on using Macbook Pro M1 Safari, Firefox and Chrome
Executables on Mac work just fine.

Additional context

I'm not sure if it's the MousePointerLock extension or TimeDelta() or something else as all works just fine on PC and Linux and I cannot test it on Mac myself.

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

1 participant