Help with origins and animations

0 favourites
  • 6 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm in the still-a-complete-noob phase for C2, and I can't get animations working right. It's probably because of the origins for the sprites that are different sizes; I just don't know how to position them so that it doesn't freak out all over the place. Here's the cap if anyone wants to take a look at it:

    I appreciate any help. Hopefully I can adjust to the new program soon. <img src="smileys/smiley18.gif" border="0" align="middle" />

  • I'd suggest you to have some invisible sprite with the platformer behavior.

    This will be the sprite you will be controlling, and add the animations in another sprite which position you set to the invisible sprite each tick.

    The "controlling sprite" will be a "blank" sprite, but it won't get confused as either it is on ground or falling because of changing animations.

    The "animation sprite" itself will be purely visual.

    A bit like what's advised in CC really. I hope I'm being clear and you know what I mean.

  • Yeah, I know what you mean. I did that for a platformer in CC, but eventually got rid of it because everyone started saying it wasn't necessary. It didn't occur to me to try that this time. Thanks. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • because everyone started saying it wasn't necessary.

    Really ?

    Funny, I thought the opposite and that in lots of cases it saved the day.

  • Yeah, using a rectangular invisible sprite with no animations as the "real" platformer is pretty standard practice in CC, and should be in C2 for the same reason. I'd disagree with whoever told you otherwise!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe I only heard one person say that and I believed them so I wouldn't have to do extra work. <img src="smileys/smiley17.gif" border="0" align="middle" /> It's working fine now, thanks guys.

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