Moving Cube C# and Unity

I wanted to learn to make a cube which could be controlled by arrow keys to move around in Unity. From here I want to learn trigger events and importing different assets to use instead of a cube.

Here I focused on using the transform.Translate(Input.GetAxis(“Horizontal”)*Time.deltaTime, 0f, Input.GetAxis(“Vertical”)*Time.deltaTime);

The C# code in the project panel of Unity was dragged onto the 3D cube object so the code knew what it was referencing.

This code uses translate, which is a type of transform, telling the cube to read the Unity Horizontal X axis and Vertical Z axis in the axes panel in Edit > Project Settings > Input.

This was written in the void Update () { section of code.

I then added a public float moveSpeed; at the beginning of the code. The float is used so decimals can be an option. Also as this is a public variable it will appear in the Unity editor.

Underneath void Start () { I assigned the moveSpeed =5f, so the speed is of 5 float. This number can be adjusted in the Unity editor during play mode to find the desired speed.

I then returned to my transform.Translate code and added the moveSpeed as a multiplier to the Input.GetAxis for both Horizontal and Vertical.



3DS Max, Max Man Animation

Just a short animation using Max Man in 3DS Max produced in my undergrad. It was surprisingly a lot more complicated than this video looks, I found moving each part of the skeleton to be incredibly challenging, it required huge attention to detail.

The purpose of the assignment was to try to capture the sense of gravity/weight/pressure.

Level Design in Unity

Screen Shot 2017-04-28 at 18.17.25

In my undergrad I had used Unreal for level design and now want to explore the potential Unity has to offer after discovering some amazing recent games such as The Uncertain were produced in Unity.

Here’s a level I’ve been making so far, once I’ve finished working on the design to the stage I am happy I will be working in C# to experiment with gameplay features.

This has taught me about texturing, editing terrain, building, etc.

Making my first sprite

Here I made my first sprite as a practice for getting a feel for importing designs into game engines. I made the sprite digitally using Photoshop. Now that I understand the animation I want to experiment with different sizes and more with hand drawn/hand painted illustrations.