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

Game Vision Statement

Introduction  "Obsessed" is a first-person platforming game for the PC, designed using the "Unity" game engine. You play the role of a young boy who is obsessed with collecting shiny gems. He sneaks into the forest every morning to get more before his parents wake up. Description Your parents have banned you from accumulating any more gems. You only have a limited time before your parents wake up and find out that your collecting gems, so run! Get as many gems as you can before its too late. Scan the forest well, you never know where those gems could be hiding.  Key Features Light Hearted Soundtrack  Cartoon Art Style  Timed Gameplay Exploration  Platforming  Gem Collection  On-Screen Score Genre The game falls into the genre of a first-person platformer. The games niche genre is fantasy - a forest filled with magic gems.  Platform This game is targeted towards people on the PC platform. This is the games preferred platform because th

Final GDD

This week's blog finalizes my game design document. I further developed my document this week by adding a lot more detail and some code. I looked at different Youtube videos to find code that I will need to make my game. I plan to finish the game a week early so it leaves time to test for bugs and or any other changes. I want to develop the game environment first so I can focus on the coding side of things. I want to focus more on the coding because it's more important than the visuals for this assignment. It will also require more of my time because I find coding to be the most difficult part of game development. I can use some of the same code in Unity tutorials for my game, so I only needed to research code for my games HUD, main menu, countdown timer, and gem counter.  After finalizing my GDD document this week, I started prototyping a map for my game. I imported some of the assets from the Unity tutorials and changed the textures the look of the textures using photosho