mist's Recent Forum Activity

  • Update: I just added another animation for walking left in Spriter and now it works. Only problem is when he stops moving he turns to the right instead of maintaining looking to the left.

    How to fix?

  • Hey guys,

    Im having an issue with my animation, here is a video to show the problem.

    And the event sheet

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ok, thanks for the clarification.

  • Hey,

    Is it best to include all the projects event sheets into one single file? Are there any performance benefits to doing it?

  • Nevermind, found it..

  • Where is the "Or" condition? i can't find it..

  • I can't figure this out, how is it supposed to look in an event sheet, anyone got an example Capx i can take a look at please?

  • Instead of using the keyboard to tell which animation to play, make it so the movement of the object sets the animation. This way either input method will result in the same group of events

    > PlayerSprite Platform Vector X > 0
        Set animation "Walk Right"
    
    PlayerSprite Platform Vector X < 0
        Set animation "Walk Left"
    
    PlayerSprite Platform Vector X = 0
    +Player.Direction = 1
        Set animation "Idle"
    Else
        Set animation "Idle Left"
    
    Keyboard Right is down
    OR
    Is touching TouchRight
        Simulate Move left
        Set direction to 1 
    
    Keyboard Left is down
    OR
    Is touching TouchLeft
        Simulate Move left
        Set direction to -1 
    [/code:68c7kf24]
    

    Sounds perfect, now i just need to figure out how to add that code..

  • I dont understand what you mean..

  • Hi,

    So i have a simple platform object with zero opacity and my character sprite pinned to it which changes animation depending on direction of travel. Everything works fine on keyboard controls, but not so much the touch controls.

    I have added left and right touch events using the "simulate control action" and the chracter does indeed move the desired direction, but none of the animations changes occur, i was hoping they would be inherited from the keyboard controls.

    maybe this screen explains better:

    Basically i want the same animation changes to occur for touch input as they do for keyboard.

  • Hi,

    I have a platform object with an animated sprite pinned to it, the problem im having is when i move my character to the left and then stop, the sprite immediately looks to the right!

    The way i have done it, is i have all my animated sprites pinned to the platform object with 0 opacity and have them appear by increasing the opacity.

    How can i have it "remember" or in some other way stay looking in the direction of last travel?

    Thanks

  • Hi,

    Please can someone advise how to force my sprite to face the direction of travel? i thought a simple "is mirrored" action would suffice, but now the sprite ALWAYS faces left, even when moving to the right.

mist's avatar

mist

Member since 12 Feb, 2014

None one is following mist yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies