Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Construct 2

You're reading from  Learning Construct 2

Product type Book
Published in Dec 2014
Publisher
ISBN-13 9781784397678
Pages 234 pages
Edition 1st Edition
Languages
Author (1):
Aryadi Subagio Aryadi Subagio
Profile icon Aryadi Subagio

Using Construct 2's debugging tool


Now, we know enough to be careful when writing our code so that we can evade the runtime bug. However, sometimes, there are bugs that we didn't anticipate, no matter how careful we are in writing our code. In times like these, we need to be able to see how Construct 2 runs our game behind the curtains. This is where we need the debugging tool.

Note

While you can use the debugging tool in the free version of Construct 2, some features are only available to the users who have bought the licensed version. I will inform you what these features are when we discuss them.

Using the inspector

You can use the debugging tool primarily by debugging each layout. To do this, just click on the Debug layout button right beside the Run layout button at the top of Construct 2:

Clicking on it will start the game as usual, except that you'll also see the debug tool (called the Inspector tab) below the game. On the left-hand side of the debugging tool, you'll see a list of all...

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 $15.99/month. Cancel anytime}