Unity Tutorial 03 From this week's tutorial I learned that the first part was really coded heavy so I tried my best to do the best, I could do. Right, so the first thing was to see how the triggers work, and how to detect them when a rigid body enters them. For some reason this part I kept having problems with so I delete it and started again. To then write our own function, using the private and public access levels and writing an if statement which tests to see if something is true. This then leads to a start function which I found really simple at first, and this is to see if you can initialize your timer to the time before you can reverse the enemy direction. This tutorial was a bit of a rollercoaster but I finally got the hang of it and cant wait for the next.
Project Progress My game My first playable first went smooth but then a lot of errors were coming up and I was so confused about what was happening, after going back over and over I couldn't find the problem so I looked up a solution and reset the script for the plater movement. After fixing that up it was finally able to play the game with no trouble. The next step was to add more platforms and add the death boxes which were okay at first but then I was coming up with more problems as to why it wouldn't spawn me back all the way to the beginning. I then fixed the code and found the problem and so when the player comes in contact with the boxed they will go straight to the back and start again. This was a happy moment for me as I was so confused about what I was going to do but got there in the end. The next thing now was to clean up again and start thinking about making a second level now.
Comments
Post a Comment