Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deep Learning on Frames is found in Motive Academy. Click here to see the course this lesson is in. |
Quick Links
Table of Contents | ||||
---|---|---|---|---|
|
Video Overview
Check out this video for an Overview of Frames:
...
View this video in full screen on Vimeo, at this link.
...
Definition
Frames are the building blocks of Scripts.
Use
Imagine an authored Script as a presentation, and each Frame is a Slide. Frames are where you control the specific actions that happen in a Scenario. It could be a message appearing, media playing, item interactions, and assets becoming available through spawning.
Location
One or more Frames hold the Resources, Events, Conditions, and Variables that are all parts of a script:
...
Frames hold the script Script content;
Every script Script has at least one frameFrame, though you can have as many as you’d like;
To keep organized, utilize clearly marked frames Frames and this will help with troubleshooting; and
Script content is identified in Frames via icons.
When you first open a script Script you’ll find the frames Frames on the left hand side of the screen. The frame Frame that is highlighted in red is the active frame Frame that is currently being edited in the middle of the screen.:
...
Frame Definitions
Main Frame
...
This is the frame Frame created by Storyflow that is needed for the structure of a scriptScript. You cannot add Resources to this frameFrame. In this example it is the frame Frame highlighted in red. Under the Resource area, you’ll see the message regarding the inability to add Resources to this frameFrame:
Main Frame
...
A
Top Level Frame
...
A Frame that is created by clicking on the plus icon to the right of the Main Frame. All top-level frames Frames will run simultaneously unless a condition Condition is added. In this image, all the frames under the Main Frame are top level framesFrames. We know this as they are all lined up on the left and not indented. They were all created by clicking on the plus icon to the right of the Main Frame:
...
This is the frame created by Storyflow that is needed for the structure of a script. You cannot add Resources to this f
New Frame
...
This is the first frame Frame underneath the Main Frame when a script Script is created. By default, it’s called “New Frame” but you can rename it and add resources Resources to it. Typically this first frame Frame is used to hold all of the scene objects for a script Script and is named as such:
...
Parent Frame
...
A parent frame Frame has another frameFrame, nested or indented underneath it. This nested frame Frame underneath is referred to as a child frameFrame. When you click on a Parent parent Frame it will be in red and all the dependent Child child Frames to that Parent parent will have a red stripe. In this example, the Parent parent Frame is the “Task Intro Frame” and the Child child Frame is the “Lid on Can Frame”. If you also notice, the next frame Frame “Put cans and brush away” is a child frame Frame to the “Lid on Can frame” as we can see its nested, or indented underneath:
...
Anything authored into the child frame does not occur until the parent frame has completed its actions and any Conditions are met.
...
A Child Frame, or Nested Frame
The main function of child frames is to control the order in which frames are processed. The child frame runs simultaneously to the parent frame but only after the condition on the parent frame is met. This will always be true unless there is a condition on the child frame preventing it from running before the parent frame has ended. Also called a “Nested Frame” or “Sub Frame”. A Child Frame is indented and located underneath a “parent” frame“Parent” Frame. When you click on a Child Frame it will be in red and the Parent Frame will have a red stripe:.
...
Helpful Tips
Frame Icons
The icons in frames Frames can be very helpful. When you mouse over them, they display what has been added to the frameFrame. In this example when we hover over the icon in the red frame, a label appears letting us know that it is a Screen Media Resource:
...
Another valuable aspect to these icons is that you can drag and drop them into other framesFrames. In this example, I want to create a child frame Frame that is dependent on the Screen Media running and closing. So I can drag and drop the Screen Media icon into the Conditions area of the new child frameFrame:
...
Frame Dragging
Something that may come in handy is the ability to move frames Frames around by grabbing the the three horizontal lines to the left of a frame Frame you can move the frame Frame to a different order in the scriptScript, or make it a parent or child of another frameFrame.
...
Frame Copy
You can also make a copy of a frame Frame by using the icon on the right. It will make an exact copy of everything that is in that frameFrame. If that frame Frame has nested framesFrames, it will also copy them:
...
...