Game Dev in Progress… Day 5

Cristian Aspacio
2 min readOct 28, 2020

--

Photo by Fernando Hernandez on Unsplash

Happy Taco Tuesdays!!! Hello and welcome to day 5 of my journey to becoming a game developer. Today has a been a pretty slow day with no blockers or any challenging problem. So today, is gonna be a short article on things that I learned and what I accomplished for the day.

The first thing that I did today was learn how to create Power Ups and how to implant them in Unity. The logic for it is pretty simple, power ups will spawn periodically while playing the game. It has the same movement and logic as the enemies except they give benefits to the player rather then hinder them. A challenging aspect in this section was that my lasers for the triple shot power up was not aligned properly. I solved it by manually adjusting the position of the parent container prefab that held the lasers before actually putting the lasers in. Another cool thing that we learned in this section is how to implement animations on our sprites.

Unity comes with its own animation editor where you can customize your animation. I only just learned it today but from what I looked at, it seems that you can implement some coding logic into it to play different animations given a trigger or event such as touching a wall or jumping. As a person who’s not very artistic, I’m glad that GameDevHQ has provided with these assets that we can work with. Animating looks pretty cool in Unity and very easy from what I saw, I just had to drop and drag the Sprites that I wanted to animate.

Anyways that’s it for me. Tomorrow, Ill be working on the UI section of these course and hopefully learn more new things.

_

Cristian Aspacio

--

--

No responses yet