Skip to main content

Unity Tutorial 03

In this Unity tutorial we learned how to utilise the programming language C# in our games to rotate the arms on a clock that we've made in the Unity Editor.


The tutorial was on this page and it was relatively easy to read through and follow. I started from the start in building the clock face out of a 3D Object in game. In this case I used a cylinder. I flattened the cylinder to create a face and moved on to making the hour indicators. For this I had to use a cube 3D Object, and make it long and narrow. I then learned how to use the hierarchy system in the Unity editor to make multiples of the hour indicator. Each time I duplicated one I had to increase it's y rotation by 30 degrees to move it along the clock face's axis. These indicators were then taken from their 'parents' in the hierarchy system and placed as 'children' under the clock object.

Moving on I created the arms next, making each of them a parent of their own for the hour, minute and seconds arms. They all were made different sizes and their rotations started them at the 12th hour on the clock. Now it was time to animate them, and this is where it gets challenging.

This is where we begin to use C# script in Microsoft Visual Studio, and it links in to Unity and updates as we save it. This took a while and a lot of making sure that the code was entered correctly (much like with our Web Development module). To finally get the clock moving was a great feeling and I'm glad I know some of the basics in animating objects in Unity. I know this will help a lot towards my game further down the line.
My Clock a little over halfway into making it

Comments

Popular posts from this blog

Favourite Game

My Favourite Game Battlefield 1 is currently my favourite game to play. I have been playing it since it's release in 2016 and although I take a break from it to put time into other games I always find I come back to it. Battlefield 1's campaign is short and fun, with a lot of insight into the history of WW1. The multiplayer feature is where I spend my time in the game though, playing in battles of 32 vs. 32 players on each team, spread across some of the largest battlefields of WW1. The game is beautifully made, with realistic graphics and animations and the playable maps in the game take direct influence from photos and stories of the real battlefields from the time. A screenshot from within Battlefield 1 - Source

19Sixteen Progress - Week 10

As of Week 10 all the members of the 19Sixteen group have been assigned specific roles and things to research in relation to their roles. All members also have tasks due for next Thursday so that we can start building on our game. I myself took charge of reorganising roles to fit our six week timeframe and along with James Reynolds we merged the Assets and Level Creator teams as they will need to work closely together to build our version of D1. I also took charge of drawing out a map of the area we are creating for the game so the level creators can build the game world based on a specific area. Sketch of Dublin 1, the area that we plan to make

Annotated Bibliography

Today we looked at researching peer reviewed papers related to, and that will help us with our projects. I followed the mind map from 'interactive storytelling' to 'theory' to 'visual storytelling'. 1.  Figuero Espadas (2019),  A review of scene and sequence concepts. ,  Communication & Society. 2019, Vol. 32 Issue 1, p267-277. 11p. 1. This research proposes a separation of the scene concept into two, for the better understanding of any audiovisual narrative: scene and narrative scene. A scene is a narrative unit with space-time continuity. The key to this unit is spatiotemporal continuity. The narrative scene is, according to McKee: “an action through conflict in more or less continuous time and space that turns the value-charged condition of a character´s life on at least one value with a degree of perceptible significance. Ideally, every scene is a story event” (2003, p. 56). The key is its unity of action. 2. A narrative scene is a particularly...