Skip to main content

Unity Tutorial 04

For this weeks Unity tutorial, instead of following a video, I had to go through a step by step article on how to make a clock in unity without any extra asset packs, textures etc. This required some basic knowledge of unity and the most up to date version.
Screenshot of tutorial

I started by creating a clock in unity, there's an actual option to do so, then I create a cylinder to help create the face of the clock. Then to create the flat clock face, the Y component must be reduced to 0.1 and the X and Z components increased to 10.

Then I created the indicators on the clock, I created 3-D cube shapes and changed the scale to (0.5, 0.2 and 1). Then I Changed the colour of the indicator to black. Then I placed the indicator onto the clock and then changed its angle on the Y-axis so it looks correct. Then copy and paste more indicators, changing each angle to suit the position of each hour until there is 12.

To create the clock arms, I had to create a 3-D object, which was a cube. And then change its scale to (0.3, 0.2 and 2.5) and then position it correctly on the face of the clock while making the hand narrower than the indicators. Then I created a pivot point for the arm. I also did the same process for the smaller hand but the only difference is the scale for it was (0.1, 0.1 and 5).

I then saved the finished clock as an asset and then went onto animating it which I did find somewhat confusing and complex. I had to use Javascript to help code it so I could animate it.




Comments

Popular posts from this blog

Introduction by Nate

Hello, I'm Nathan, a second-year student at ITB. I'm 20 years old and from Cavan. This blog post is about me and hobbies, aspirations etc. If you're reading this, then I'm surprised you want to go through such torture. First of all, I really enjoyed CDM year 1. It was a great experience and felt it was fun and got to meet great people and do interesting things. I still can't get over the fact I'm in college or I even made it to the second year. Thought I would've had a mental breakdown at this point When doing the semester last year, I really enjoyed Storytelling and narrative. I find it fascinating to sit down and talk about films, I'm a bit of a movie buff so I did enjoy breaking them down and even tell a story or two. Honestly my biggest accomplishment last semester was actually getting through to second year and hell, even surviving it knowing me. My goals for this module is to plan out and hopefully make a small film for our group project as its

Game Vision Statement

Megaman style gameplay link:  Link to image The genre of game I was thinking of doing was a retro style platformer in the same vein as Mario or Mega Man. What I mean by that is the game will be a side-scroller with enemies and possibly bosses at the end, finding collectables and use power-ups. The gameplay will take a healthy mix of Mario and Mega Man. The gameplay will take the style of attacking and powerups and consumables like Mega Man with the simplistic and casual fun Mario provides. It's challenging but not annoying or frustrating to the point of forcing the player to quit.

Final GDD

This blog post is about my final GDD for my game. This will help me plan out my game and know what I need to implement it. Here is the link to my  GDD on Dundoc