Converted SVGs to PNGs for Internet Explorer compatibility ld35-final
authorMegaBrutal <code+git@megabrutal.com>
Sat, 23 Apr 2016 19:38:00 +0000 (21:38 +0200)
committerMegaBrutal <code+git@megabrutal.com>
Sat, 23 Apr 2016 19:38:00 +0000 (21:38 +0200)
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

bird.png [new file with mode: 0644]
birdcage.png [new file with mode: 0644]
csaj.png [new file with mode: 0644]
ground.png [new file with mode: 0644]
guard.png [new file with mode: 0644]
kecskecsaj.png [new file with mode: 0644]
shapeshift.js

diff --git a/bird.png b/bird.png
new file mode 100644 (file)
index 0000000..f1e890f
Binary files /dev/null and b/bird.png differ
diff --git a/birdcage.png b/birdcage.png
new file mode 100644 (file)
index 0000000..e512426
Binary files /dev/null and b/birdcage.png differ
diff --git a/csaj.png b/csaj.png
new file mode 100644 (file)
index 0000000..49b1718
Binary files /dev/null and b/csaj.png differ
diff --git a/ground.png b/ground.png
new file mode 100644 (file)
index 0000000..71b414b
Binary files /dev/null and b/ground.png differ
diff --git a/guard.png b/guard.png
new file mode 100644 (file)
index 0000000..b780181
Binary files /dev/null and b/guard.png differ
diff --git a/kecskecsaj.png b/kecskecsaj.png
new file mode 100644 (file)
index 0000000..76502ee
Binary files /dev/null and b/kecskecsaj.png differ
index d960d62ad4066ca11756ea3b8a3bf251b63b65da..4fb57d165692400dfa9ef594b57484e89f5dca20 100644 (file)
 
         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');
 
         }