Set Animations

WSWWSW Member Posts: 7

Hi everyone. So I’m building a word game where in each level, I want the character to run through three animations (two that release a letter at the end, one that doesn’t). I want to make each animation an actor, but I was having trouble figuring out animating directly into the GS layout. That’s because the character isn’t just running in a straight line between point a and b, but up and down a crooked branch.

https://app.box.com/s/cqn2d80h1w9juo5plylw

Using Move To creates this weird loop that brings him back to the starting point if I use more than two Move To attributes in sequence. I’ve tried to add a rule where self.position.x equals the last x point reached in hopes of stacking another Move To attribute, but it just stops at the x/y coordinate of the second Move To. I tried to use interpolate, but it didn’t allow for the animated flexibility I needed (or maybe I just used it wrong?).

https://app.box.com/s/6xcr93152rx1u71rpw6c

Any thoughts? Thanks in advance.

Best Answer

Answers

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    What you are doing should work.

    MoveTo: 400, 600
    When position.X = 400
          MoveTo: 510,570
    When position.X = 510
          MoveTo: 600,545
    
  • WSWWSW Member Posts: 7

    Hi RThurman. First of all, thanks for helping out.

    So I placed the attributes as you noted, but it didn't even get to the second plot point, the 510/570. Then, I took the MoveTo: 510,570 attribute out of the When position.X rule, and it did move over to 510/570, but it still didn't move to the third point, the 600/545.

    I tried to mess with the interpolation attribute, but the lack of dual coordinates doesn't help me.

    Thanks again for any help.

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    @LedeBox‌ -- Give this demo a try:

  • WSWWSW Member Posts: 7

    Hey RThurman,

    So I mirrored your file with mine, made sure all the boxes were checked and the pulldowns match... and it still doesn't advance past the second move to.

    Here's the file I'm working on. If you can make something of it, great, if not, no worries and thanks for your time so far. At least I know I was/am on the right track.

    https://app.box.com/s/dm6uo67gvvfceujakqgx

  • WSWWSW Member Posts: 7

    You Rule RThurman... thanks!

Sign In or Register to comment.