animation actor

ikiki68ikiki68 Member Posts: 9
edited April 2012 in Working with GS (Mac)
do I have a problem with the animation of my actor, when I walk towards the line I wants that it attacks towards the line and when I similar how will make towards the left??

Best Answers

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    Are you trying to make an actor turn around? If so, you would need to have a rule that says When the actor is facing left Animate with left-facing images.
  • simo103simo103 Posts: 1,331
    Accepted Answer
    @tatiang and @ikiki68 couldn't you use the flip horizontally in the actor graphics attribute?
  • MotherHooseMotherHoose Posts: 2,456
    edited April 2012 Accepted Answer
    how does the Actor move? … buttonControls or motionAttributes ?

    for animation Left and Right:
    demo for: Graphic > Flip horizontally from false/true …
    with only one set of images needed for both directions
    ---http://www.mediafire.com/download.php?rgel884lpf3myb9

    @};- MH
  • MotherHooseMotherHoose Posts: 2,456
    Accepted Answer
    game.direction in demo:
    0 = stand still
    1 = face Left
    2 = face Right

    add a gameAttribute … boolean type … name: attack

    Rule: when
    Attribute: game.attack = true
    --Animate: attackImages

    animations occur with the correct/current Graphics.Flip …

    can you upload your project? … so we can see the problem
    or email to me @gmail.com?

    image MH

Answers

  • ikiki68ikiki68 Member Posts: 9
    and how do I make which action?
  • ikiki68ikiki68 Member Posts: 9
    yes his ok but I does the actor want that when is in left position which it tackles left animated and when the actor has right animation attacks has right you understood?
  • ikiki68ikiki68 Member Posts: 9
    my mail is kiki941@hotmail.fr sent your mail I sent my project to you
Sign In or Register to comment.