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! 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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Stencyl 3.x Game Development: Beginner's Guide

You're reading from   Learning Stencyl 3.x Game Development: Beginner's Guide You don't need to know anything about game development or computer programming when you use the Stencyl toolkit. This book guides you through the whole process of creating a game, publishing and profiting from it.

Arrow left icon
Product type Paperback
Published in May 2013
Publisher Packt
ISBN-13 9781849695961
Length 336 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
INNES BORKWOOD INNES BORKWOOD
Author Profile Icon INNES BORKWOOD
INNES BORKWOOD
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Learning Stencyl 3.x Game Development Beginner's Guide
Credits
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Introduction FREE CHAPTER 2. Let's Make a Game! 3. Detecting Collisions 4. Creating Behaviors 5. Animation in Stencyl 6. Managing and Displaying Information 7. Polishing the Game 8. Implementing Sounds 9. Publishing and Making Money from Your Games 10. Targeting Mobile Platforms Planning, Resources, and Legal Issues Index

Time for action – stopping the statues from becoming inactive


The game file that needs to be imported and loaded for this session is 5961_04_12.stencyl.

Ensure that the Manage Statues actor behavior is on screen. We should be able to see the Kill statues event. Execute the following steps to stop the statue from becoming inactive:

  1. Click on the + Add Event button at the top of the left-hand panel.

  2. Select Basics, then click on When Creating.

  3. Rename the Created event to Statues always active.

  4. Ensure that the Actor section button is selected in the instruction block palette.

  5. Click on the Properties category button.

  6. In the Misc subcategory, locate the blue make Self always active block, and drag it into the orange when created block, as shown in the following screenshot:

  7. Test the game.

What just happened?

Although our game doesn't necessarily appear to behave any differently, the statues' physics properties are now still active, even when offscreen.

We have added a new when created event to the Manage Statues...

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