Problem with: How to make a platform game tutorial

0 favourites
  • 7 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Hi Guys,

    Complete newbie here, just started today, so sorry if this problem have been brought up before, but I couldn't find any previous topic about it.

    I have been following Ashley's tutorial to page 6 and just finished setting up the Character animation. Not sure if this tutorial is so old that it doesn't work correctly with latest build of Construct 2?

    But for some reason when I am jumping from standing (JumpFromStand) no animation is played out on the screen. However (JumpFromRun) works fine.

    One other things that also seems not work correctly is when landing on a platform and keep on pressing forward the character just starts sliding instead of running.

    I am lost to why the animation is not working properly, I am pretty sure I have not messed up, as I have been following the tutorial 100%.

    Here is the .capx file.

    Thank you in advance for any help provided.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Animations "idle" and "run" are triggered by the same condition - platform is moving.

    You should invert the one with "idle".

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

  • Kastas is right, as they stand your events read "Platform is moving: set 'Run' animation - Platform is moving: set 'Idle' animation". Maybe you missed this part of the tutorial on page 6:

    o make the above event you'll also need to invert a condition (appearing as the red cross). Inverted conditions mean the opposite of what they state. In this case, the inverted "Platform is moving" condition then means "Platform is NOT moving". To invert a condition, add it normally, then right-click on it and select Invert. Alternatively, select it and press I.

  • Hmm, looks like I didn't read the tutorial 100% after all, not sure how i missed that, I been reading that page over and over now so many times.

    Thanks a lot Kastas, that helped.

    To tired i guess <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Hello every one, this is my first time here, enjoying the program very much, I'm currently going through the how to make a platformer tutorial and have run into a problem on this page like the original poster.

    scirra.com/tutorials/253/how-to-make-a-platform-game/page-6

    I can't get the jump from standing animation to activate, whenever the platform jumps it always plays the jumpFromRun animation, here's a screenshot of my events sheet, as far as I can tell It's correct but I would appreciate any help pinpointing where I've gone wrong.

    <img src="http://www.lameframe.net/example.jpg" border="0" />

    Many thanks and sorry for digging up an old thread.

    Matt

  • It looks like "Platform on jump" is always moving so sub-event "Platform is not moving" is never true.

    Works like that

    <img src="http://dl.dropbox.com/u/3232744/jump.png" border="0" />

  • Thanks that did the trick, i had a feeling that jumping should count as moving but wanted to follow the tutorial by the letter, but I guess it might have been from an older version.

    Thanks again.

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