Controlling player animation

  • I am still playing catch up with C2, and i am struggling to work out how to implement animations for a player using platform behaviour.

    Ive managed to work out how to import the individual frames but i am stuck.

    Is there any tutorials or examples i could look at?

    I searched but everything was for Classic.

    <img src="smileys/smiley9.gif" border="0" align="middle" />

  • For each object, there is an option to import as many separate animations as you want. Right click in the 'animations' box on the right of your screen when you are in the 'edit animations' window and click 'new animation'. Now you have the capability to add as many animations as you want for a single object.

    These animations can be changed and manipulated by the event sheet.

  • For each object, there is an option to import as many separate animations as you want. Right click in the 'animations' box on the right of your screen when you are in the 'edit animations' window and click 'new animation'. Now you have the capability to add as many animations as you want for a single object.

    These animations can be changed and manipulated by the event sheet.

    Thanks for the reply,

    I have worked out how to create and import the animation frame's...

    I have a sprite with the following animations:

    Idle

    Walk

    Jump

    Fall

    For some reason I can't work out how to create the events to trigger each animation.

    (I am also using a dummy sprite with platform behaviour)

    Somebody must have posted a tutorial or example for this?

  • Hello chrisbrobs

    Here is a quick example I through together for you.

    Platform Animation Example

    Hope this helps.

  • Hello chrisbrobs

    Here is a quick example I through together for you.

    Platform Animation Example

    Hope this helps.

    Cheers Wink

    I wasnt even aware of...or used the the following actions / conditions:

    Set animation to "WalkRight" (play from beginning)

    Simulate Platform pressing Right

    Somebody needs to write a tutorial about animations for C2...unless its just me ?

    Thanks again.

    <img src="smileys/smiley9.gif" border="0" align="middle">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would this maybe help?

    Its more or leess a WIP but I think it has what youre looking for.

    platform animated movement

  • Would this maybe help?

    Its more or leess a WIP but I think it has what youre looking for.

    platform animated movement

    Thanks Mius.

    This is perfect.

    <img src="smileys/smiley1.gif" border="0" align="middle">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)