I have started to build my first 2D game today. I started this by opening up the Unity Hub and started a new project. I went into this project with one image only. That being a plain white square that I would use as my building blocks for making this game possible. I started off simple by making the white cube my player and added my movement script. So he can move side to side. I did say in my game document I would like it to be a constant movement to the right but I say it would be a little too difficult for the pace I had made the game. I had also added a jumping mechanic too to the player. I had also so far stuck with my colour scheme with the black and red I believe it works very well and it helps contrasts all the different surroundings in the game When I move on to next weeks tasks I will want it so the purple cube causes the player to die and restart at the start of the level again. I also need it so when the player falls through the map he also dies so I will need to try figure...
This week took a long time to do compared to last week. As there was so much scripting to try to understand between both of the tutorials we had to do. But once again some of it looking very familiar from last semester using voids, if statements and floats again for the first time in a while. In the first tutorial I done I was working with making a health system for Ruby. This was a lot of scripting today to make all of this possible I first added a health stat to him and made him lose 1 if he took damage from an entity. I then also made a health collectible in game that would add a life bar back to the player. In world interactions I then worked on making these things interactable such as giving Ruby health back in the game when the collectible is touched. I started working with triggers again which I also had experience from last semester the only difference was the 2D at the end. Using health in the 2D seems a lot easier than the 3D from last year and I have most definingly lea...
Doing this weeks tutorials seemed to be going quicker than the rest and I feel like this will help me making my final game for this semester and that these two tutorials will bring me a long way into making my game perfect. Starting off with the camera. Cinemachine was very easy to install and import to my game . Cinemachine helped me control my camera settings much easier to my main character. And was a lot different in what I had to do last semester and all the scripting that came along with that. I found this a bit easier to use in my opinion but maybe that is because I had a hand to hold while using it reading the tutorial. But this will help me when I want to stop the camera from going outside the map and I believe will make my game a lot better if I do decide to do something similar to this. Moving on to making the particles. This section was very long to read through and I found myself missing a few lines while reading. But overall this part was easy enough. I had some use ...
Comments
Post a Comment