****Clock feature help*****

MOVProductionsMOVProductions Member Posts: 53
edited November -1 in Working with GS (Mac)
I am trying to make a game in which the background changes everyday with the clock feature and wanted to know how to do that. Or changes between morning and night. Thanks

Comments

  • COBGamesCOBGames Member Posts: 114
    You can set a rule if device > clock > hour is greater or less than a certain time have it do something. It is 24 hour time.
  • msonesmsones Inactive, Chef Emeritus Posts: 75
    The template should help you do this by yourself. Check out the following for some help:

    Open GameSalad
    Open template called "OSTime Demo"
    - if it does not appear, type in "OSTime Demo" in the search box; use the one that shows the red LED clock

    Open the "Time Lapse" scene
    Open the "Rotating Sky" actor

    Follow the instructions / copy the actors here. You'll need to create a self.attribute called "TimelapseMultiplier". The game.clock.time attributes are found under "devices". You should only need the attribute found in the group titled "SkyDome Rotation".

    I've also copied this question to Cookbook - if you'd like to ask yours as a related question that could be a good place to do it.

    http://cookbook.gamesalad.com/#query=creator&question=4e550f5fdb04ec610a000023
  • MOVProductionsMOVProductions Member Posts: 53
    Thank you both so much
Sign In or Register to comment.