03-24-2021, 03:55 AM
(03-24-2021, 03:54 AM)Midnight Syntax Wrote:(03-24-2021, 12:28 AM)megamarc Wrote: Same happens with Animation, you don't create them, but use ones available in engine.Animations[] array.
Same error it seems
I'm assuming this is what you mean?
Code:Animation anim = engine.Animations[0];
anim.SetSpriteAnimation(0, idle, 0);
Also the error is specifically happening on setSpriteAnimation, I realized I forgot to mention that.