Hello,
Trying out Godot for the first time (3.4.4 stable official). Clean project, only root Node2D with a Sprite child node. Imported a small PNG image and attached it to the Sprite node. Haven't touched anything except image filtering in Import. Haven't touched preferences.
Attached this script to the Sprite:
extends Sprite
var time = 0
func _process(delta):
time += delta
self.position.x += 10 * sin(time * 3)
self.rotation += delta
This moves the sprite from right to left as expected. However, every 5 seconds or so I get a dropped frame or two, and then 10 seconds later I see the sprite suddenly speeding up and "catch up" to where it's supposed to be. The motion continues and the whole thing repeats.
This happens both when play the project with Command+B and when running an exported executable. I'm running macOS Monterey 12.4 on a 2015 iMac (which has no problem with much more complex tasks including 3D games).
Does anyone know why this is happening?
Thanks a lot for your help.