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 Game Development Blueprints

You're reading from   Unreal Engine Game Development Blueprints Discover all the secrets of Unreal Engine and create seven fully functional games with the help of step-by-step instructions

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781784397777
Length 352 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nicola Valcasara Nicola Valcasara
Author Profile Icon Nicola Valcasara
Nicola Valcasara
Arrow right icon
View More author details
Toc

The code

We are done with the editor, for now. It is time to open our Visual Studio project and add the logic of the game.

C++ code in UE4 is called assisted C++, meaning that there are a lot of features and conventions that help people to write fully working classes in minutes, even without code experience.

Open the Visual Studio project by double-clicking the .sln file in the root folder of the project or navigate to File | Open Visual Studio from the editor.

You will see that some files are already present in Solution Explorer. Let's take a look at these files:

The code

First, you will notice that there are two projects in your solution. The first one is the whole engine source code. You will usually never touch it as it is easy to make a mistake owing to the complexity of the engine, and you should not change anything in it unless you are an expert. Also, there is a whole company that is updating that code frequently, improving it at least once a month.

The second project is our game. The root...

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