Skip to main content

Unity Tutorial 04

This weeks Unity tutorials thought me about a dynamic HUD, weapons,  weapon clipping and commanding the weapon.
After finishing all the scripts at the end of the first tutorial I ran into some problems. When I tried to drag the scripts onto the gem I would get an error. I read over the code again but still could not find any differences from the tutorial. I then looked online to see what the error meant but still failed to fix it.

In the second tutorial, I made a fence and added a box collider to prevent the player from walking through the object. I then imported an axe and attached to the first person camera. After that, I learned how to animate the axe. I first created an animation folder before clicking on the animation tab. I then clicked the record button and made keyframes. The final part of the tutorial showed me how to stop the axe from constantly swinging. I found animating the axe a little difficult at the start but got it to work in the end. 

The third and final tutorial for this week showed me how to stop my axe from clipping through objects by creating layers. I then made a new script which caused the axe to make a noise when I left clicked on the mouse.

I enjoyed making the axe in the tutorials because it allowed me to perform another action other than walking. I'm looking forward to adding more to the game environment because I want to see how realistic I can make it look. 

Fence and Axe

The error I received when dragging the new scripts onto the gem.







Comments

Popular posts from this blog

Game Brainstorm

Game Brainstorm  I got my first game idea after looking at endless runner games such as "Temple Run", "Subway Surfers", "Sonic Dash" and "Super Mario Run". I noticed a lot of these games in this genre are on Android and iOS devices. This got me thinking about creating a similar game for PC. The first of these games to become popular was "Temple Run" back in 2011. This game made the genre popular on mobile devices which later inspired the other endless runner games I mentioned. Endless running games have very simple controls, such as jumping over and dodging oncoming obstacles. A player's score is generally determined by how far they travel without hitting any obstacles. The games have simplistic controls but are difficult because you cannot stop the forward momentum of your character. Although these games have different art styles the gameplay is the same.  I think this would be a good type of game to make because the gameplay ...

Feedback Strategies

The first article I read "Five Reasons to Stop Saying "Good Job!" by Alfie Kohn. The author explains different reasons why he thinks loving and making your child feel good is very different from praise.  Praise will work in the short run because children just want approval from their parents when they are young. Overexploiting this idea will eventually make kids feel manipulated. Kids will start relying on their parent's evaluations too much if they are praised for every little thing. It's damaging for a child in the long run because when they grow up, they will still feel the need to hear whether what they did was ok from others.  Overpraise will make affect how a child feels when they actually achieve something for themselves. They will not appreciate actual achievements if they are constantly getting praise for anything they do. Children will lose interest in whatever they have to do because they know they'll get praise or rewarded for whateve...

Feedback Thoughts

Feedback Thoughts The first blog I read by was about how too much praise can force a person to develop a fixed mindset. The article pushes the idea that people who are praised too much don't bother to develop new skills or better themselves because they are already "brilliant". This blog also focuses on how a fixed mindset can hold a person back in their workplace. Technological developments are constantly changing the workplace, which forces people to adapt and learn new skills. In the second article, I read the author gives us advice on how to crush self-doubt based on his own experiences as a teacher. He talks about seven different ways and goes into detail about each. I liked this article because the author talks about what he did to crush is own self-doubt. I thought both articles were useful in their own way. I found the first one focused more on the benefits of a growth mindset whereas the second focused on how to achieve a growth mindset. I thought the seven...