1: Getting Started
2: Building Logic
5: Game Mechanics
6: Advanced Topics
7: Testing & Tuning
8: The Last 10%
M1: Mobile - Intro
M2: Mobile - Basics
M3: Mobile - Services
M4: Mobile - Publishing
B: How-To Guides
3.0 Drafts (In Progress)
Earlier in this chapter, you learned about Attributes, which are changeable and configurable properties of Behaviors. What kinds of Attributes are at your disposal?
The 16 Types
Stencyl includes 16 different Attribute Types, corresponding to most of the resource types within Stencyl.
Here are some examples of common Attribute types and how they might appear on an Actor Type’s Behaviors page.
Something you might bump into fairly early on is this.
Why are some Attributes unconfigurable? They fall into two categories.
For the latter case, this can be addressed by customizing the Actor once it's inside a scene. We've got an entire article devoted to customizing actors.
Game Attribute Attribute - What's that about?
The Game Attribute Attribute is a tongue and mind twister. It was originally intended to help behavior authors create behaviors that would be used across-games by letting the game specify which of its game attributes to use within a behavior.
This practice has since been superceded by a lesser known fact - you can create and use Game Attributes on the fly while the game is running, thereby making this use case obsolete. We'll be removing the Game Attribute Attribute type in the future in order to make room for more useful types.
Last Updated: 2013-02-17 by Joe
12644 have read this article
Disclaimer: The Stencyl Team does not actively monitor comments on articles. If you're seeking help for your game, please ask a question on the forums. Thanks!