Coding
At first, I thought this blog would be a place to share some of the things I’ve discovered while making games like new code that was hard to find online or my way of solving a problem that I faced. But that didn’t feel right to me. Today, right before I started writing this, I discovered what this blog should be. But before telling you what it is, let's go back to the start of the day. For reasons unknown to me, I woke up early in the morning (local time: 11:00 AM) and started working on the boss for event one on the game I'm developing, "War of Shapes." I had a problem with the boss not dying when the player was shooting at him. Eventually, I figured out it was because he didn’t have a Rigidbody2D. This didn’t make sense to me because if he had a collider, it should have been fine since the code goes along the lines of "if there is an enemy with the tag 'enemy' and you collide with it, destroy it." But for some reason, it needed a Rigidbody2D. I eve...