Day 6

Today was a pretty exciting day. In front of me were the beginnings of a game! My focus today was working through Prototype to Production. Once I was able to develop movement, shooting capabilities, etc.., I went into Filebase and uploaded the 2D Galaxy Assist. This file included graphics I used to place into my game such as a rocket ship, enemy ships, asteroids, lasers, and sound effects. To do so, I pulled sprites for the landscape, player, enemies, and laser and placed them into the Hierarchy.



Next, I converted the 3D rigid bodies and colliders to 2D versions. Changes needed to be made in the code (see picture) and in Unity.
If none of these changes were made, there would be no interaction between enemy and player, meaning those components would pass through one another., lasers would be ineffective, and no lives would be taken away (as seen above).
Things that went wrong:
- After creating the prefab for the triple shot, I faced some troubles with the laser position. It was spawning more towards the right of my ship. After spending 20+ mins trying to figure this block out on my own, I contacted Jeff via Zoom. He was able to figure out that laser positions (x, y, z) were not in it’s correct position. After making the necessary corrections, the triple shot was centered and firing appropriately.
What’s next on my agenda:
- Completing the triple shot segment in the 2D Development Course
- Investing some time going through the Unity C# Survival guide.
Some serious thanks to Jonathan Weinberger & GameDevHQ for allowing me to be a part of this program and for the super helpful instructional videos!