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...
Comments
Post a Comment