mardoch's Recent Forum Activity

  • Thanks a lot 5Type!

    You just save my day ^^

  • Ok this is my fault. Maybe it was not clear enough.

    So here's a picture to illustrate my problem:

    <img src="http://www.mardoch.com/construct/runner002.jpg" border="0" />

    The player hang on my sprite "edge" and then continues to run once the animation is complete. I change its position thanks this code:

    Player1 : set position to "edge" (image point 1)

    But when there are several sprite "edge" in my layout, my character is put on the first sprite "edge" of the layout! It should remain at its current position instead.

    Is there a way to fix this bug?

    Thank you if you have the answer to this problem

  • Ok so I made some change, I create another sprite who is the controlled sprite and I change the position of the animated sprite to the controlled sprite.

    It's working much better now but there is a new problem: at the end of the climb animation, I want the controller sprite to be place just after the platform edge. But when there are several, it always comes back after the first one.

    How to place the controlled sprite just after the last platform edge which it collided with?

    Any help would be really appreciable because I'm getting mad with that!

    Here is the new file

  • Thanks a lot LittleStain, but on the end of the climb animation, the player is falling from the platform. I try to change the X position (Player1.X+10) on the end of the animation but it doesn't really work...

    Do I have to change the origin point on the climb animation?

  • Here's an example of what I want to do:

    <img src="http://www.mardoch.com/runner001.jpg" border="0" />

    Of course during this action the platform control must be desactivate.

    A solution anyone?

  • Hi there!

    I'm actually working on an small game like Canabalt. It's a very simple runner with a single touch to jump on different platforms. For now my player can run after the countdown and accelerate if he didn't meet any obstacle.

    When the player jump on a platform he can hang on, climb and continue to run. But I have some trouble to do this, I create a collision box that check if the player is on a platform border and then play the climb animation and after that run again.

    As you can see on the capx file there is a lot of bugs. I don't know if I'm using a proper method so if someone have another solution, it will be great!

    Thanks!

    Here is the file

  • Hi sman118, I have exactly the same problem.

    Did you fix the issue?

  • Seems to be a good tutorial but all the links are broken <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Hi,

    That's what I have done!

    I also create a new instance "FlyAction" to my object so I can get back to the platformer user input if the jump button is pressed again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I finally fund something that works, I just set the platform max fall speed to 0 and let the gravity to default.

    I also use both platformer an 8 direction inputs on flying.

    The when the player stop flying I change back the max fall speed to default.

    That's all!

  • In fact, my character has the ability to fly. The idea is to use the second jump before flying.

    For now i try to add a customMovement action but it doesn't change anything

    Here is the file:dl.dropboxusercontent.com/u/3523971/TestFly.capx

  • Hi everyone,

    I just discovered this great software and just starting to code my plateformer game. At the moment I have my player that can perform a double jump (thanks to the platformer:double jump topic) then I would like my player to settle in the air at the end of my second jump . For that I change the gravity to 0 and I turn on the player's 8 directions behavior and disables the platform user input.

    The problem is that my player deviated up without stopping.

    I have not found a solution for it until now, so if someone has a solution for a newbie like me, that would be nice ! Thank you! <img src="smileys/smiley1.gif" border="0" align="middle" />

mardoch's avatar

mardoch

Member since 21 Nov, 2013

None one is following mardoch yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies