Re:Show HN: Bubbles - my unfinished HTML5 Particle Game
by yjukaku on Friday September 28, 2012 @12:44PM
(#4586435)
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 :)
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 :)