Book Image

Stencyl Essentials

By : Richard Sneyd
Book Image

Stencyl Essentials

By: Richard Sneyd

Overview of this book

Table of Contents (20 chapters)
Stencyl Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Actor Types and Instances

So far, we have come quite a long way in terms of assimilating the essential Stencyl workflow and learning how to structure the levels in our games, including the implementation of foregrounds, backgrounds, and tilesets to create ludic spaces. However, it is impossible to implement the actual gameplay elements without first learning how to create and deploy Actors in our levels. In this chapter, we will cover all the fundamentals of working with Actor types and instances. The key points covered here will include:

  • Creating Actor Types

  • Importing Animations

  • Customizing Animations, including frame duration in milliseconds and so on

  • Editing physics settings, such as, but not limited to, mass, linear and angular drag, friction, and bounce

  • Customizing collision shapes

  • Adding Actor instances to our Scenes and customizing them if required

By the end of this chapter, you will have the ability to implement the core gameplay elements into your games through the effective...