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 http://www.raywenderlich.com/69392/make-game-like-jetpack-joyride-unity-2d-part-1 @shahedC 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 = 156 4. 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
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
11What is the Stage?2How do you open a panel in Flash?3What's a hidden tool, and how can you access it?4Name two methods to undo steps in Flash, and describe.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
Learning Unity. Getting Unity
Introducing Scratch Learning resources for the implementation of the scenario
Fireworks MX. 2 Lesson 1a—Create Slices & Hotspots n Fireworks allows you to add animation (behaviors) already written in ___________. n However, users.
Princess & Dragon Part 4: Breathing Fire—Adding Effects to Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Hyperstudio: A Beginner’s Tutorial By Judy Swaim.
Motion Tweening – Lesson 81 Motion Tweening Lesson 8.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
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.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
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.
Introduction to Scratch! Vaughan Hillier-Nickels Huish Primary School Yeovil Adventures in Animation.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
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.
Unit 3 Music and Sound Evangel College S.2 ICT. Animal Piano Project We will use the blocks in the Sound category to build an Animal Piano project.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics Hello World? Creating a Unity Project –The Unity Project Folder MonoDevelop: Unity's Code Editor.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Game Maker Day 2 Making a Maze Game. Pop Quiz Make a Sprite (spr_HeroLeft) using the koala_left.gif image –TechInTheWorkplace\assignments\resources\Chapter.
Open a new Flash File Action Script 2.0. Create a button like you did last lesson and name it Click to Play.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Using MIT Scratch for Programming and Control Exercise 3 Ball Game Year 9 ICT Autumn Term 2007.
INTRO TO UNITY Building your first 3D game. DISCLAIMER “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<
Mrs. Perisino Hickory Hills Elementary. Desktop Office Folder PowerPoint 2010.
To play, start slide show and click on circle Lesson 3 Lesson 3 Lesson 3 Lesson 4 Lesson Lesson 4.
Chapter2 Create animation. Objectives Import image Use the blank keyframe Add sound Publish the movie as an SWF file Use a motion tween animation.
© 2017 SlidePlayer.com Inc. All rights reserved.