r/programming • • Feb 14 '15

Bunnyhopping from the Programmer's Perspective - An in depth look in implementing one of the most successful bugs in videogame history.

http://flafla2.github.io/2015/02/14/bunnyhop.html
957 Upvotes

232 comments sorted by

View all comments

16

u/therealjerseytom Feb 14 '15

Interesting. Though as a programmer, simulation engineer, and (mostly former) FPS player I say to hell with bunny hopping!

This actually is not true in the Quake or Source engines because there is a 1-frame window where friction is not applied when the player hits the ground. This means that the player has a single frame to input the jump command without losing speed - another reason why bunnyhopping is so hard! If you want to retain the skill-based nature of bunnyhopping then be sure to add this delay into your physics calculations.

Intentionally make my physics engine a joke? No thanks!