loopier / animatron-godot3

Yet another implementation of Animatron, but in Godot
GNU General Public License v3.0
17 stars 1 forks source link

Fix frame order in image sequences #22

Closed loopier closed 2 years ago

loopier commented 2 years ago

Something strange happens with image sequences. When I load them, the frames are not loaded in order. Spritesheets work OK, but image sequences' frames get scrambled somehow.

Try:

(
x.("/new nums numbers");
x.("/stop nums");
Tdef(\a, {
    inf.do{|i|
        i.postln;
        x.("/frame nums" + i.mod(12));
        1.wait;
    };
}).play;
)
loopier commented 2 years ago

Fixed in https://github.com/loopier/animatron/commit/beda864404f6bdd834b2f0b465ec8fed90c170eb