Fixed resize bug #25

Merged
H4CK3R-01 merged 1 commits from fix_resize_bug into main 2021-06-11 08:08:06 +00:00

View File

@ -64,7 +64,7 @@ let sprites = [
function start_game() { function start_game() {
app = new PIXI.Application({ app = new PIXI.Application({
autoResize: true, autoResize: true,
resolution: devicePixelRatio, resolution: 1,
backgroundAlpha: 0, backgroundAlpha: 0,
width: max_size / game_board_size, width: max_size / game_board_size,
height: max_size / game_board_size height: max_size / game_board_size