Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Construct 2

You're reading from   Learning Construct 2 Design and create your own engaging, extensible, and addictive game using Construct 2

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781784397678
Length 234 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Aryadi Subagio Aryadi Subagio
Author Profile Icon Aryadi Subagio
Aryadi Subagio
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Summary


We covered a lot in this chapter. You learned about a container in Construct 2, what its traits are, and how to make it. You also learned about two new behaviors: the Pin behavior to easily follow an object and the Pathfinding behavior to look for a path and move along on it. You also know that the Pathfinding behavior can evade obstacles on the screen, both the default kind of obstacles and the custom ones.

One more behavior that we covered in this chapter is the Turret behavior that can recognize targets and shoot them. You also know about the action to scroll the layout in the game without using a Scroll To behavior. You learned how to import sound files to Construct 2, which file type is good when importing, whether to import them to the Music or Sounds folder, and how to play them in the game with the Audio object. Finally, we used the value stored in an array in the gameplay, instead of simply using it to store the player's high score.

Try to expand this game yourself. What happened...

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
Banner background image