Resize Game?

Hi @Thundros,
At first glance, it seems that you should calculate __GAME_WIDTH and __GAME_HEIGHT before using them in your resize function.
Sometimes window.innerHeight and window.innerWidth doesn’t give the expected results, In those cases you could use this.__canvas.clientHeight and this.__canvas.clientWidth .
Good luck!!