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

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

Game Idea Research

A collection of different platformers I took inspiration from. I have decided on a game idea from the many I thought up of in last weeks blog post and the idea I have chosen is. A classic platformer, while yes some might say its overdone, I love these kinds of fun and easy to pick up and play games, they are simplistic but charming and fun. There will be 3 mechanics that I have thought about implementing into the game. The game will have a simple story, and charming yet again simple graphics and art style. The key word for this game is simple as I want to make it easy to pick up and play but also be fun and not a chore to play either. The story is about a lone wanderer who has to travel through and discover many places, along his way he has to traverse dangerous perils and collect some artefacts and defeat a villain who, if not stopped could be dangerous. 1. The health bar and a checkpoint system:  The first and most obvious mechanic in games will be the player's health ...