Attribute Types

by Justin (Updated on 2018-11-29)


Earlier in this chapter, you learned about Attributes, which are changeable and configurable properties of Behaviors. What kinds of Attributes are at your disposal?

Reference - The Types

Stencyl includes the following resource types.

Type Stencylpedia Article?
Actor Yes
Actor Group Yes
Actor Type Yes
Animation Yes
Anything ---
Boolean ---
Color ---
Control Yes
Font Yes
Image Yes
Image Instance Yes
List Yes
Joint ---
Map Yes
Number ---
Region Yes
Scene Yes
Shader Yes
Sound Yes
Text ---

What do the attribute configurators look like?

Here are some examples of common Attribute types and how they may appear on an Actor Type’s Behaviors page.

Attribute Type Appearance in Actor Type Editor > Behaviors
Actor Group stencyl-design-mode-actor-group-attribute
Actor Type stencyl-design-mode-actor-type-attribute
Animation stencyl-design-mode-animation-type-attribute
Boolean stencyl-design-mode-boolean-type-attribute
Color stencyl-design-mode-color-type-attribute
Control stencyl-design-mode-control-type-attribute
Font stencyl-design-mode-font-type-attribute
Number stencyl-design-mode-number-type-attribute
Scene stencyl-design-mode-scene-type-attribute
Sound stencyl-design-mode-sound-type-attribute
Text stencyl-design-mode-text-type-attribute

Gotchas

Something you might bump into fairly early on is shown in the following image:

Cannot configure

Why are some Attributes unconfigurable?

For the latter case, this can be addressed by customizing the Actor once it's inside a scene.