I recently began using HeapsIO and I’ve begun to notice an issue with stuttering. If I create a simple app where a h2d sprite or text simply moves across the screen, there is a noticible stutter that occurs. It’s pretty random, sometimes things will be smooth, other times it will be super choppy, though mostly it falls somewhere in between.
I’m using Hash Link and have tried both DirectX and SDL implementations, but both result in the same issue. Any suggestions?
For context, here’s an example of that would replicate what occurs (at least on my end):
class Main extends hxd.App {
public var txt: h2d.Text = null;
override function init() {
txt = new h2d.Text(hxd.res.DefaultFont.get(), s2d);
txt.y = 40;
txt.text = "Hello World !";
}
override function update(dt: Float) {
txt.x += 3;
}
}