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...
After this weeks progress on my final 2D platformer game I was able to do my first working test run. With all my scripting added. I managed to add a Camera Movement script, Death Script and Finish line script. I have made it so the platforms are a lot smaller to make the game a little more tricky to play one and to try to test the skills of the player I had also added and move the purple cubes of death in multiple places across the map and I made on underneath the map so when the player dies and falls he resets at the start of the current level the player is on. The camera movement also follows the player across the map and onto the next level. Also with the death script anything in purple will send the player back to the start of the level if it is touches. I used an game object and scripting to make this possible. Finish Line script is applied to the end of the level and will make you teleport to the next level which is labelled "level2"
This week I finally got to start my game, it was over whelming to begin with as I did struggle using unity by myself. A big thing that helped when when doing my game so far is watching back on the tutorials and taking bits of inspiration from them. I found myself misspelling a lot of the code which was frustrating when you can not find the source of the problem. So far for my game I have my models laid out and ready to use. I am trying to find a suitable background for this. but I do just like the blank back drop to it. Game mechanics wise I have my side to side movement ready to use . My goals for after this is to get my player able to shoot and the enemies to respawn. I feel like that will be the tricky part if I am mixing different tutorials and then the coding will become more tricky to use. The main problem I had this week was getting started and where to start. But I got there in the end and has a somewhat successful start after laying down the basics
Comments
Post a Comment