player pos is checked

This commit is contained in:
2024-01-16 17:47:31 +01:00
parent a1e732f167
commit 58c0df447c
10 changed files with 180 additions and 52 deletions

View File

@ -109,8 +109,9 @@ export default class extends AbstractView
if (this.my_player)
this.my_player.update_paddle(this.keys_pressed);
this.draw_game();
this.time.new_frame()
this.time.new_frame();
//clearInterval(loop_id);
// 1 sec fps
}, 1000 / 60);
}