Shopkeepers n' Slimes! | Indie Game Devlog #5

Опубликовано: 18 Август 2020
на канале: KalechippsDev
10,067
721

Hey y'all!

KalechippsDev Official Discord:   / discord  

Unnamed indie game is BACK! And it STILL doesn't have a name! But it does have a slime enemy and a new shop. :P Stick around to learn about how I made these things, and join the Discord! Link above.

Unnamed Indie Game Devlog Series:
   • My First Indie Game! | Indie Game Dev...  

StackOverflow (passing data between scenes):
https://stackoverflow.com/questions/3...

A* Pathfinding Project:
https://arongranberg.com/astar/

Music is from: LAKEY INSPIRED - Better Days (   • LAKEY INSPIRED - Better Days  )

A note about animating UI with the Unity animator:
The way that I've suggested in the video is possibly not the most optimal solution. In short, it updates the UI every frame, which means a hit in performance. A really popular video here (   • Why you should use code to animate yo...  ) explains it well. However, this may have been patched by the Unity team since that video was published, so it may not even be a concern anymore. (See a comment here: https://imgur.com/7GnQ3gv.)

If you're up for it, you're probably better off using a tweening library, which avoids updating the UI every frame. Otherwise, I imagine for most hobbyist devs performance isn't really a concern, so the solution I suggested offers a convenient workflow that gives great results quickly. Be warned, though: this might have to be refactored if you run into a performance ceiling. Cheers!


Смотрите видео Shopkeepers n' Slimes! | Indie Game Devlog #5 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь KalechippsDev 18 Август 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,06 раз и оно понравилось 72 людям.