Can I use LOOP function in windows?
PandaParents
Member Posts: 64
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
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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