Tag Archives: Animate

43 – Bone Tweens

Objective:

  • Produce a HTML5 Canvas animation using Inverse Kinematics (a.k.a. Bone Tweens).

Student-Friendly Objective:

  • I can create a HTML5 animation using Bone Tweens.
Links:

Using Inverse Kinematics (Flash CS4)

Topics Discussed:
  • New Animate CC document
  • Shapes
  • Symbols
  • Registration Point
  • Tweens
  • Bone Tweens
  • IK Chains
  • IK Shapes
  • Keyframes
  • Layers

Assignment:

  1. Produce a new HTML5 Canvas file. Name it “Your Name – Bone Tweens”. Set the FPS to 30 and the Stage size to 800 x 600.
  2. Use the Shape tools to draw a shape. Convert this shape to a Symbol using any of the techniques we learned last week, and place five instances (copies) of this symbol on your Stage in a straight line.
  3. Use the process demonstrated in class (and in the videos) to create an IK Chain. Use the Bone Tool to draw Bones between the Registration Points (Center) of each of the five symbols. Note that as you add each Symbol to the IK Chain, it is moved from its original layer to the “Armature” layer that was automatically created when you linked the first two Symbols with the Bone Tool.
  4. Use the process demonstrated in class and in the tutorial to move and animate the IK Chain. (Note: This works just like a Motion Tween!)
  5. Create a new layer and draw a long thin horizontal rectangle. (Note: Do NOT make this a Symbol!)
  6. Select the Bone Tool. Starting from the left side of the rectangle, draw a bone from the left edge of the rectangle, about a fifth of the way across. Repeat this process until you have five bones linking the left edge of the rectangle to the right edge of the rectangle.
  7. Drag the last bone in the chain to transform the shape. You now have an IK Shape object. Animate a transformation (Curling, Waving, etc.)
  8. Finally, use the PolyStar Tool to draw a large, thin star. Use the Options to give the star at least five points and thin arms.
  9. Select the Bone Tool and starting from the center of the Star, draw four bones radiating from the center to the outer tip of the top arm.
  10. Repeat this process, starting from the center of the star each time, for each of the remaining four arms.
  11. Animate a separate transformation (Curling, Waving, etc.) for each of the five arms. (Make the star dance!)
  12. When you are finished, you should have three different IK animations (IK Chain, IK Shape, IK Star).
  13. Save your work. Upload the completed “Your Name – Bone Tweens.fla” file to today’s Google Classroom post “44 – Bone Tweens” by the end of today.

Assigned: April 18th, 2017
Teacher Pacing Due Date: April 19th, 2017

42 – Buttons and Scripting

Objective:

  • Use JavaScript to control the Timeline or add interactivity to animations.
  • Place JavaScript code in frames on the Timeline.
  • Use the Actions panel to view JavaScript.
  • Add event listeners and stop actions.
Student-Friendly Objective:

  • I can use JavaScript to control the Timeline and add interactivity to animations.

Video Links:

Add Interactivity with Code Snippets in Animate CC

Using HTML5 Canvas in Animate CC: JavaScript Basics 

Topics Discussed:
  • HTML5
  • Code Snippets
  • JavaScript
  • Timeline
  • Layers
  • Event Listener
  • Stop Action
  • Button Symbols

Assignment:

  1. Open the “Pac-Man” animation created last week.
  2. Read the information in both of the above links to learn how to apply Code Snippets to create JavaScript stop actions and to control the position of the playhead during animation playback.
  3. Use the technique demonstrated in class on Friday and in the linked support pages to create a button called “Rewind” that replays your animation from the beginning.
  4. Use the same technique to create a second button called “Chase” that only plays the portion of your Pac-Man animation where Pac-Man chases the Blue Ghost off the stage.
  5. Save your work. Turn in your animation with functioning Rewind and Chase buttons, titled “Your Name – Pac Man Buttons.fla” to today’s Assignment Post “42 – Buttons and Scripting” on our Google Classroom page by the end of today.

Assigned: April 14th, 2017
Due Date: April 17th, 2017