Exploring the unity game engine II
Exploring the Unity Game Engine II In the previous blog, I introduced the basics of the Unity Game Engine as well as created basic player movement for a simple game. Now that we have a good grasp of the basics of unity, I want to slowly add more and more features to the game while also keeping the scope of the game relatively small. Some things I want to focus on implementing for this blog are: Basic Camera Setup More player movement functions Player Status (Health & Stamina) UI Basic Enemy AI Basic Camera Setup: Currently, I have the game camera position stationary over our environment. In the context of this project, this is very impractical. I want the camera to display the point of view of the player, as well as follow it around once the player is moving. To do this, I created an empty game object that is a child of our player called "CameraHolder" and positioned it to be relative to the head of the player. I place the game camera inside the "CameraHolder"...