Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unreal Engine 4.X By Example

You're reading from   Unreal Engine 4.X By Example An example-based practical guide to get you up and running with Unreal Engine 4.X

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785885532
Length 506 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Benjamin Carnall Benjamin Carnall
Author Profile Icon Benjamin Carnall
Benjamin Carnall
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to Unreal Engine 4 FREE CHAPTER 2. Blueprints and Barrels – Your First Game 3. Advanced Blueprint, Animation, and Sound 4. Unreal Engine, C++, and You 5. Upgrade Activated – Making Bounty Dash with C++ 6. Power Ups for Your Character, Power Ups for the User 7. Boss Mode Activated – Unreal Robots 8. Advanced AI and Unreal Rendering 9. Creating a Networked Shooter 10. Goodbyes and Thank yous Index

Hello World for C++


Before we begin to create an in-depth game project like Barrel Hopper, we will first return to the good old Hello World idea. We are going to be creating something very similar to what we created in Chapter 1, Introduction to Unreal Engine 4 yet, this time, purely in C++! We can start by creating a new C++ project. Open Unreal Engine 4.10 via the Epic Games Launcher then select the New Project tab like we did before, however this time we are going to be choosing the C++ tab. From the collection of project templates, select Basic Code.

Call this project Hello Code. There will be a small waiting period while the engine prepares your project. Once finished you will be presented with an editor window and a Visual Studio project will have opened. The first thing we are going to do is add a new code class to our project. Do this by selecting New C++ Class… from the File dropdown located in the top left-hand corner of the main editor window.

This will open the class creation wizard...

lock icon The rest of the chapter is locked
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.
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 $19.99/month. Cancel anytime