Frame control with the script

What Wick Editor Version are you using?
1.18. Y

Describe the Problem
Hi beautiful people. Wondering if you can help me… creating Animation in wick editor takes up a lot of frames on the main scene, so i tried to do a workaround…

so on the main canvas, the first frame has a stop script.
I created a character with animations, and inside it i had a script telling it to play . My plan was to add a script inside that character whereby when it gets to the end of the last keyframe, it would play gotoand play frame 2 on the main canvas. and so on frame 2 it would play another animation, which would also have a script within it to jump to the next frame on the maon canvas.

Hi @Graphic_Designer, welcome.
You have classified this post as a help post, what kind of help are you requesting?

Scripting help if possible. With a 5 minute animation there is too many frames to maintain.

My plan:
I want to have a stop script on each frame to stop the file from playing automatically

on each frame where will be a character animation with a script within itself that tells the main/root keyframes to goto and play the next frame when the animation has finished playing.

This will save me from having too many keyframes on the main timeline.

In a nutshell: I want animations on each frame to tell the root timeline to go to and stop at next frame only when their animation is done.

I will try to add an example, for some reason when I save my file I can’t open it up again with wick editor.

Is this what you mean?

thingy but again1-17-2021_14-17-11.wick (5.0 KB)

Like, the clip tells the project to go to the next frame once it has finished it’s animation?

(If it’s not what you mean then i’m sorry because english is not my native language so i don’t understand a lot of english words-)

ahhhh yeah thats great! that works nicely and easier to do than my workaround: root.gotoAndStop(2);

thank you Steven

2 Likes

Glad to help!

1 Like