Can I use LOOP function in windows?

Hi, I watched a video explaining the power of using "LOOP" function, however, I could not find it in my creator which is for windows. Is it available in windows? Thanks

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    It is not available in the stable build for Windows or Mac. It exists only in the Nightly builds available to Pro users, and only for Mac. The plan is to add it to the next stable version for Mac -- and I would guess for Windows as well since GameSalad is working on a cross-platform version of Creator.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited February 2014
    Hi @ss05043 I do believe there is now a Loop Behaviour but this is only in the nightly builds; it certainly hasn't found its way into the main Mac version of GSC yet...

    But loops can be made with the existing behaviours and Rules. So you can make your own loops in Windows in much the same way as is done for the Mac version.

    There's a few ways to make a looping "mechanism"; here's just one way I put together about three years ago (and have used a lot with success)...

    Make a boolean attribute, let's call it Loop, and an integer attribute, called Count.

    Rule: When Loop is true
    Change Attribute Count to Count +1
    ---do your stuff
    ---if involves behaviours over time, add at end a Timer--
    Timer: After ?? seconds
    Change Attribute Loop to false

    Rule: When Loop is false and Count < ?? --your max. amount of loops needed, -----or if no limit, don't include the Count<-- or the change att. behaviour in the above rule
    Change Attribute Loop to true

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

  • PandaParentsPandaParents Member Posts: 64
    Thanks a lot for the instruction!
Sign In or Register to comment.