Sprite sheet's different states

0 favourites
  • 7 posts
From the Asset Store
State Machine
$10.99 USD
State Machine is a great tool for managing the state of anything in your game.
  • Hi. I'm new to Construct, and sprite sheets so please be gentle! <img src="smileys/smiley5.gif" border="0" align="middle"> I've been doing a couple of platform game tutorials but haven't found out how to set the different states of a sprite sheet ("idle", "jump", "run" and so on) in Construct2. Is there any tutorial on this topic? I have searched ... <img src="smileys/smiley29.gif" border="0" align="middle"> I found I can make sprite sheets from Flash via Grant Skinners "Zo?".

    Waiting and hoping

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

  • Have you tried using 'Set animation'?

  • I'm not sure about what you ask here.

    Do you want to know how to add several animations to a sprite, importing frames from a sprite sheet ?

    If so, when you're done with the procedure in that page of the tutorial, right click the "Animations dialog"

    <img src="http://www.scirra.com/images/articles/renameanimationidle.png" border="0">

    And select "Add a new animation".

    From there you'll be able to import again frames and have a new animation usable in your sprite.

    As Ashley said, if you want, in events, to display another animation of your sprite, use the sprite action "Set animation".

    Does that answer your question ?

    Maybe a little read through the manual could help you up picking the vocabulary and ways of working with C2.

  • Thank you. I have browsed through the manual but read only the "Image and Animations Editor" chapter. But I can see the sense in knowing the vocabulary! What I thought was possible was to import a spritesheet with a characters animations and then make different animations from different frames in the spritesheet. Seems to me I have to make different spritesheets for different animations?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think you have to use one animation per sprite sheet because when you import it it all ends up in the same animation in the animation editor. You're best bet may be to crop your sprite sheet into individual animation sprite sheets. I suppose you could import the whole thing and delete the frames you don't need from the editor, which may take long if you have a large sprite sheet.

    Also, keep in mind that there are a lot of handy "Help" hyperlinks throughout construct(for example in the properties pane on the left while the animation editor is open) that will take you to a relevant page in the manual when clicked. It really is a lovely feature that will improve your knowledge of the specific subject you want to focus on without having to take the time to read and remember everything all at once.

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

  • My apologies for ressurecting a dead horse but I was wondering if it is possible to use a sprite sheet without it getting chopped into individual frames again on export. This will save a lot of downloading.

    Edit: As usual the I am probably being a numpty disclaimer applies.

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