Jump through platform problem

digitalzerodigitalzero Member, BASIC Posts: 639
edited December 2014 in Working with GS (Mac)

as i am creating my jump through platform i have ran into a very ANNOYING PROBLEM... if you jump through the platform the hero will jump on top but as you jump down and run into the platform it does not update and you just end up running right into the platform... UNLESS you go away from the platform and then it seems like it will update... i have put a video in the post as well... i have a collide rule placed on the platform and here is the rule i have placed

when player y is greater than the self position y +20 collide with the heros


Original Video - More videos at TinyPic

Comments

  • digitalzerodigitalzero Member, BASIC Posts: 639
    edited December 2014
  • digitalzerodigitalzero Member, BASIC Posts: 639

    click on the link up above to see what im talking about

  • ashtmjashtmj Member, PRO Posts: 405

    add a new real attribute to you ledge/platform called core Y

    then

    change self.core Y to self position Y.

    then a rule

    if player Y is greater then self.core Y

    change self.position Y to self.core Y

    and in the other wise

    change self.position Y to -40 ( this will take it off screen if the player is under it)

    hope this helps!
    -Ash

  • digitalzerodigitalzero Member, BASIC Posts: 639

    hey @ashtmj this method did not work for me unfortunately... i just want this game to be seamless without any coding flaws... im not sure why its not working but its annoyyyiiinnnggg @socks do you have any suggestions?

Sign In or Register to comment.