Need help with creating an animation clip in script

i am using cocos creator 2.3.4 with javascript and i am trying to create a brand new clip mid script i have

found an article which includes some information about but i didnt understand it. i know how to edit the

clip after its created but i am having trouble figuring out how to create it i want to create a clip with 2

frames of the property x anybody have any experience with this?

what i found( Dynamic Create Animation Clip):Animation Scripting · Cocos Creator

I can ask engineering to have a look at this topic.

If you want to create a clip with 2 frames of the property x you need to customize engine. Here is my customize code :


and use code:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.