Vertical Platform Again?

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

    I have been through all 3 threads about the problem of jumping on vertical platforms and tried the examples, I would just like to ask will this get fixed in a future version or do we need to find some sort of workaround for it?. The problem with all 3 workarounds is that it doesn't work on slopes, parts of my level have moving slopes but I can't jump on it. I'm assuming that if the problem gets fixed then this problem will also be solved.

  • Why can you not jump on them? 9 times out of 10 there are ways to work around this. I have not seen the other threads though. but if you tell me the problem or provide a capx i'll take on the challenge <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Thanks Smitchell

    Here is my capx

    dl.dropbox.com/u/57137706/test.capx

    As you can see you cant jump on the conveyor belt or the sloped platform moving up and down. I have not yet implemented the workaround since I know it doesn't work for slopes. There's also the problem that the player moves slightly when on the moving slope.

    Keys -

    Arrow keys for left and right

    Left shift for jump

  • Fixed it <img src="smileys/smiley4.gif" border="0" align="middle" />

    dl.dropbox.com/u/51270524/PlatformFixed.capx

  • Try Construct 3

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

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

    Many thanks smitchell.

    It didn't work for the objects going downwards but I've found a solution, with your code I was able to work it out. But my solution a bit jerky, is it possible for it to be smooth? Here the updated Capx

    dl.dropbox.com/u/57137706/test2.capx

    The problem is that when the moving platform moves down the collision between the player and the object keeps changing. So it's stuttering, it also sometimes automatically moves the player.

  • Here ya go <img src="smileys/smiley4.gif" border="0" align="middle" />

    dl.dropbox.com/u/51270524/PlatformFixed.capx

  • It doesn't seem to work because even if you do set the player to be the same angle as the slope, when the slope moves down the player object is still a nano second behind so it bounces. Basically the player object is always one pixel behind the moving platform when it moves down. I think what needs to happen is both the player object and the moving platform positions need to be moved together at the same time when the moving platform moves downwards.

  • Yeah <img src="smileys/smiley6.gif" border="0" align="middle" /> I can't seem to figure that one out though.

    Basically you can hide it in animation. When its animated and walking you can have a sloped walk animation, So if you tilt the feet to that 45 degree angle it should look alright. sorry

  • No probs, you've been a great help smitchell

    Many thanks

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