gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
Hi bushidogames, welcome to the Forum.
bushidogames said: i mean integer and boolean those ones
Straightforward: boolean is on or off; true or false; yes or no. Like a switch, or a toggle. So if something is set to work if a boolean attribute is true, but it's still false, nothing will happen until it is true, for instance.
Integer is any number whole number, negative as well as positive. Lots of uses; an example would be a first level score; you'd set the attribute to 0, and script in the Rules to add say, 50 every time an enemy is destroyed. So the first time that happens, this particular attribute then has the value of 50.
Hope that helps. It's a constant but enjoyable learning curve for quite a while, off your own bat as well as the more experienced (and not so experienced, like myself) guys helping here. So good luck with GameSalad; mind you don't get addicted!
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
OK; maybe other members will correct me or add more detail to the following, if required:
Text attribute is for, you've guessed it, text. This is used to update the Text Behaviour contents, for instance.
Real numbers are more than the following explanation, but enough to say, if you wanted 3.569, for instance, you'd use a real number attribute instead if integer.
Angle attributes are just that; specifically used in the Expression Editor again. I don't know enough about this one to tell you more. (don't know why integer or real woudn't do).
Index i'm not sure about, but hey, 5 out of 6 ain't bad! :-) It seems that it has quite a few meanings in mathematics, one of which is used for arrays, which is quite interesting to me. Arrays aren't implemented in GS, so it can't be that. Perhaps someone else will chime in here.
The two most regularly used attributes by the vast majority of people will be boolean and integer. Hope that helps.
attribute verb |əˈtriˌbyoōt| [ trans. ] ( attribute something to) regard something as being caused by (someone or something) : he attributed the firm's success to the efforts of the managing director | the bombing was attributed to the IRA. • ascribe a work or remark to (a particular author, artist, or speaker) : the building was attributed to Frank Lloyd Wright. • regard a quality or feature as characteristic of or possessed by (someone or something) : ancient peoples attributed magic properties to certain stones.
noun ( attribute) |ˈatrəˌbyoōt| a quality or feature regarded as a characteristic or inherent part of someone or something : flexibility and mobility are the key attributes of our army. • a material object recognized as symbolic of a person, esp. a conventional object used in art to identify a saint or mythical figure. See note at emblem . • Grammar an attributive adjective or noun. • Statistics a real property that a statistical analysis is attempting to describe. DERIVATIVES attributable |əˈtribyətəbəl| adjective attribution |ˌatrəˈbyoō sh ən| noun ORIGIN late 15th cent.: as a noun from Old French attribut, and as a verb from Latin attribut- ‘allotted,’ both from the verb attribuere, from ad- ‘to’ + tribuere ‘assign.’
Comments
http://gamesalad.com/wiki/interface_reference:game_attributes
Scene Attributes:
http://gamesalad.com/wiki/interface_reference:scene_attributes
Actor Attributes:
http://gamesalad.com/wiki/interface_reference:actor_attributes
Integer is any number whole number, negative as well as positive. Lots of uses; an example would be a first level score; you'd set the attribute to 0, and script in the Rules to add say, 50 every time an enemy is destroyed. So the first time that happens, this particular attribute then has the value of 50.
Hope that helps. It's a constant but enjoyable learning curve for quite a while, off your own bat as well as the more experienced (and not so experienced, like myself) guys helping here. So good luck with GameSalad; mind you don't get addicted!
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Text attribute is for, you've guessed it, text. This is used to update the Text Behaviour contents, for instance.
Real numbers are more than the following explanation, but enough to say, if you wanted 3.569, for instance, you'd use a real number attribute instead if integer.
Angle attributes are just that; specifically used in the Expression Editor again. I don't know enough about this one to tell you more. (don't know why integer or real woudn't do).
Index i'm not sure about, but hey, 5 out of 6 ain't bad! :-) It seems that it has quite a few meanings in mathematics, one of which is used for arrays, which is quite interesting to me. Arrays aren't implemented in GS, so it can't be that. Perhaps someone else will chime in here.
The two most regularly used attributes by the vast majority of people will be boolean and integer. Hope that helps.
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
http://gamesalad.com/wiki/how_tos:gsc_create_attribute
attribute
verb |əˈtriˌbyoōt| [ trans. ] ( attribute something to)
regard something as being caused by (someone or something) : he attributed the firm's success to the efforts of the managing director | the bombing was attributed to the IRA.
• ascribe a work or remark to (a particular author, artist, or speaker) : the building was attributed to Frank Lloyd Wright.
• regard a quality or feature as characteristic of or possessed by (someone or something) : ancient peoples attributed magic properties to certain stones.
noun ( attribute) |ˈatrəˌbyoōt|
a quality or feature regarded as a characteristic or inherent part of someone or something : flexibility and mobility are the key attributes of our army.
• a material object recognized as symbolic of a person, esp. a conventional object used in art to identify a saint or mythical figure.
See note at emblem .
• Grammar an attributive adjective or noun.
• Statistics a real property that a statistical analysis is attempting to describe.
DERIVATIVES
attributable |əˈtribyətəbəl| adjective
attribution |ˌatrəˈbyoō sh ən| noun
ORIGIN late 15th cent.: as a noun from Old French attribut, and as a verb from Latin attribut- ‘allotted,’ both from the verb attribuere, from ad- ‘to’ + tribuere ‘assign.’