1.1.6 release. The final of the 1.1 branch.

This commit is contained in:
photonstorm
2014-02-24 01:28:13 +00:00
parent 529d210006
commit f4ff4d88fe
194 changed files with 4070 additions and 2236 deletions
+4
View File
@@ -270,6 +270,10 @@
"file": "breakout.js",
"title": "breakout"
},
{
"file": "golf.js",
"title": "golf"
},
{
"file": "invaders.js",
"title": "invaders"
+1 -1
View File
@@ -58,7 +58,7 @@ $(document).ready(function(){
.done(function(data) {
if (data.version !== '1.1.5')
if (data.version !== '1.1.6')
{
$("#upgrade").append(data.version);
$("#upgrade").css('display', 'inline-block');
+1 -1
View File
@@ -163,7 +163,7 @@
<div class="header">
<div class="box100 no-padding">
<div class="phaser-version">
<span>Phaser Version: 1.1.5</span>
<span>Phaser Version: 1.1.6</span>
<a id="upgrade" href="https://github.com/photonstorm/phaser" class="version-button">New version: </a>
</div>
</div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

+93
View File
@@ -0,0 +1,93 @@
{ "height":18,
"layers":[
{
"data":[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 49, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 65, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 81, 97, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 0, 0, 0, 97, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 129, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 145, 161, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 49, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 161, 177, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 65, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 177, 193, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 81, 0, 0, 0, 97, 0, 0, 0, 0, 0, 0, 0, 0, 193, 209, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 97, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 209, 225, 0, 0, 0, 0, 0, 0, 97, 0, 0, 0, 113, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 225, 241, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 241, 257, 0, 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"height":18,
"name":"walls",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":25,
"x":0,
"y":0
},
{
"height":18,
"name":"holes",
"objects":[
{
"gid":1,
"height":0,
"name":"",
"properties":
{
},
"type":"",
"visible":true,
"width":0,
"x":716,
"y":73
},
{
"gid":1,
"height":0,
"name":"",
"properties":
{
},
"type":"",
"visible":true,
"width":0,
"x":708,
"y":503
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"width":25,
"x":0,
"y":0
}],
"orientation":"orthogonal",
"properties":
{
},
"tileheight":32,
"tilesets":[
{
"firstgid":1,
"image":"hole.png",
"imageheight":32,
"imagewidth":32,
"margin":0,
"name":"hole",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
},
{
"firstgid":2,
"image":"tiles.png",
"imageheight":512,
"imagewidth":512,
"margin":0,
"name":"tiles",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
}],
"tilewidth":32,
"version":1,
"width":25
}
+467
View File
@@ -0,0 +1,467 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" width="25" height="18" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="hole" tilewidth="32" tileheight="32">
<image source="hole.png" width="32" height="32"/>
</tileset>
<tileset firstgid="2" name="tiles" tilewidth="32" tileheight="32">
<image source="tiles.png" width="512" height="512"/>
</tileset>
<layer name="walls" width="25" height="18">
<data>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="145"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="145"/>
<tile gid="161"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="161"/>
<tile gid="177"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="177"/>
<tile gid="193"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="193"/>
<tile gid="209"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="209"/>
<tile gid="225"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="225"/>
<tile gid="241"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="241"/>
<tile gid="257"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="257"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
</data>
</layer>
<objectgroup name="holes" width="25" height="18">
<object gid="1" x="716" y="73"/>
<object gid="1" x="708" y="503"/>
</objectgroup>
</map>
+79
View File
@@ -0,0 +1,79 @@
{ "height":18,
"layers":[
{
"data":[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 49, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 65, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 81, 97, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 97, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 129, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 145, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 161, 177, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 177, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 225, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 225, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 241, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"height":18,
"name":"walls",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":25,
"x":0,
"y":0
},
{
"height":18,
"name":"holes",
"objects":[
{
"gid":1,
"height":0,
"name":"",
"properties":
{
},
"type":"",
"visible":true,
"width":0,
"x":708,
"y":503
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"width":25,
"x":0,
"y":0
}],
"orientation":"orthogonal",
"properties":
{
},
"tileheight":32,
"tilesets":[
{
"firstgid":1,
"image":"hole.png",
"imageheight":32,
"imagewidth":32,
"margin":0,
"name":"hole",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
},
{
"firstgid":2,
"image":"tiles.png",
"imageheight":512,
"imagewidth":512,
"margin":0,
"name":"tiles",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
}],
"tilewidth":32,
"version":1,
"width":25
}
+466
View File
@@ -0,0 +1,466 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" width="25" height="18" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="hole" tilewidth="32" tileheight="32">
<image source="hole.png" width="32" height="32"/>
</tileset>
<tileset firstgid="2" name="tiles" tilewidth="32" tileheight="32">
<image source="tiles.png" width="512" height="512"/>
</tileset>
<layer name="walls" width="25" height="18">
<data>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="97"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="129"/>
<tile gid="145"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="145"/>
<tile gid="161"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="161"/>
<tile gid="177"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="177"/>
<tile gid="193"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="193"/>
<tile gid="209"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="209"/>
<tile gid="225"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="225"/>
<tile gid="241"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="241"/>
<tile gid="257"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="257"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
</data>
</layer>
<objectgroup name="holes" width="25" height="18">
<object gid="1" x="708" y="503"/>
</objectgroup>
</map>
+79
View File
@@ -0,0 +1,79 @@
{ "height":18,
"layers":[
{
"data":[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 81, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 97, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 11, 12, 13, 14, 15, 16, 113, 129, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 129, 145, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 145, 161, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 81, 6, 7, 8, 9, 10, 11, 12, 0, 161, 177, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 97, 0, 0, 0, 0, 0, 0, 0, 0, 177, 193, 0, 0, 0, 0, 0, 0, 0, 97, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 193, 209, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 225, 0, 0, 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 225, 241, 0, 0, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 241, 257, 0, 0, 0, 0, 0, 0, 0, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 33, 0, 0, 0, 0, 0, 0, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 3, 4, 5, 6, 7, 8, 9, 193, 11, 12, 13, 14, 15, 16, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
"height":18,
"name":"walls",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":25,
"x":0,
"y":0
},
{
"height":18,
"name":"holes",
"objects":[
{
"gid":1,
"height":0,
"name":"",
"properties":
{
},
"type":"",
"visible":true,
"width":0,
"x":211,
"y":529
}],
"opacity":1,
"type":"objectgroup",
"visible":true,
"width":25,
"x":0,
"y":0
}],
"orientation":"orthogonal",
"properties":
{
},
"tileheight":32,
"tilesets":[
{
"firstgid":1,
"image":"hole.png",
"imageheight":32,
"imagewidth":32,
"margin":0,
"name":"hole",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
},
{
"firstgid":2,
"image":"tiles.png",
"imageheight":512,
"imagewidth":512,
"margin":0,
"name":"tiles",
"properties":
{
},
"spacing":0,
"tileheight":32,
"tilewidth":32
}],
"tilewidth":32,
"version":1,
"width":25
}
+466
View File
@@ -0,0 +1,466 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" width="25" height="18" tilewidth="32" tileheight="32">
<tileset firstgid="1" name="hole" tilewidth="32" tileheight="32">
<image source="hole.png" width="32" height="32"/>
</tileset>
<tileset firstgid="2" name="tiles" tilewidth="32" tileheight="32">
<image source="tiles.png" width="512" height="512"/>
</tileset>
<layer name="walls" width="25" height="18">
<data>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="81"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="113"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="145"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="49"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="145"/>
<tile gid="161"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="65"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="0"/>
<tile gid="161"/>
<tile gid="177"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="81"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="177"/>
<tile gid="193"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="97"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="193"/>
<tile gid="209"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="113"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="209"/>
<tile gid="225"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="129"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="225"/>
<tile gid="241"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="145"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="241"/>
<tile gid="257"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="161"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="257"/>
<tile gid="33"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="177"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="0"/>
<tile gid="33"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="193"/>
<tile gid="11"/>
<tile gid="12"/>
<tile gid="13"/>
<tile gid="14"/>
<tile gid="15"/>
<tile gid="16"/>
<tile gid="2"/>
<tile gid="3"/>
<tile gid="4"/>
<tile gid="5"/>
<tile gid="6"/>
<tile gid="7"/>
<tile gid="8"/>
<tile gid="9"/>
<tile gid="10"/>
<tile gid="11"/>
</data>
</layer>
<objectgroup name="holes" width="25" height="18">
<object gid="1" x="211" y="529"/>
</objectgroup>
</map>
Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

+252
View File
@@ -0,0 +1,252 @@
/**
* Created by JP on 07.02.14.
* The course1.tmx to course3.tmx files can be edited using the free map editor "tiled" (www.mapeditor.org)
* Use export to create the .json files that are loaded by this game
* The grass and wood textures are CC0 licensed files from openGameArt.org (grass.png, tiles.png)
* The ball, arrow and hole are are drawn by Jan Peter Simonsen and licensed CC0 (ball.png, arrow.png, hole.png)
* CC0: http://creativecommons.org/publicdomain/zero/1.0/
*/
//create the phaser game object
var game = new Phaser.Game(800, 576, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update, render: render});
//setup variables, they are explained (commented) as they get used for the first time
var ball, arrow, layer, map, mode, downTime, holes, inputPressed, level, maxLevel, swingCount, infoText;
function preload() {
//load all images
game.load.image('ball', 'assets/games/golf/ball.png');
game.load.image('grass', 'assets/games/golf/grass.png');
game.load.image('tiles', 'assets/games/golf/tiles.png');
game.load.image('arrow', 'assets/games/golf/arrow.png');
game.load.image('hole', 'assets/games/golf/hole.png');
//Set the level count to 3
maxLevel = 3;
//load all levels (filename for the levels is assumed to be "course" followed by the number of the level)
var i;
for (i = 1; i <= maxLevel; i++ ) {
game.load.tilemap('course' + i, 'assets/games/golf/course' + i + '.json', null, Phaser.Tilemap.TILED_JSON);
}
}
function create() {
//create a background tiledSprite (so the empty areas of the level are grassy)
game.add.tileSprite(0, 0, game.width, game.height, 'grass');
//set the current level to 1
level = 1;
//create the ball
ball = game.add.sprite(100, 100, 'ball', '');
ball.anchor.setTo(0.5, 0.5);
//bounce to 0.9 means the ball loses 10% speed on impact
ball.body.bounce.setTo(0.9, 0.9);
//the "hitbox" for the ball is a circle with 12 pixel radius
ball.body.setCircle(12, 12, 12);
//the ball slows down by itself at this rate
ball.body.linearDamping = 1.0;
//used to check if the ball has come to a hold
ball.body.minVelocity.setTo(1, 1);
//Set the game to display the level
loadLevel(level);
//variable for sprite that holds the arrow, but we don't need it right away
arrow = null;
//flag to check if mousekey is down (or if finger is touching down on mobile)
inputPressed = false;
//setting up a callback, so that the function inputDown is called every time the screen is touched/the mouse is pressed
game.input.onDown.add(inputDown, this);
//call inputUp every time the mouse button is let go / the finger is lifted
game.input.onUp.add(inputUp, this);
//On mobiles set the game to scale to fullscreen
if (!game.device.desktop) {
this.game.stage.scale.minWidth = game.width / 2;
this.game.stage.scale.minHeight = game.width / 2;
this.game.stage.scale.maxWidth = game.width * 2;
this.game.stage.scale.maxHeight = game.height * 2;
this.game.stage.scaleMode = Phaser.StageScaleMode.SHOW_ALL;
}
//the counter for the amounts of swings it took to complete the game
swingCount = 0;
//a short welcome text
infoText = game.add.text(game.world.centerX - 80, game.world.centerY - 40, 'Let\'s go!', { font: "42pt Arial", fill: "#ff1111", align: "center" });
mode = -1;
//initialize current game mode
setMode(0);
}
function loadLevel(number) {
//if a level is displayed already we clear up everything
if (map != null) {
holes.destroy();
layer.destroy();
map.destroy();
}
//create a group for the holes (there can be multiple holes in a single level)
holes = game.add.group();
//creat the map for the current level
map = game.add.tilemap('course' + number);
//create the tileset
map.addTilesetImage('tiles');
//set all tiles to collide
map.setCollisionByExclusion([]);
//create a layer for the "walls" part of the tileset
layer = map.createLayer('walls');
//create holes from the "holes" object-layer of the tileset
map.createFromObjects('holes', 1, 'hole', '', true, true, holes);
holes.forEach(function(hole) {
//set the body for each hole to be only a circle with radius 8,
//so the ball does not collide if it just touches the outside of the (bigger) hole sprite
hole.body.setCircle(8, 16, 16);
}, this);
//make sure the ball is displayed ontop of everything else
ball.bringToTop();
}
function inputDown(pointer) {
inputPressed = true;
}
function inputUp(pointer) {
inputPressed = false;
}
//adds the arrow to the game (called when the ball is laying still and the player can make his move)
function createArrow() {
//create the direction arrow
arrow = game.add.sprite(0, 0, 'arrow');
arrow.anchor.setTo(0.5, 0.5);
arrow.pivot.x = 0;
arrow.pivot.y = +35;
//add it as a child to the ball, so that it circles the ball
ball.addChild(arrow);
}
//removes the arrow from the game
function removeArrow() {
ball.removeChild(arrow);
arrow.destroy();
}
//set the mode variable and create / destroy the arrow depending on the mode
//mode 1 means the ball is moving
//mode 2 means the ball is laying stil
function setMode(newMode) {
if (mode != newMode) {
if (mode == 1) {
removeArrow();
} else if (mode == 0) {
//make sure the ball does not move
ball.body.velocity.setTo(0,0);
createArrow();
downTime = 0;
}
mode = newMode;
}
}
//win is called when the ball hits the hole at the right amount of speed
function win() {
setMode(0);
//reset the ball to the start position
ball.reset(100, 100);
//if there are more levels, increase the level counter otherwhise reset it to level 1
if (level < maxLevel) {
level++
} else {
level = 1;
}
//load the next (or first) level
loadLevel(level);
//if the level is level 1 it means we have played through all levels, display the win message with the swing counter
if (level == 1) {
infoText = game.add.text(game.world.centerX-160, game.world.centerY - 40, 'The end - ' + swingCount + ' swings', { font: "32pt Arial", fill: "#ff1111", align: "center" });
swingCount = 0;
}
}
//calculate a number between 0 and 500 based on how long the mousebutton/finger is pressed
//this number goes from 0 to 500 and then back down again to 0 and then starts over.
function power() {
return Math.abs(((game.time.time - downTime + 500) % 1000) -500);
}
//this is the callback for the overlap function between ball and holes
function fallInHole(ball, hole) {
//if the balls combined x+y speed is below 100 it can fall into the hole
if ( (ball.body.velocity.x + ball.body.velocity.y) < 100) {
ball.visible = false; //make the ball invisible (it's in the hole after all), the reset in win makes it visible again
win();
}
}
function update() {
//mode 0 means the ball is moving
if (mode == 0) {
//if the ball is moving, remove all info texts if there are any
if (infoText != null) {
infoText.destroy();
infoText = null;
}
//collide the ball with the walls
game.physics.collide(ball, layer);
//check for the ball hitting the hole
game.physics.overlap(ball, holes, fallInHole);
//Check if the ball is moving so slow that we can make it stop completly and switch to swing-mode
if (Math.abs(ball.body.velocity.x) < ball.body.minVelocity.x && Math.abs(ball.body.velocity.y) < ball.body.minVelocity.y) {
setMode(1);
}
} else if (mode == 1) {
//mode 1 is the swing mode, the ball is laying still
//rotate the arrow according to mouse/finger position
arrow.rotation = game.math.angleBetween(ball.body.x, ball.body.y, game.input.x, game.input.y) + Math.PI/2;
if (inputPressed) {
if (downTime == 0) {
//input has just been pressed, note the time this happend
downTime = game.time.time;
} else {
//scale the arrow lengh according ot the result of the power function (power 0-500) -> arrow size 1.0 to 3.0
arrow.scale.y = 1.0 + power()/500 * 2;
}
} else if (downTime != 0) {
//the mousebutton has been released (or the finger lifted) now get the ball moving
ball.body.velocity = game.physics.accelerationFromRotation(arrow.rotation - Math.PI/2, power() + 50);
//and count it as a swing
swingCount++;
//and switch to ball-moving-mode
setMode(0);
}
}
}
function render() {
//optional debug displays
/*
game.debug.renderPhysicsBody(ball.body);
holes.forEach(function(hole) {
game.debug.renderPhysicsBody(hole.body);
}, this);
game.debug.renderBodyInfo(ball, 16, 24);
*/
}
+1 -1
View File
@@ -12,7 +12,7 @@
<div class="header">
<div class="box100 no-padding">
<div class="phaser-version">
<span>Phaser Version: 1.1.5</span>
<span>Phaser Version: 1.1.6</span>
<a id="upgrade" href="https://github.com/photonstorm/phaser" class="version-button">New version: </a>
</div>
</div>
+1 -1
View File
@@ -19,7 +19,7 @@
</div>
<div id="footer">
<p id="total">Total examples: </p>
<p>Phaser version: 1.1.5</p>
<p>Phaser version: 1.1.6</p>
<p><a href="index.html">Switch to Full View</a></p>
</div>