Join Jesse Freeman for an in-depth discussion in this video Creating switches, part of Unity 4: 2D Essential Training.
…So next on our list is building a simple switch that the player…can step on, to toggle and activate other game objects in our scene.…We're going to create a new scene, and call this one SwitchStaging.…Make sure to save it in your Scenes folder.…And again, we're going to go to our Prefab folder,…and pull out our Test platform in the player.…Next, we're going to go over to our Sprite sheet folder…again, and here we're going to look for the Switch sprites.…
We'll drag all three of these into the scene.…We are going to call these SwitchDownAnimation, and make…sure to save this inside of our Animations folder.…We will drag this closer to the platform.…And while we are at it, lets rename this to Switch, and turn this into a prefab.…Now, select the Switch, and go into the Animation panel.…We're going to need to create a new animation for the Idle frame.…We'll call this switch, IdleAnimation.…
Save this into our Animations folder, change the sample rate to 12.…And if we go back into our artwork, we're going to select the first frame, which is…
- Installing Unity
- Creating a new project
- Making scripts in Unity with C#
- Working with 2D artwork
- Creating animations
- Creating and moving players
- Adding collisions
- Creating an alien enemy
- Extending Unity with gizmos
- Creating a simple tile map
- Switching between levels
- Publishing your game
Skill Level Intermediate
Unity 3D: 3.5 Essential Trainingwith Sue Blackman10h 52m Beginner
Animating for Unity 3D in 3ds Maxwith Adam Crespi1h 19m Intermediate
1. Getting Started with Unity
2. Working with Sprites
3. Creating a Player
4. Interactive Objects
5. Aliens and AI
6. Making a Level
7. Working with Sound
8. Managing Scenes
9. Publishing Basics
Publishing overview3m 36s
Next steps1m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.