Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Do not move off the left or right side

Turns out if you do this, then hold the up key, it would appear that you avoid collision detection. Also, it appears your X position is preserved between levels, allowing you to hold the up arrow to rapidly advance levels.




For extra fun, remove the "uncompressed" onkeydown added at the end, then you can hold down the spacebar to do big jumps.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: