game: paddle can move

This commit is contained in:
2024-01-17 14:47:53 +01:00
parent 2bd0624100
commit 3dc07803eb
2 changed files with 4 additions and 9 deletions

View File

@ -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);
}