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 ...

Presentation Day Game Review Week 13

I really enjoyed the day overall. It was nice to see how everyone had progressed with the project over the break. Looking at other peoples was inspiring and thought me a thing or two. Some of my favorite projects I seen on the day where the farm puzzle game, the tile puzzle game and the interactive film.    The farm puzzle game looked very professional. In my opinion it looked like a full game for kids. The simplistic puzzles and bright  colours  are a great design choice.  The second game I really enjoyed playing was the tile puzzle game. This game was also a kid’s puzzle game. I was impressed by how Robert coded the game, it looked like it would have taken a long time to make. Although it’s a game for kids, I think he could have added more tiles to later levels to increase the difficulty. The games  colour  palette gives it a more calming feel.    The third project I really enjoyed viewing on the day was the ...

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...