Skip to main content

Week 11 unity tutorial

unity tutorial


I did all the unity tutorials I for this week I did lesson 5.1, lesson 5.2 lesson 5.3, 

In lesson 5.1 five in Unity was pretty easy since I'm already getting pretty used to how unity works with lots of practice, in this lesson we has to switch the game to a 2D view, the outcome for this lesson was to make a list of three good objects and one bad objects and they will spawn at random position at the bottom of the screen, these targets will get destroyed when the player clicks on them.

Lesson 5.2 we has to make a score section that will display on the Ui starting at zero when the player clicks a target, the score will update and I won't lie I did have trouble with this part it did take me and couple more minutes to get it to work but eventual I did finally got it too work.

Lesson 5.3 we had to implement a game over feature to the game where when ever the good targets drop below the sensor at the bottom of the screen, the targets will stop spawning and a game over message will appear on the screen. And we also had to add a reset game button that reboots the game, surprisingly this was the easiest part of for me to code, I thought this was going to take way longer to do but it wasn't that hard at all.


Comments

Popular posts from this blog

Week4- Unity tutorial 02

 Week4- Unity tutorial 02 This is my second blog discussing my experience after finishing the second unity tutorial and I have to say my second time using this program was way better than the first time because I'm a bit for familiar with how everything works now thanks to the first tutorial I was able to finish each task much faster now and was able to understand what the person was telling me to do because the first tutorial I was having trouble with the code and other software problems but I got passed that now and the program is very easy to use. In this tutorial we had to learn too move the vehicle left and right instead of it just going straight so now we were able to move it either direction, so now we can actually try and doge the boxes instead of just hitting the boxes, but the only way we can move it was by dragging it to the right or to the left, we then learned about mapping the controls to the keys but the great thing about unity is that it already does it for you whic...

Annotated Biblographys

  Annotated Bibliography 1   Utah, Cami Buckley. “Is video game addiction real”. May 13 2020. A recent six-year study, the longest study ever done on video game addiction, found that about 90% of gamers do not play in a way that is harmful or causes negative long-term consequences. A significant minority, though, can become truly addicted to video games and as a result can suffer mentally, socially and behaviorally.   Who wrote the document:  Cami Buckley    What does the document discusses:  The aim of this particular study is to look at the longer terms and impact when it comes to people that have a particular relationship with video games and how playing video games for a period of time can do to a person over time, in this article it was based off of a six year study, the longest study ever done on video game addiction, and it’s also found that 90% of gamers do not play in a way that is harmful or causes negative long term consequences and it’s act...

Tutorial 06

 Week 19(07) In this lesson we learned how to use a user interface which overlays images and text on your science to show information. This section was pretty interesting I'll be honest but I wouldn't say that I enjoyed doing this but it was still pretty interesting to learn for example we learned how to create a UI canvas. We also had to use a rect transform and what that is it's basically still a transform but it has an additional UI data that you can look up later on and there was other functions like the canvas scaler. World interactions was pretty cool we learned how raycasting is very useful to interactive applications because it allows you to detect things like colliders, and I didn't know raycasting has a lot of other options depends on the type of game you are making for example to check whether there is anything between the main characters position and an enemy position.