Animate Problem

JarivespaJarivespa The NetherlandsMember Posts: 65
Hi there.

Im bussy with a game and i am stuck. its kind of TempleRun but then from the side.
My problem: when the Player is running and i press the roll button, it will roll, stand up, and it wont run anymore

what i did was this.
rule: attribute: game.roll= true do: animate(roll antimation)
otherwise: change attribute to flase
animate (run animation)
When i place the run animation outside the ''change attribute to flase'' it will run and roll at once.
i hope you guys can help me.

sorry for my bad english
-BWG

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    It doesn't look like you're changing roll to false after the animation.
  • JarivespaJarivespa The NetherlandsMember Posts: 65
    what do i have to do then?
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Set it up like this:

    If game.roll = true
    Play roll animation
    Change game.roll to false (you may need this in an after timer)

    If game.roll = false
    Play run animation
  • JarivespaJarivespa The NetherlandsMember Posts: 65
    well... now it is rolling when i press play. and then it wont animate anymore
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    No idea what you're doing from your posts alone but you're not setting it to false in the right place in your original post which is why it does not run again after rolling.

    This to me looks correct but I've not got the file or animations to test it with

    If game.roll = true
    ..Play roll animation
    ..Timer: After x seconds (replace x with length of roll animation)
    ....Change game.roll to false

    If game.roll = false
    ..Play run animation

  • JarivespaJarivespa The NetherlandsMember Posts: 65
    @KevinCross what i get now: i have to hold the roll button. what is your Email. i will send you the animations. hope you can help me.
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Ok just send the animations and I'll try and put them in a standalone project. I'll PM you my details. I'm on a bus home from work so can't look at it right away
Sign In or Register to comment.