Загрузка...

Player Aim at Mouse and Attack Enemy - 2D Platformer Unity #16

In this video we'll be getting our player shooting bullet prefabs towards our mouse. When our bullets hit our enemies, they'll be destroyed! We also add a on hit effect so our enemies flash white when damaged.

In our next episode we'll be adding a loot table to our enemies, so be sure to sub to check it out ;-)

❗️❗️❗️📢 BUY THE COMPLETE GAME TEMPLATE NOW!!! 👾❗️❗️❗️
https://gamecodelibrary.itch.io/2d-platformer-template

All source code for all videos I have made and will make in the future can be found on my Patreon:
https://www.patreon.com/posts/92227715?pr=true

Check out the series previous videos:
https://www.youtube.com/playlist?list=PLaaFfzxy_80EWnrTHyUkkIy6mJrhwGYN0

Sprite sheet: https://www.kenney.nl/assets/1-bit-platformer-pack

Discord: https://discord.gg/zYBW6HeN8s

I'll be posting new videos every week, so be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)

If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help us out on this journey ♡

0:00 - Intro
0:07 - Player Shoot Script
1:47 - Bullet Prefab
2:26 - TEST 1 (Shoot Bullet)
2:41 - Bullet Script
3:41 - Enemy Script
5:59 - TEST 2 (Enemy Hit Broken!)
6:04 - Enemy Script Fix
6:14 - TEST 3 (Working!!)
6:31 - Next Video
6:57 - Outro

Видео Player Aim at Mouse and Attack Enemy - 2D Platformer Unity #16 канала Game Code Library
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять