mist's Forum Posts

  • 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..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Thanks, I hope you are able to resolve this flashing issue because everything else works perfectly.

  • I have got the plugin working as i want now, but i also have a short flash before the transition starts! is reverting to the previous version the only option?

  • I have two ave created a layout and added the plugin and the transition works fine going to the next layout, but, when going to the next one from that, the transition doesn't work.

    Do I have to add the plugin to each layout I use?

  • Is it possible to have a transition load in my first layout before any player interaction?

  • There are so many exmples and templates in C2 but none for iPhone and iPad.

  • Where do i place the files?

    I placed the extracted folder into Construct2-->Exporters-->HTML5-->Plugins

    Opened construct and loaded your CAPX file but received this message: