Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.

Slides:



Advertisements
Similar presentations
1What is the Stage. 2How do you open a panel in Flash
Advertisements

Fireworks MX. 2 Lesson 1a—Create Slices & Hotspots n Fireworks allows you to add animation (behaviors) already written in ___________. n However, users.
CIS 205—Web Design & Development Flash Chapter 3 Appendix B on Creating Animations.
Dreamweaver CS4 Concepts and Techniques Chapter 8 Media Objects.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics  Hello World?  Creating a Unity Project –The Unity Project Folder  MonoDevelop: Unity's Code Editor.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
Create a Narrated Story with PowerPoint. Basics Enter Text. (Click in the text box and start typing. If a text box is not visible, go to Insert > Text.
Roentgen photo effect. This detailed, thoroughly explained lesson will show you how to create very attractive roentgen photo effect. You can use this.
Princess & Dragon Part 4: Breathing Fire—Adding Effects to Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
Introduction to Scratch!
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Game Maker Day 2 Making a Maze Game.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
CT1514.  What is Motion Guide Layer?  Controls the movement of objects in a Motion tween animation  How to create a Motion Guide Layer?  Click on.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
Move the mouse to the IE icon on the Quick Launch Bar and click to cut a small picture. This small picture is for locating the position of IE Quick Launch.
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Session Objectives • Login to PeopleSoft Test Framework(PTF)
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
EYEGLASSES SHINE EFFECT. IN THIS LESSON, YOU WILL SEE HOW TO APPLY SHINE EFFECT ON EYEGLASSES ON THE PICTURE USING THE COLOR MIXER PANEL AND MASK.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
Learning Unity. Getting Unity
Motion Tweening – Lesson 81 Motion Tweening Lesson 8.
Unit 3 Music and Sound Evangel College S.2 ICT.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
Hyperstudio: A Beginner’s Tutorial By Judy Swaim.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
Mrs. Perisino Hickory Hills Elementary. Desktop Office Folder PowerPoint 2010.
Click Here Website Using Screencast-o-matic.com. Go to the website that you have the video playing on. The dotted box will still show up, you can resize.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Lesson Seven: Using Flags. What Are Flags? Flags are Variables or Switches Used to Help With Logic Control of your character. Normally, Flags are used.
Dreamweaver MX. 2 Timeline Overview (p. 480) n Animations can be achieved with DHTML (__________ HTML) using JavaScript code and _____ or later browsers.
Introducing Scratch Learning resources for the implementation of the scenario
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
To play, start slide show and click on circle Lesson 3 Lesson 3 Lesson 3 Lesson 4 Lesson Lesson 4.
Review for Final June 13, 2016.
Tutorial 3 Creating Animations.
EEC-693/793 Applied Computer Vision with Depth Cameras
Scratch for Interactivity
Unity 2D: Step by Step, Part 4
EEC-693/793 Applied Computer Vision with Depth Cameras
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
EEC-693/793 Applied Computer Vision with Depth Cameras
Unity 2D: Step by Step, Part 2
EEC-693/793 Applied Computer Vision with Depth Cameras
Creating a Simple Game in Scratch
Construct 2 Game Development: Flapping Bird
Presentation transcript:

Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com

Select “Run” Sprite

(Sprite Editor pops up!)

1. Click Slice dropdown 2. Set Type to “Grid” 3. Set Pixel Size X = 156 Y = Click Slice button

Click “Apply” then, close popup

Separate sprites for each frame

Click on Animation tab

Right-click Assets, click Create  FolderName it “Animations”

Select “Cat”

In Animation tab, Click dropdown… Create New Clip (twice) run fly

Save “run.anim“Save “fly.anim“

Verify: Cat animation fly clip run clip

Select “Cat” Verify “Animator”

Click “run” animation in dropdown

Expand “Run” animation in “Sprites” folder

Click first frame, press Shift on your keyboard, click last frame

Drag frames into “run” animation

Click “fly” animation in dropdown

Expand “Fly” animation in “Sprites” folder (notice that there’s only 1 frame)

Click Fly frame

Drag frame into “fly” animation

Click “red dot” recording icon to stop recording animations (or just Save)

The cat runs like crazy!!! Run

Update “Sample” to 8

Uncheck Apply Root Motion Change Update Mode to “Animate Physics”

The cat runs slower now, but is still running in the air! Run

Click on Animator tab

Right-click “run” animation, then click “Make Transition”

Click “fly” animation to finish creating the transition

Now, right-click “fly” animation, then click “Make Transition”

Click “run” animation to finish creating the transition

Click + next to Parameters (lower left of Animator tab) Choose “Bool” (which is of type Boolean) Name it “grounded”

Select run  fly animation Select “grounded” under Conditions Set to “false”

Select fly  run animation Select “grounded” under Conditions Set to “true”

Optional: Check/uncheck “grounded”, then play the game to test the animations Run

Verify new Game Object

Drag GameObject into “Cat”, verify that it is a child of “Cat”, rename to “GroundCheck”

Set Transform Position for “groundCheck” X = 0 Y = -0.7 Z = 0

Click icon symbol to select a color, e.g. green

Verify “groundCheck” game object

Expand “mount1” prefab, select “Floor”

In Inspector panel, click Layer dropdown to Add Layer…

Enter “Ground” for User Layer 8

Update Layer to “Ground”

Add 4 instance variables before Start() method

Add 1 line of code inside Start() method

Add new method UpdateGroundedStatus … just before class ends at the bottom

Add 1 line of code … just before FixedUpdate() ends

Select cat in Hierarchy Verify 2 new public items under Cat Controller script

With Cat selected… Drag “groundCheck” into Ground Check Transform

With Cat selected… set Ground Check Layer Mask to “Ground”

Add 1 line of code just before Start() method

Add new method AdjustJetpack() … just before class ends at the bottom

Add 1 line of code … just before FixedUpdate() ends

With Cat selected… drag “jetpackFlames” into Jetpack

Run The cat should run only while on the ground The jetpack particles should only be visible while in the air