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

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

Unity Tutorial 05

This week's Unity tutorials showed me how to make a skybox, wind, fade screens, and how to improve the game environment. The first tutorial started by showing me how to add a sky to the game. I went onto the assets store and imported sky assets. To add the sky asset into the game, I then clicked on the "Windows" tab and chose the lighting settings option. From here I was able to drag and drop the different sky assets I downloaded. The next thing the tutorial showed me was how to add wind zones. I added wind to the in-game trees by clicking the "GameObject" tab. I then clicked on the 3D object tab and selected the wind zones option.  The second tutorial started by explaining how to add in-game objects that can be picked up of the ground. The example given in the tutorial was an axe stuck in a tree. First, you add in a cube and place it over the axe, then turn off the box collider so it becomes invisible. I then made a script called "AxeTake" a...

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