what do the attributes mean

bushidogamesbushidogames Member Posts: 23
edited November -1 in Working with GS (Mac)
hi i am new and don't what all the attributes do

Comments

  • Rob2Rob2 Member Posts: 2,402
    .
  • Rob2Rob2 Member Posts: 2,402
    ..
  • bushidogamesbushidogames Member Posts: 23
    i mean integer and boolean those ones
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,577
    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!

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • bushidogamesbushidogames Member Posts: 23
    thanks so what do the others do
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,577
    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.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    What they said. But here is the info on that as well:

    http://gamesalad.com/wiki/how_tos:gsc_create_attribute
  • bushidogamesbushidogames Member Posts: 23
    thanks helps alot
  • chosenonestudioschosenonestudios Member Posts: 1,714
    Geez... I think newcomers shouldn't have access to the forums for like a month after they join....
  • POLYGAMePOLYGAMe Member Posts: 3,470
    But we wouldn't get to have fun answering their silly questions with silly answers.
  • POLYGAMePOLYGAMe Member Posts: 3,470
    Like this:

    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.’
  • chosenonestudioschosenonestudios Member Posts: 1,714
    POLYGAMe said:
    But we wouldn't get to have fun answering their silly questions with silly answers.

    True True... Haha
Sign In or Register to comment.