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

Introduction Into My (Awesome) Life

The names Conor, and in this blog I want to tell you a little about myself. I'm 20 years old and have lived in Dublin my entire life. I am currently a second-year student studying "Creative Digital Media" in Blanchardstown. I really enjoy my course and plan on getting a job in this industry when I get my degree. I'd describe myself as a determined and hardworking person who loves a good laugh. After working hard in year one it's safe to say I learned a lot. The best class I took last year was photography. I loved that this module required us to go outside to take photos because it offered a nice break from working inside all day. Although I liked most of my modules last year, I found modules that involved film or photography to be the most enjoyable. My goal for this year is to continue working hard and improve on my work. Speaking of working hard, we all need a break every now and again. Over the break, I took the opportunity to travel to several countries, i...

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