You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fun fact: the way that The Impossible Game 2 handles inputs during gameplay is very interesting.
There's a playerInput variable that's either "up", "down", or "justDown"
Then there's a blockJumpUntilReleased variable, that prevents you from holding jumps (e.g: don't jump after using a powerup)
Most importantly there's a justDownInputTimer variable that is set to ten when playerInput is "justDown", and shrinks every frame to zero. This makes buffering possible (e.g: holding slightly before a double jump powerup)
However, the skateboard powerup prevents the justDownInputTimer from setting to ten. This is important as the game checks if that variable is GREATER than zero, not greater than or equal:
This means that NS arrows, TIGI arrows, and other stuff don't work in the skateboard.
Funnily enough, there's an isDown variable that checks if the playerInput is down, or if the justDownInputTimer is greater than zero. This means that you can click slightly (10 frames) after your first jump. Try this in one of your levels, just jump a bit before you land the ground!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Fun fact: the way that The Impossible Game 2 handles inputs during gameplay is very interesting.
There's a
playerInputvariable that's either "up", "down", or "justDown"Then there's a
blockJumpUntilReleasedvariable, that prevents you from holding jumps (e.g: don't jump after using a powerup)Most importantly there's a
justDownInputTimervariable that is set to ten whenplayerInputis "justDown", and shrinks every frame to zero. This makes buffering possible (e.g: holding slightly before a double jump powerup)However, the skateboard powerup prevents the
justDownInputTimerfrom setting to ten. This is important as the game checks if that variable is GREATER than zero, not greater than or equal:This means that NS arrows, TIGI arrows, and other stuff don't work in the skateboard.
Funnily enough, there's an
isDownvariable that checks if theplayerInputis down, or if thejustDownInputTimeris greater than zero. This means that you can click slightly (10 frames) after your first jump. Try this in one of your levels, just jump a bit before you land the ground!Made with care,
- d016/e016
Beta Was this translation helpful? Give feedback.
All reactions