Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C# Animation Error
#4
(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.
Reply


Messages In This Thread
C# Animation Error - by Midnight Syntax - 03-23-2021, 02:55 PM
RE: C# Animation Error - by megamarc - 03-24-2021, 12:28 AM
RE: C# Animation Error - by Midnight Syntax - 03-24-2021, 03:54 AM
RE: C# Animation Error - by Midnight Syntax - 03-24-2021, 03:55 AM
RE: C# Animation Error - by megamarc - 03-24-2021, 08:18 PM
RE: C# Animation Error - by Midnight Syntax - 03-25-2021, 03:29 AM
RE: C# Animation Error - by megamarc - 03-25-2021, 06:27 AM
RE: C# Animation Error - by Midnight Syntax - 03-25-2021, 07:06 AM
RE: C# Animation Error - by megamarc - 03-25-2021, 08:16 AM
RE: C# Animation Error - by Midnight Syntax - 03-25-2021, 09:07 AM
RE: C# Animation Error - by megamarc - 03-25-2021, 09:35 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)