how to control a animation as use the media player

lol0ttelol0tte Member Posts: 54
edited November -1 in Working with GS (Mac)
eg.when press the animation start.
when press the animation pause.
when press the animation back to the front.

can i make these functions?or use one or two?or none?

gs do not support video,i want to use the animation~

firemaplegames help me~

Comments

  • lol0ttelol0tte Member Posts: 54
    haha you're funny
    thanks~tshirtbooth~~~
  • lol0ttelol0tte Member Posts: 54
    but i could not find the "start animation rule,pause animation rule,start animation rule"
    could you tell me where it is~~~~
  • lol0ttelol0tte Member Posts: 54
    i see~
    but i just don't know how to make the rule to make a animation pause and start.
    is there any way to control the animation~?
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    For pausing animation you can try this hack...

    I have not tested this. It is based on an "issue" mentioned in the help docs for the animate behavior.

    Rule: when game.animate = 1
    Animate: 1 arbitrary frame, 30fps, Loop=N, Restore=Y

    If this rule interrupts a running animation, it should return you to the last displayed frame of the previously running animation once it completes.

    I can't think of a way to get it to start playing the previous animation from where it stopped... :-(
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @lol0tte: To have more control over your animations, I would use a Timer instead of the Animate behavior. I made a quick demo here:

    http://gamesalad.com/game/play/77625
  • felipeinfantefelipeinfante Member Posts: 8
    where I can download the proyect to see the things that you make in gamesalad.
    Chears!
  • firemaplegamesfiremaplegames Member Posts: 3,211
    I have a bunch of tech demos on my wall that you can dig through. On my wall, click on the Games link to view them in Safari on the web.

    The easiest way to see all my demos is to go to the Shared Projects tab in GameSalad Creator and do a search for 'firemaplegames'.

    You can just open them right up in GameSalad.
Sign In or Register to comment.