This is not working for me (Behavior):
this.GetObjectClass().GetAnimations()[0].AddFrame(frame, width, height);
I get always this message in the console : > ..AddFrame is not a function
Why? this.GetObjectClass().GetAnimations()[0].GetFrames() works, but the function AddFrame is not exist? Ashley
https://www.construct.net/en/make-games/manuals/addon-sdk/reference/object-interfaces/ianimation
Develop games in your browser. Powerful, performant & highly capable.
That's an editor API. Are you trying to use it from the runtime or something?
Yes, i need this at runtime for my current behavior. Can you add this, please? Is it possible? :)
No, the runtime does not include editing features, and it would be a major complication to support it.
Oh ok. No problem. :) thx