Unity Playmaker 2D Platformer - Enemy Arm Attack Player

Опубликовано: 30 Сентябрь 2024
на канале: Bliz Studio
1,778
44

In this Unity Playmaker 2D Platformer - Enemy Arm Attack Player tutorial, I'll be setting up the enemy arm to attack the player. Once you set up one of the arms then you can reuse the FSM on each of the arms with different trigger areas.

(to Join my discord server add a comment and I'll reply with the latest invite code)

► Download Playmaker at https://bit.ly/3dV8JzC
► Download Unity at https://unity.com

Contents:
0:00 Introduction
0:15 Player Detect Enemy Arm
0:47 Adding a Sprite with a Unity Box Collider 2D trigger
1:26 Explanation of what we want to occur
1:51 Add New Playmaker FSM and Trigger 2D Event action
2:26 New Playmaker Tween Position action to pull back arm
4:33 Playmaker Get Position action for player position
5:11 Tween Position of current position to Player Position
6:10 Resetting the Attack Arm Position
7:28 Testing
7:43 Adding a Unity Circle Collider 2D to the Attack Arm
8:52 Turn off Unity Sprite Renderer of the Trigger Area
9:04 Conclusion

🚀 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