Skip to Main Content
Stencyl Essentials
book

Stencyl Essentials

by Richard Sneyd
April 2015
Beginner to intermediate content levelBeginner to intermediate
206 pages
3h 46m
English
Packt Publishing
Content preview from Stencyl Essentials

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

The dynamic cursor

One of the most important HUD elements in our game prototype is the dynamic cursor. Put simply, this is a special-purpose actor that we will create to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Native Mobile Development

Native Mobile Development

Shaun Lewis, Mike Dunn

Publisher Resources

ISBN: 9781784399450Purchase Link