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 9. Adding HUD Elements

In this chapter, we'll add some polish to our game prototype by integrating some animated Head-up Display (HUD) elements, and we will make some modest improvements to the gameplay in the process. We will learn how to:

  • Create a layer of HUD actors that sit statically on top of our game levels

  • Animate the Dynamic Cursor

  • Represent the game data dynamically through HUD elements

  • Communicate between multiple actors within a scene using actor attributes

  • Make an actor follow the position of the mouse cursor

  • Switch between scene and screen space, using anchoring