toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Animate with timer
fzeed
Member
Posts:
247
April 2011
edited November -1
in
Working with GS (Mac)
I want my actor to only animate every X seconds. Using a timer isn't working for me. Any other ideas?
Comments
expired_012
Member
Posts:
1,802
April 2011
A timer should work
try creating a boolean attribute like "animate"
then put a timer that says every X seconds change att.animate to true
DO NOT check run to completion
Then a new rule,
when att.animate is true,
1)animate behavior
2)Timer: After Y seconds run to completion
-change att. animate to false
fzeed
Member
Posts:
247
April 2011
Ahhhh, that did it! thanks!
Sign In
or
Register
to comment.
Comments
try creating a boolean attribute like "animate"
then put a timer that says every X seconds change att.animate to true
DO NOT check run to completion
Then a new rule,
when att.animate is true,
1)animate behavior
2)Timer: After Y seconds run to completion
-change att. animate to false