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

I added

this.x_velocity * = .98;

this.y_velocity * = .98;

in the player update function. (right after line 346 of bubbles.js)

Controls become a lot easier, but that's my personal preference. You can add the lines in the chrome source inspector, then ctrl+s to save. No need to refresh :)



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

Search: