Book Image

Learning Unreal Engine Android Game Development

By : Nitish Misra
Book Image

Learning Unreal Engine Android Game Development

By: Nitish Misra

Overview of this book

<p>Have you ever wanted to create games that will get users hooked to their phones? Unreal Engine 4, with all its tools and power, will help make your dreams come true! Designed to get you working with Unreal Engine 4 from the very first page, this book will quickly guide you through the basics in the first two chapters. Once you get the hang of things, we will start developing our game—Bloques!</p> <p>Bloques is a puzzle game with four rooms. Each room will be more challenging than the previous, and as you develop, you will graduate from movement and character control to AI and spawning. Once you've created the game, you will learn how to port and publish your game to the Google Play Store.</p> <p>In addition to building an Android game from start to finish, you will also discover how to generate revenue, and how to optimize game performance using the tools and functionalities the engine provides. With this book, you will be inspired to come up with your own great ideas for your future game development projects.</p>
Table of Contents (15 chapters)
Learning Unreal Engine Android Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Engine Launcher


The Engine Launcher is a window that opens up after you run the engine. It is full of features and resources that can prove to be quite useful for you. Firstly, we will look at the Engine Launcher's user interface, its breakdown, where everything is located, its functionalities, and so on.

Upon opening the Engine Launcher, you will see the following window:

At the top left, there are three tabs, Unreal Engine, Unreal Tournament, and Fortnite. The Unreal Engine tab is open by default, and contains what you see in the preceding screenshot.

The Unreal Tournament tab is where you find information and links regarding the latest Unreal Tournament game.

As mentioned previously, Epic's latest project, Unreal Tournament is a project in which Epic accepts and encourages content from the community, such as weapon skins, player skins, levels, and so on. From here, you can download the latest Unreal Tournament, purchase content created by other community members and also get all the latest news and updates regarding Unreal Tournament.

The last tab is the Fortnite tab. Epic is currently working on another project, namely Fortnite.

At the time of writing, the Alpha version is available. You can sign up for it, give the developers feedback, and access the official Facebook page, Twitter page, Instagram account, and Twitch streams from this tab.

At the top-right corner, on the panel with the tabs, are two buttons, the friend list button, and the Settings button. When you click on the friend list button, it opens a window, where you can manage your friend list, like adding and removing friends, seeing who is online, and so on. You can also set your status to either Online or Away.

The next button is the Settings button, wherein you can find certain options regarding the Engine Launcher, such as accessing the support page, viewing the launcher logs, exiting the launcher, and so on.

On the top left, is the Launch button which, as previously discussed, launches the engine. Below it are several panels; each containing something different. Let's look at each of these panels individually.

News

The News panel contains all the latest news and updates regarding UE4 and Epic in general. From here, you can access the latest articles regarding the current/newest version of UE4, the latest content that has been released in the Marketplace, the latest tutorial series that are out regarding a specific topic, Twitch recaps, and much more. This is the place to be, to stay up to date on the events surrounding Epic and UE4.

Note

The news section is updated regularly, so checking the news section every once in a while is highly advisable.

Learn

As the name suggests, this is where you can find all the tutorials and documentation regarding UE4. The Learn section offers video tutorials, such as how to use Blueprint, written tutorials, which have step-by-step instructions on how to use UE4, and finally there are Gameplay Content Examples, which are project files with everything already set up, such as the level, lighting, assets, as well as the Blueprint scripts so that you can personally see what does what and can experiment.

At the top of the Learn section are three buttons, namely, Documentation, Video Tutorials, and Community Wiki. Clicking on Documentation will send you to Epic's official Unreal Engine 4 Documentation page, covering various topics such as how to use the Editor, Blueprint, Matinee, and so on.

The Video Tutorials button will take you to Epic's video tutorial page, where everything is neatly categorized. Each category has a certain number of series. A series contains a set of video tutorials covering a certain topic. For instance, the Blueprint category currently has six series, including introduction, how to create an inventory, third person game creation, and so on.

Finally, the Community Wiki is a living, breathing wiki page, where the people can post tutorials, code, projects, plugins, and more. It is a great way of getting user content and finding tutorials created by other developers. It is also worth mentioning here that Epic is currently in the process of developing their latest project, Unreal Tournament. A great thing about this title is that they are also accepting and implementing content created by the community. This includes developing the core game functionality, levels, characters, guns, HUD graphics, and so on.

Note

Should you be interested in contributing to the project or are interested in the whole thing, just go on the Unreal Tournament section of Wiki and it will give you all that you need to know regarding the project. Below this, are the various tutorials, categorized based on their types, that you can view/download and learn more about UE4 and its features.

Marketplace

The Marketplace is where developers can purchase assets. Developers who lack the manpower or resources to create assets can purchase and use them in their game. These include meshes, materials, animation sets, rigged characters, audio files, sound effects, projects, and tutorials, to name a few. Certain items in the Marketplace, such as the ones by Epic themselves are free. They are mostly tutorial project files, with a sample level already setup to showcase various features offered by UE4. These project files also have all of the level blueprints set up and implemented, so that users can see them, and experiment with them until they get the hang of it. Other items in the Marketplace, created by users, cost money. The assets you can purchase are neatly categorized, based on the type of content, for your convenience.

Apart from buying assets, you can also submit your own content in the Marketplace and earn some money from it. Clicking on the Submit your content hyperlink on the top-right corner of the Marketplace screen will open up Epic's Call for Submission page. The Call for Submission page has all the information regarding submitting content.

It also has the Marketplace Business Terms, which has all the information regarding things like how the revenue from the sales will be split, how you will get paid, when you will get paid, and so on. It also has the Marketplace Submission Guidelines, which explain things like the submission process, what you need to submit, the resolution for the screenshots, and more. You can also get more information on the submission process and get feedback on your content by posting on the Forums.

Library

The Library is where all versions of UE4, all your projects, and all the items you have purchased from the Marketplace are listed. Let's look at it a bit more closely.

Library has 3 sections, Engine Versions, My Projects, and Vault. The Engine Versions section displays all versions of UE4 currently installed on your system. You can launch any version of the Engine listed from here. Additionally, you can also download the latest version or previous versions. To do so, simply click on Add Versions at the top of the panel, right next to Engines Versions. Clicking on it will create a slot for the version you wish to download.

As you can see in the previous screenshot, clicking on the Add Versions button created a slot for the latest version of Unreal 4, which in this case, is 4.8.0 (although it is only the preview version). To download, simply click on the Download button and it will start downloading.

Additionally, you can remove versions of UE4 that you do not require. For example, if you have the latest version, it would be understandable if you wish to remove previous or older versions of the engine to make space on your hard drive. To do so, simply hover your cursor over the top-left corner of the version slot until you see an x. Once you see the x, simply click on it and the corresponding version of UE4 will be uninstalled. Another way of uninstalling is by clicking on the downward arrow button next to Launch, which opens a drop-down menu; from this, select Remove and the Engine Launcher will uninstall that version.

The second part of Library is the My Projects section. In this section, all the projects you have created are displayed.

The projects are categorized alphabetically. At the top-right corner is the search bar. In the preceding screenshot, there are relatively few project files; therefore, it is easy to find a specific project. However, if you have lots of projects, it might be harder to find the project you are looking for. In that case, you can type the name of the project you require in the Search Projects tab and it will find it for you.

At the bottom-right corner of a project's thumbnail, you can see in which version of the engine the project was created. For instance, in the previous screenshot, the project Effects was created with version 4.0 of UE4. If you open that project file, the Launcher will launch the version 4.0 of UE4. If, however, you do not have the corresponding version, then upon launching the project, you will be asked to select which installed version you wish to launch the project file in. After you have made your choice, it will then convert the project to be compatible with the version you selected and launch it. However, always be careful when converting a project, as some unexpected issues might occur. It is advisable to create a backup copy of the project before you convert it.

To launch a project, double-click on the thumbnail. Apart from opening a project, there are other operations you can perform with the projects. Right-clicking on the thumbnail opens a menu. Clicking on Delete will delete the respective project. Clicking on Clone will create a copy of the project file, and clicking on Show in Folder will open the folder where all the project files are stored on your system.

Finally, there is the Vault. All of the items you have purchased in the Marketplace are contained in the Vault.

The preceding screenshot demonstrates what Vault looks like and how the items are arranged. On the left is the thumbnail of the item, followed by the name of said item. Below the name is the amount of space occupied by that item. The blue i icon below the name is information regarding compatibility. Hovering the cursor over i will show you which versions of UE4 that item is compatible with.

The compatibility is also displayed at the bottom-right corner of the thumbnail, similar to My Projects. Let's look at the first item in the Vault as an example, that is, the Animation Starter Pack. On the thumbnail, 4.4-4.6 is written. This means that the Animation Starter Pack is compatible with versions 4.4, 4.5, and 4.6.

You may have noticed that certain items have the Add to Project option, while others have the Create Project option. Items such as animation packs, assets, materials, and audio files can be added to any project you have already created, and you can use them in your level. Projects and Showcases have the Create Project option. Once you click on it, it will create a project and will be displayed in My Projects, from where you can open it. Additionally, you can verify or remove any item by clicking on the downward arrow, and clicking on the corresponding option from the drop-down menu.

UE4 Links

The final element in Launcher's user interface is the UE4 Links, located at the bottom-left corner. UE4 Links unsurprisingly contains hyperlinks to different web pages.

Let's look at each of them closely:

  • Forums: UE4 has a large and active community. The forum is a great place to meet other developers, share your ideas, show your work in progress and get feedback, team up with other members and develop a project, and so on.

    The forum's discussion board is neatly categorized, based on the topic you wish to discuss. There is the Development Discussion section, where you can talk about Blueprints, Animation, Rendering, C++ Gameplay Programming, and so on. Then, there is the Community section where you can showcase your work in progress and get feedback, and also see other people's work and give them feedback. Following that is the UE4 for Schools section, which is dedicated to students and teachers to discuss UE4 and the education program. Finally, there is the International section, where you can interact with developers from your demographic. Recruiting and teaming up with people for a project is easier and much more convenient since almost all of the members are from the same general area.

  • AnswerHub: Sometimes, you may face a problem or issue, or have a very specific question that needs to be answered, which you would not find in any documentation or tutorial. In such a scenario, the best course of action is to seek help from others and/or the Epic staff themselves. AnswerHub is a great forum wherein you can resolve any issues, technical or otherwise, with the help of the UE4 community or from the Epic staff. To do so, simply login, post your question, and wait for someone to reply.

    Alternatively, if you are feeling generous, you give back to the community by helping others resolve any issues that they might be facing, and build a strong reputation in the process.

  • Roadmap: The community is an important part of UE4. The developers at Epic wanted to include the community as much as possible and be transparent with their development process. Nowhere is this more evident than in the Roadmap. The Roadmap lists out features that are in the process of development and gives an estimation as to when these features will be deployed.

Epic's social icons are at the very bottom. From left to right, they are as follows:

  • Instagram: You can follow Epic's Instagram profile, where they post photos and videos regarding UE4, such as environments, events, materials, and so on. Their Instagram link is https://instagram.com/UnrealEngine/.

  • Facebook: Clicking on this will take you to Unreal Engine's official Facebook page, where, as with Instagram, all of the updates regarding UE4 and Epic are posted. The link to their Facebook page is https://www.facebook.com/UnrealEngine.

  • YouTube: This will take you to the official Unreal Engine YouTube page, where you have access to all of the previous Twitch streams, Tutorials, and so on. The link to their YouTube page is https://www.youtube.com/user/UnrealDevelopmentKit/.

  • Twitter: This will take you to the official Twitter page, should you want to follow them on Twitter. The official Unreal Engine Twitter handle is @UnrealEngine

  • Twitch Stream: Every Thursday at 2 pm EST (at the time of writing), the Unreal team has a Twitch stream where they discuss the latest news, talk about the latest version of UE4, what features have been added or have been amended, and answer any questions asked by the viewers watching the stream.