This lab can be summed up in 2 parts, the first task was to finish off the tutorials involving the moving truck and crates game, to finish the game i had to add a few a few lines of code to move the truck left and right using the keyboard, there was also another line added to rotate the truck slightly to make its movements look more natural, by the end of the tutorial the truck could move in 4 directions and knock the crates out of the way, i think this was a very useful tutorial and made it much easier to get to grips with the unity software.
The second task was to fix a plane flying game, this was a much harder task as there were no instructions just a list of things to fix in the game, luckily there were hints at the bottom of the tutorial page which were a very big help for completing this task, this was also made easier by using the already written code for the previous task. When i began working on the game the plane would just fly away backwards and continue moving away but by the end of the task i had the plane being controlled by the keyboard and the camera following along, the camera was a lot of trial and error to get the camera to follow the plane while still allowing the plane to be visible throughout the course, my first few attempts had the camera being ahead of the plane by the time it reached the last wall and then it would end up getting stuck or going above or below because i could not see the plane. The biggest challenge was the final part of the task, getting the propeller to move, for this i had to use google to get help and i found a video on youtube which allowed me to fully complete the tutorial "https://www.youtube.com/watch?v=KYIF8RgrVo8".
Comments
Post a Comment