Join Jesse Freeman for an in-depth discussion in this video Change animations on the player, part of Unity 5: 2D Building an Adventure Game.
- [Instructor] Now that we have…all of our animations set up,…it's time to connect them so that we can transition…from one animation to another.…First, we're going to want to re-organize…the way our animations are laid out.…Make sure you have your game object selected…and go to the Animator Panel.…We already have our Player Idle Animation set up…and this is our entry point, so let's move this…above the entry.…Next, we're going to want to drag the Any State…into the middle.…We're going to use this to allow us to transition…from one state to another by not needing…to connect them all together directly.…
To show you how this works,…let's set up the first animation.…We'll move the Player Jet Animation over to the right,…let's move the Player Walk Animation to the top,…and we'll leave the Player Empty Animation where it is.…The way that we can connect our first animation…is by right-clicking on the Any State,…select Make Transition, and drag the arrow…over to our Player Idle Animation.…This will allow us to go from any other state…
Author
Released
12/14/2016- Optimizing sprites and draw cells
- Cutting up sprite sheets
- Building animations
- Changing animations
- Creating a player
- Moving the player
- Building a level with a simple map
- Creating interactive objects
- Creating alien enemies
- Switching between scenes
Skill Level Intermediate
Duration
Views
Related Courses
-
Build a Real-Time Strategy Game with Unity 5
with Dan Violet Sagmiller3h 47m Intermediate -
Unity 5: 2D Advanced UI
with Jesse Freeman2h 19m Intermediate -
Careers in the Game Industry
with Christian Bradley1h 19m Beginner
-
Introduction
-
Welcome41s
-
-
1. Working with Sprites
-
Set up the project4m 55s
-
Optimize sprites4m 34s
-
Optimize draw calls4m 10s
-
Cut up spritesheets3m 18s
-
-
2. Working with Animations
-
Build animations3m 54s
-
Animation timeline3m 51s
-
Create player animations3m 7s
-
-
3. Creating a Player
-
Create a player prefab3m 10s
-
Add collision to the player5m 15s
-
Clean up the player4m 7s
-
-
4. Moving the Player
-
Enable flying5m 55s
-
Controller class6m 39s
-
Connect animations3m 48s
-
5. Building a Level
-
Camera5m 53s
-
Create a simple map4m 56s
-
-
6. Interactive Objects
-
Create collectible objects3m 59s
-
Random sprite5m 32s
-
Deadly obstacles2m 51s
-
Create debris6m 9s
-
Spawn debris3m 49s
-
-
7. Alien and AI
-
Aliens that walk5m 8s
-
Turnaround at walls6m 42s
-
Keep aliens on platform3m 56s
-
Clean up the alien AI4m 7s
-
-
8. Managing Scenes
-
Create a splash screen5m 24s
-
Animate the splash screen8m 10s
-
Switch between scenes3m 36s
-
-
Conclusion
-
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.
CancelTake 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.
Share this video
Embed this video
Video: Change animations on the player