To Sparkyidr I think ? "Dood Jump"
Aasimar
Member Posts: 74
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.
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
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.