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 | ![]() |
Actor Type | ![]() |
Animation | ![]() |
Boolean | ![]() |
Color | ![]() |
Control | ![]() |
Font | ![]() |
Number | ![]() |
Scene | ![]() |
Sound | ![]() |
Text | ![]() |
Gotchas
Something you might bump into fairly early on is shown in the following image:
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
A small difference:
Attributes: Useful as shortcuts, making behaviors.
Game Attributes: Can be saved/loaded when using save/load events.
0
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
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
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
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
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
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
emerarudosempai
First comment huh? Just saying but... These guides don't really help... Me at least... AT ALL.
-7
First comment huh? Just saying but... These guides don't really help... Me at least... AT ALL.
-7