Unity 2D Playmaker - Simple Player Movement Tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Bliz Studio
11,601
213

In this Unity 2D Playmaker Simple Player Movement tutorial, I'll take a look at setting up a simple Unity 2D Playmaker movement for a 2D Character for a 2D Platformer or other type of 2D Game. I'll show how to use the Get Axis action to gather key input data, then use that with the Translate 2D action to move the player. Then I'll create an FSM that will flip the character using Set Scale action with an X scale of -1/1 and then also using Set Animator Trigger action to change the characters animation from Idle to Walking.

These Assets are available for FREE on the AssetStore:
► https://assetstore.unity.com/packages...

► My Discord Server -   / discord  

Contents:
0:00 Introduction
0:30 Setting up Animator Trigger for Walk and Idle Animations
1:14 Setting up Game Manager and Player Movement game objects
1:32 Adding a Playmaker FSM for Player Movement
2:05 Using Get Axis action to gather input data
2:42 Adding Translate Position 2D to move the player
3:42 Adding new FSM to Flip player and trigger Animations
4:02 Get Key Down input and Flip Right/Left Playmaker States
4:52 Using Set Scale action to "flip" our character left and right
6:30 Adding Set Animator Trigger action to change the player from Idle to Walking
7:33 Testing our work and conclusion

► Download Playmaker at https://bit.ly/3dV8JzC
► Download Unity at https://unity.com
🚀 Download Trixel Rocket for free on App Store at: https://apple.co/31s4gzt

👉🏼 To Sign up for email updates on my latest tutorials and game progress.
https://sendfox.com/bliz

····················································································

♥ Subscribe to my channel: https://bit.ly/31wL83n

👕 T-shirts! https://bit.ly/2CYvdBl

● Website: http://bliz.studio/
● Twitter:   / blizstudio  
● Instagram:   / blizstudio  
● Facebook:   / blizstudiogames  

········································­­·······································­·­····

► All content by Bliz Studio is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making content free of charge.

········································­­·······································­·­····

♪ "Once Was" by Kwon @ Youtube