From: MegaBrutal Date: Sat, 23 Apr 2016 19:38:00 +0000 (+0200) Subject: Converted SVGs to PNGs for Internet Explorer compatibility X-Git-Tag: ld35-final^0 X-Git-Url: http://git.megabrutal.com/?p=shapeshift.git;a=commitdiff_plain;h=06bcb7c01a38183ae7b32459bda2dcfafe39e597;hp=1569ede73cc02336d30fd6a5b430e82860126380 Converted SVGs to PNGs for Internet Explorer compatibility The game's SVGs are now converted to PNGs, and the PNGs are used by the game. With this, the game is finally compatible with Internet Explorer, while the compatibility is preserved with other browsers. new file: bird.png new file: birdcage.png new file: csaj.png new file: ground.png new file: guard.png new file: kecskecsaj.png modified: shapeshift.js --- diff --git a/bird.png b/bird.png new file mode 100644 index 0000000..f1e890f Binary files /dev/null and b/bird.png differ diff --git a/birdcage.png b/birdcage.png new file mode 100644 index 0000000..e512426 Binary files /dev/null and b/birdcage.png differ diff --git a/csaj.png b/csaj.png new file mode 100644 index 0000000..49b1718 Binary files /dev/null and b/csaj.png differ diff --git a/ground.png b/ground.png new file mode 100644 index 0000000..71b414b Binary files /dev/null and b/ground.png differ diff --git a/guard.png b/guard.png new file mode 100644 index 0000000..b780181 Binary files /dev/null and b/guard.png differ diff --git a/kecskecsaj.png b/kecskecsaj.png new file mode 100644 index 0000000..76502ee Binary files /dev/null and b/kecskecsaj.png differ diff --git a/shapeshift.js b/shapeshift.js index d960d62..4fb57d1 100644 --- a/shapeshift.js +++ b/shapeshift.js @@ -71,12 +71,12 @@ function preload () { - game.load.image('ground', 'ground.svg'); - game.load.image('player_girl', 'csaj.svg'); - game.load.image('player_goat', 'kecskecsaj.svg'); - game.load.image('player_bird', 'bird.svg'); - game.load.image('guard', 'guard.svg'); - game.load.image('birdcage', 'birdcage.svg'); + game.load.image('ground', 'ground.png'); + game.load.image('player_girl', 'csaj.png'); + game.load.image('player_goat', 'kecskecsaj.png'); + game.load.image('player_bird', 'bird.png'); + game.load.image('guard', 'guard.png'); + game.load.image('birdcage', 'birdcage.png'); }