To Sparkyidr I think ? "Dood Jump"

AasimarAasimar Member Posts: 74
edited November -1 in Working with GS (Mac)
Hi !

I've your game "Dood jump" on my iPhone and I see you have doing an update to fix an "instant death" bug.
I've actually a problem like yours on my game, how have you fixed that and what was the bug exactly ?

Thanks!

S.

Comments

  • SparkyidrSparkyidr Member Posts: 2,033
    Hi Assimar

    It wasn't so much a "bug"...more like a feature of the way I had created it.

    In the old version, when you fell off the platforms (and your lives were > 1) it would recycle the jumper back to the top of the screen, and let him fall back to (hopefully) a platform. This caused an issue where if you fell early enough into a pit, appearing back at the top instantly could cause you to fall again into the same pit.

    All I did to solve that issue was :

    When the Y value was above the top of the screen after the fall, I had a timer that held him there for half a second before letting him drop.

    It's not the best fix in the world, but it does the job most of the time.
  • AasimarAasimar Member Posts: 74
    Oh okey.. thanks to answer me :)
Sign In or Register to comment.