Skip to main content

Technical tutorial : Unity and Visual Studio


Bean Life

I created Bean life today using Maya, Unity and Visual Studio. I exported the segments of the corridor we had made in a previous tutorial into Unity. I then assemble the pieces in a scene into a simple maze. This was even quicker than it was in Maya, being able to duplicate and then snap into place the pieces with very fewer button presses made creating the level very quick and quite enjoyable. I realised through creating the maze that I don't know how to snap rotation points in Unity which is a bit of a stumbling block I need to resolve.

After creating the maze I created a Player Controller in the form of the red bean, attached the camera then used Visual Studio to write the code to turn the keyboard inputs into movement as well as gravity and ground check. The results are as seen above. 

I am very pleased with the whole process, it was far easier than I thought I would be while still having the expected head-scratching because of code that doesn't work. With a little help from the people near me, we found my wayward semi-colon and the code worked! I'm looking forward to doing more coding as I found this very rewarding.  

Comments

Popular posts from this blog

2D Side Scroller : The Final Idea

When the rubber meets the road. The Panda here represents  Covid-19 During the course of recent events, it became clear to me that my time was somewhat limited in this project. As a result, I have elected to go with my first idea, the Dung beetle puzzle game. This should provide me with a decent opportunity to stretch myself in the implementation and iteration of mechanically without requiring nearly as much in terms of asset creation which for this project at least isn't one of the marking criteria anyway.  The Dung Beetle Puzzle Game is changing slightly to just a puzzle game but keeping the core idea of pushing a large ball around as its main mechanic. So the player characters job is to get the ball to its goal and then make their way to the exit of the stage. This gives me a solid and simple foundation to build some hopefully cool puzzles off of without bogging me down in extra systems, which if you refer to my previous ideas was rampant. Even when stating that I have eyes...

The Barbican

Enemy at the Gate The Barbican estate in London features a lot of the style of architecture that I wanted to emulate in the art and design project, so for this project, I'm going to try to create my own barbican estate using the real one as the palette. To do this I'm going to create concept art using the barbican as part of a reference sandwich to create unique architecture that should both be evocative of contemporary London, retrofuturist and contain elements meant to subtly guide the player through the area to their goal.

Affine texture mapping : Subdivide Mesh

Af fine map indeed Another bug I  encountered in my previous project was when using the PSX shader on large surfaces the warping became severe which was disorientating while playing. This is because the affine mapping that the shader does to emulate the affine mapping the PS1 did, approximates the positions of vertices in screen space meaning that if the vertex in question is far off-screen the approximation becomes more inaccurate meaning that if you subdivide the meshes into smaller triangles the effect is drastically diminished.