need help in problem related to animation loop...

DsAngelDsAngel Member Posts: 29
edited November -1 in Working with GS (Mac)

in my scenario,
normal condition
char animation move and stop according to player press or release

special condition
char animation keep on move and wont stop once player press n when player release, the char animation still move...

in the special condition, i manage to make my char move but not the animation, the animation stop loop as soon as i release the button...

anyway possible to let the moving animation keep looping?

Thanks! :)


  • old_kipperold_kipper Member Posts: 1,420
    The way I manage lots of different states of animation, images, and motion is to have an actor attribute (an integer) called 'self state'. Put rules in the actor that play animation, images and apply motion for different states and have them dependant on the self state number. Then make rules for what you want to happen when touches are press and use those to change the self state number. While debugging use the display text behaviour to show what state your actor is in and finally remove the text display when it's all working.

    Hope that helps

  • DsAngelDsAngel Member Posts: 29
    Hey!! It works! :) Thanks!!!
  • old_kipperold_kipper Member Posts: 1,420
Sign In or Register to comment.