1
Game Design! / Re: I have Ripped some IWBTG Spites.
« on: December 22, 2009, 04:57:59 pm »
Did you rip the save file from the Fangame?
Chat button has been eaten. Click here to join in the idling fun!
How about you start the jump when the button is pressed, and end it when it is released (or been in the air for too long).
Then, for the variable jumping, you have two timers (The first must end before the second timer):
One is the minimum amount of time to continue jumping for, during which if the jump button is released, it ignores it and the character continues to gain height, so it is effectively a minimum cap.
The second is the time at which you stop gaining height regardless of whether the button was released or not, effectively a maximum cap.
When the first timer ends, you just keep checking for when the jumping button has been released (or if it has been released already), and if it has, just end the jump.
If the second timer ends, you would have reached the maximum jump height (because the jump key was not released), so the jump also ends.
Ive been banned on Newgrounds before. Cant remember why.