game: paddle can move
This commit is contained in:
@ -48,7 +48,7 @@ export default class extends AbstractView
|
||||
this.my_player.update_paddle(this.keys_pressed);
|
||||
this.draw();
|
||||
this.game.time.new_frame();
|
||||
clearInterval(loop_id);
|
||||
//clearInterval(loop_id);
|
||||
// 1 sec fps
|
||||
}, 1000 / 60);
|
||||
}
|
||||
|
Reference in New Issue
Block a user