How to Code Simple 8-Directional Movement In Unity

Veröffentlicht am: 06 Februar 2022
auf dem Kanal: AdamCYounis
70,231
2.2k

Heya Pals!

This is a followup video to the previous pixel art class series on isometric and top-down animations that will let you bring your pixel art creation to life in Unity in just 30 mins!

Enjoy :)

Chapters:
0:00 - Intro
0:47 - Importing Your Sprites into an Empty Unity Project
5:30 - Setting Up the Character Object
10:00 - Setting Up the Sprite Instances
12:00 - Setting Up the Input Manager
13:40 - Solving the Input Direction
14:19 - Solving Velocity & Normalisation
17:00 - Flipping the Sprite for Left and Right
19:20 - Selecting the Appropriate Animation
24:40 - Animation Playback Using Modulus
31:00 - Adding Basic Collision
31:48 - Wrap-up
33:00 - Outro

Music:
Helynt - Chillcraft [Gamechops.com]

----

This video features clips from my stream. Catch it live: Mon, Tues, Thurs and Fri 1-6pm AEST.

Twitch:   / adamcyounis  
Twitter:   / adamcyounis  
Discord:   / discord  
Become a Patron at   / adamcyounis  
Download assets and games from the stream at http://uppon-hill.itch.io/

Later, pals!


Auf dieser Seite können Sie das Online-Video How to Code Simple 8-Directional Movement In Unity mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer AdamCYounis 06 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 70,231 Mal angesehen und es wurde von 2.2 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!