As of late 2021, we are in the process of updating Stencylpedia and fixing up outdated & broken content. Thanks for your patience!

60,851

Views

Beginner

Level

7

Comments

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?

  • There's nothing to configure, or the configurator would be of limited value. (e.g. Image Instance, Shader)
  • It's an Actor behavior, so until the actor's actually inside a scene, there's no context for being able to pick out a specific (Actor or Region)

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

Print Article Edit Article How to Edit an Article
Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

7 Comments

Chris24XD
A small difference:
Attributes: Useful as shortcuts, making behaviors.
Game Attributes: Can be saved/loaded when using save/load events.

0 4 years, 5 months ago
Jon
The other 4 are unconfigurable attributes that won't show up when configuring a behavior.
1 10 years, 10 months ago
trwilson3
This guide only lists 12, where are the answers for the other four attributes?
Also seems like we need two more for messaging, and gravity.

Ted

0 11 years, 2 months ago
toscano
When you say that these guides don't really help ..., I could say that game programming is not for you.
don't give up, do it for fun like me at least.
Thank you everybody.

2 11 years, 10 months ago
coolernow123
Game Attribute Attribute really confused me, lol
-1 11 years, 11 months ago
andyclark
The Guides are PRICELESS and I find them very helpful. Game making is VERY complex yet some people expect it to be easy. I downloaded Stencyl for free, I made some free games to amuse myself. I have not yet paid my $199 but I will in a couple days when i got the money. Anyone who complains about anything they get for free (like poster below) is not thinking straight IMO. Thank you, Stencyl.
3 12 years, 1 month ago
emerarudosempai
First comment huh? Just saying but... These guides don't really help... Me at least... AT ALL.
-7 12 years, 1 month ago

Sign In to Comment