Reader small image

You're reading from  Hands-On Game Development without Coding

Product typeBook
Published inNov 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781789538335
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Lucas Bertolini
Lucas Bertolini
author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini

Right arrow

Project End - Platform Selection and Building

We have reached the final lap. The game and level design is ready, as are the gameplay, player, enemies, and UI, too.

Now we have to make a final build. This will make it possible to upload our game, and share it with our friends and the community.

We are going to build our project for Windows computers and Android mobile devices, for which, of course, we will need a joystick or keyboard.

The following topics will be covered in this final chapter:

  • Platform selection and settings
  • Building the game
  • Android installation

Platform selection and settings

As we have planned from the very first chapter, we are going to build the game for the platform we aimed at. Unity is one of the most multi-platform engines, and with all their experience, they have accomplished an easy way to let us build for more than one single platform.

In order to do this, we will have to follow these steps for each platform:

  1. Add all the right scenes to the Scenes in Build list.
  2. Drag the scene that you want to be the first to the top position in the list.
  3. Select your chosen platform.
  4. Configure the resolution and presentation.

Once our game is finished, tested, and we feel like it is well polished, it is time to build it.

Scene settings

As we did before, to open the Build...

Building the game

No matter which platform we want to build to, the final step involves going back to the Build Settings and clicking on the Build button:

Windows

After that, we will be asked to select a location and name for our files. Once we've provided these, click on Save and wait for the build to be completed. This may take a while:

We will need all these files to execute the game. So, if we want to share it, it might be more comfortable to zip them and share it afterwards.

Android

When trying to build to Android, we might get the following message:

This...

Summary

So this is it, travelers, the moment we all have been waiting for since we opened the book in Chapter 1, Game Design - Introduction. We have built our first ever game—congratulations to us! To you!

In this chapter, we went through the necessary steps to build our game once the project is finished, including the need of the Resolution and Presentation settings, as well as the importance of the scene list order.

We also had encounters with plugins that needed to be downloaded to accomplish our Android build, both the JDK and SDK, and we shouldn't forget the Unity plugin, which makes all of this possible.

For the first time, we have the final build, the final file in our hands, and we can share it with our family, friends, community, or just feel proud because we concluded this challenge successfully.

Me, Ellen, the Chompers, the Spitters, the Gunners and Grenadiers...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Game Development without Coding
Published in: Nov 2018Publisher: PacktISBN-13: 9781789538335
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Author (1)

author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini