We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byGeoffrey Freeman
Modified about 1 year ago
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”
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
Introduction to Macromedia Director 8.5 – Lingo. Scripting basics Behaviors – Scripts attached to sprites or frames in the Score, referred to as a sprite.
Create a Simple Game in Scratch Barb Ericson Georgia Tech June 2009.
Create a Simple Game in Scratch Mike Scott University of Texas at Austin Many Thanks to Barb Ericson of Georgia Tech.
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
BTEC 149. Windows Desktop Click on the Start Button.
Window Movie Maker Presented by Mr. Bran What is Windows Movie Maker? What is Windows Movie Maker? Windows Movie Maker is a fun and easy to use video.
Repetition everywhere – comparing while in a method and as an event Susan Rodger Duke University July 2010 modified July 2011.
Where to get Blender for Free! Download from Blender.org and run the installer.
Microsoft® Small Basic Responding to Events Estimated time to complete this lesson: 1 hour.
From Paper to Pixels to Vectors Evolution of a Flash cartoon character.
Mike Scott University of Texas at Austin Game Making with Alice 1.
Layout Library Story line Preview screen Tool selection menu.
In the top left corner of the page, click on Pages & Files. Click on the If Then Statements folder to select it. Click New – Create a Page. You can also.
SimpleGameInAlice1 Barb Ericson Georgia Institute of Technology June 2008 Creating a Simple Game in Alice.
Microsoft ® Office Word 2007 Training Bullets, numbers, and lists.
Events in Alice By Henry Qin, edited by Jenna Hayes under the direction of Professor Susan Rodger Duke University, August 2008.
Lesson 7 C Creating a New World Method— the Dragon Captures the Princess Slides are adapted from aliceprogramming.net or
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Mike Scott University of Texas at Austin Games In Alice 1 Game Making with Alice Eat the Hay Game.
SCRATCH Lesson Two – Interactive Concepts Using Sensing, Operators, and Variables.
PowerPoint Basics GMCS Technology & Media Services Presented by: Leni Rivera.
Georgia Institute of Technology Barb Ericson Georgia Institute of Technology Aug 2006 Introduction to Object-Oriented Programming in Alice and Java.
CREATING AUDIO FILES TO START AUTOMATICALLY WITH EACH SLIDE TEAM MARTHA-DAVID NOVEMBER 16, 2011.
4Left Click on Start 4Slide up to Programs 4Slide right and highlight Microsoft PowerPoint Left Click.
Introduction to VistaPHw Charting Function Brought to you by: The Vista Partnership February 2007.
Royalty Free Music for Schools Do You Have the To Do a Podcast?
1 WINDOWS BASICS Prof. Yitzchak Rosenthal. 2 Mouse terminology Cursor: –Picture on screen that moves when you move the mouse. Used to point to items on.
File Management Instruction by: Connie Hutchison & Christopher McCoy.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
© 2016 SlidePlayer.com Inc. All rights reserved.