Attributes for whole game

SuperbucSuperbuc Member Posts: 17
edited November -1 in Working with GS (Mac)
Even if there are many limits, I find that gamesalad is very useful to do simply a game !

1) Anyway, I'd like to know if there's a way to change values of attributes for the whole game, or I need to place an actor in a scene only.
In my game I need some values changes depending on time, but they're not only in one scene, but for all the game.
As example, level of heat or level of rain.
Now I've done a transparent actor in the main command scene, but it has some limits.
For example, if you stay for 10 seconds, you have a change of one attribute.
But if you change scene your 10 seconds stops, and they run again when you return.
The same is if I place the same actor in all the scenes, each time the timer began again.

This is only an example, but not all the attributes are dependent from time, so I cannot use game.time.

Is there a way to have an actor valid in all the game, indipendently from the scene in which you are ?
Hope this is clear...

2) The second question is:
I have these attributes, and they change depending of the time or depending of other attributes (too much sun is lower water, as example).
Have I to use the constrain attribute or the change attribute ?

In my game I have very few movements, and all attributes are related to expressions, or other attributes. No one is depending from a movement.

3) Last question (sorry!):
I have a start screen with load, save, new game and so on. How to exit game ? I've tried in my iPhone, and each time I press the icon of the game it starts from the last scene, as it where freezing on it. Is there an attribute to stop and exit game ?

Thank you, this forum is really the best, and thank you for all your ideas!

Comments

  • SuperbucSuperbuc Member Posts: 17
    Thanks but on No. 1) I can only use an attribute if I put it on scene, isn't it ?

    If something happens each 10 seconds, it must be in an actor and this actor must be in a scene. If I change scene, the actor (and the timer) stops. Is it right ?
    I'd like to use an actor indipendently from the scene...
  • StusAppsStusApps Member, PRO Posts: 1,352
    That would be a behavior not an attribute
  • SuperbucSuperbuc Member Posts: 17
    Ok, I've read on it, but I have to place the behavior into an actor, and put the actor in a scene, isn't it ?
    I want the behaviour is running and valid for the whole game. How to do ?
  • SuperbucSuperbuc Member Posts: 17
    I am stupid !
    I haven't seen another change attribute, blind into code, that makes weather change. Now seems to be right.

    I'll publich the beta of the game in my space, (please note I've left some control attributes that I'll delete later).
    Someone would like to give me a feedback ?
  • calvin9403calvin9403 Member Posts: 3,186
    maybe you should watch these videos
    http://www.youtube.com/user/GameSaladCookbook#p/
Sign In or Register to comment.