Skip to content

[SmoothCamera] Camera shaking at 120fps #1650

@timotheeficat

Description

@timotheeficat

Is there an existing issue for this?

Enter the name of the extension

SmoothCamera

Describe the bug of the extension

The SmoothCamera extensions seems to have issues when the game is running at 120fps.
The camera is shaking a bit, causing the tracked object to be blurry.
The issue totally disappear when running at 60 fps.

Image

The gif can't run fast enough but we can still see the spaceship shaking at each frame.

This is my extension settings :

Image

And this is the only line I use to move my camera :

Image

To note :

  • My screen is 144Hz, the game says it's running at 120fps.
  • I have a second screen which is 60Hz. The issue disappear when I move the game window onto it but the game is still saying that it's running at 120fps.

Steps to reproduce

  1. Setup a SmoothCamera behaviour on an object
  2. Make the object translate fast enough
  3. Run the game on a 120+ fps screen without maximum fps limitation

GDevelop platform

Desktop

GDevelop version

5.5.228

Platform info

Details

OS (e.g. Windows, Linux, macOS, Android, iOS)

Windows

OS Version (e.g. Windows 10, macOS 10.15)

Windows 11, same issue on Windows 10

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠ Issue with an extensionAn issue with an extension that is already on the extension store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions