Continuing with our Implementing Simple Game Mechanics (ISGM) series, we're making a tutorial to help you with setting up your 2D-Platformer prototype.
You can find our first two episodes of Implementing Simple Game Mechanics here:
Part One of this series can be found here:
http://www.journeytoprogramming.com/o...
Part Two of this series can be found here:
http://www.journeytoprogramming.com/o...
Episode Information:
In this, we show you how to set up a simple Unity3D scene using a new empty 3D project.
After some introduction to the Unity editor, we show you how to detect keyboard input using C# and then hope that you take your newly learned skills to the next level by implementing more on your own.
What you should try to do on your own:
Implement movement functionality for the W, A, S, D keys by reusing the code presented in the tutorial video. You can write the basic input detection code and leave the code blocks empty as a placeholder for now if you don't want the player object to do anything for that particular key press.
Try to implement a jump functionality by detecting the spacebar.
Add in some platforms by creating new cube objects and placing them in thoughtful locations for prototype testing.
On this page of the site you can watch the video online Unity3D Tutorial - Simple 2D Platformer Prototyping (ISGM) with a duration of hours minute second in good quality, which was uploaded by the user Journey To Programming 07 January 2019, share the link with friends and acquaintances, this video has already been watched 166 times on youtube and it was liked by 4 viewers. Enjoy your viewing!