How do I make platform character closer?

0 favourites
  • 14 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • How do I make my character in a platform game stand closer to the platforms? <img src="http://i.imgur.com/Zd2Z2.png" border="0" /> As you can see he is kind of floating there.

    As well (if its easy to explain) how can I make my character walk? I have all the pivots and such set up so he can walk but I can not figure out how to get him to move without just sliding.

  • Usually posting a CAPX for us to look at is a good idea. But it looks like when you imported your sprite into the game there was extra blank space around the image. double click on the image and click the icon that gets rid of that extra space. Or in the same editor, check your bounding box to make sure the bottom of the bounding box is lined up with the feet.

  • You also probably should have a look at Ashley's how to make a platform game tutorial, it should answer your question about setting animation/making the character walk.

    It might even help you to correct what you may have been doing wrong with your current character's animation frames.

  • And that is why your my favorite moderator Kyatric!   You know where everything is <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I followed ahsley's tutorial (though it is unfinished) it does not explain walking, it explains bobbing (which I already have him doing).

  • Usually walking has to do with animation and importing multiple sprite frames for one sprite object. This involves designing multiple images for one sprite outside of C2 and importing them into an animation within C2. Im sure there is some tutorial in here that covers this...

  • I have the frames all created, I am just not sure how to import them and assign them so that they only play when he is walking. I did import them earlier and though they are slightly choppy (I am new) they worked, but they played continuously not just when he walked.

  • ON Startup stop the animation for that sprite, then create event to see if the sprite is moving and play animation. another event will be inverted (if sprite not moving) the stop animation. I don't have an example capx to show you, but that is the theory. Can you post your capx to dropbox or somewhere so we can look at it and give better help?

  • Check out the CAPX downloads from this chat.

    It may give you ideas on how it works. There are probably easier ones to look at that do the same thing. http://www.scirra.com/forum/problem-with-animation-against-walls_topic48606_post305245.html?KW=walking+animation#305245

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can also check velojet's tutorial I think it does show the "missing" steps to have an animated controlled character.

    You can also take a look in the how do I FAQ under the sections "platformer" (mechanics and behavior), you should find what you need.

  • I followed ahsley's tutorial (though it is unfinished) it does not explain walking, it explains bobbing (which I already have him doing).

    My tutorial, which Kyatric has recommended, should show you how you can get your character walking (mine runs, but what's running but fast walking?)

    Let's know if it doesn't give you what you want - that'll help me to make it more helpful.

  • scirra.com/tutorials/243/building-a-platform-game-a-beginners-guide/page-6 I followed that tutorial and got my guy running finally, thank you all though.

  • You can change the collisions so the characters feet are at the ground. You double click the character so you get up the animations screen then the button to the left, click that one. I mean the one at the bottom to the left.

  • scirra.com/tutorials/243/building-a-platform-game-a-beginners-guide/page-6 I followed that tutorial and got my guy running finally, thank you all though.

    I'm glad that my tutorial was able to help you solve your problem, Sheep. If you like to vote it up, I won't mind <img src="smileys/smiley2.gif" border="0" align="middle">

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