How to make a game tutorial - Part 1 - Starting out

Today I'll be starting a new guide on how to make a game from scratch (with unity though). I will be making a game called Three Shot Hero, but you should feel free to make any changes to the project that you feel like. If you're all new, it may be a good idea to follow my instructions pretty precisely. But if you know/feel that you can make changes, please do. I originally wanted to use Daikon Forge (A GUI Library) for the project, but to let everyone join in I'll have to refrain from it.

Start

First of all, start out a new project and find a location for it. I always save my projects in Dropbox or Copy, so that I can access them anywhere.


First off we'll make a new screen size default to see what the game will look like. Call it landscape and make it 800x480px. Even though most phones have different screen resolutions, it should give us an idea how how the game will react.´

Project Settings

Now go to Edit ->Project Settings ->Player. Here you can name your game if you want, and even set a company name. You'll want to go to the Desktop settings (the Arrow down) and check run in Background. Also shown below. After that go to Android(/iOS if you can do that)and set it's mode to landscape.


Importing Sprites

Now we'll add a title to the game and a start button. I recommend making your own, or get a friend to do it. If not, you can use this one:

When you have made/downloaded a title header and a play button, go ahead and drag it into the assets section of unity so you can use it in your game. Once imported set the settings to the following (Pixels to units may wary). After that select sprite editor. When that has opened press the little 'Slice' button in the top left corner and select slice. Lastly press apply, top-right corner, and close the Sprite Editor down. Now you should have a header sprite and a play button sprite.


Navigate to where your title sprite is and click the little arrow-button as shown below.

Now drag the title header out into the Scene window. Do the same for the play button and your scene/game should look something like this
Scene:
Game:

Go ahead and save the scene (Ctrl + S) somewhere in your assets folder within the project.
That is the final thing for the first part of this tutorial. I'll write part two immediately afterwards, so please check it out afterwards, you'll make a great game, I'm sure :)
Categories: ,