diff --git a/README.md b/README.md index 34e9963..3d190bf 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Break Escape is an escape room-inspired games-based learning framework that simu **Note: Break Escape is currently in development. Please report any issues or feedback via GitHub.** -## Live Demo +## Live Demo -- Early Beta Playtesting You can try Break Escape directly from your browser by visiting: https://hacktivity.co.uk/break-escape-beta/scenario_select.html diff --git a/assets/rooms/room_reception.json b/assets/rooms/room_reception.json index d8525ed..5ce6dc5 100644 --- a/assets/rooms/room_reception.json +++ b/assets/rooms/room_reception.json @@ -3,15 +3,15 @@ "infinite":false, "layers":[ { - "data":[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 0, 0, 26, 27, 28, 29, 0, 0, 32, - 33, 0, 0, 0, 0, 0, 0, 0, 0, 42, - 43, 0, 0, 0, 0, 0, 0, 0, 0, 52, - 53, 0, 0, 0, 0, 0, 0, 0, 0, 62, - 63, 0, 0, 0, 0, 0, 0, 0, 0, 72, - 73, 0, 0, 0, 0, 0, 0, 0, 0, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 0, 12, 24, 12, 12, 27, 28, 0, 30, + 31, 0, 0, 0, 0, 0, 0, 0, 0, 40, + 41, 0, 0, 0, 0, 0, 0, 0, 0, 50, + 51, 0, 0, 0, 0, 0, 0, 0, 0, 60, + 61, 0, 0, 0, 0, 0, 0, 0, 0, 70, + 71, 0, 0, 0, 0, 0, 0, 0, 0, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], "height":9, "id":8, "name":"walls", @@ -23,15 +23,15 @@ "y":0 }, { - "data":[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], + "data":[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], "height":9, "id":12, "name":"ROOM", @@ -43,13 +43,13 @@ "y":0 }, { - "data":[0, 1, 0, 0, 0, 0, 0, 0, 1, 0, - 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + "data":[0, 101, 0, 0, 0, 0, 0, 0, 101, 0, + 0, 103, 0, 0, 0, 0, 0, 0, 103, 0, + 102, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 102, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "height":9, @@ -149,44 +149,43 @@ "width":48, "x":143.838518642089, "y":191.623488197514 - }, + }, { - "gid":12329, - "height":48, - "id":13, - "name":"safe", - "rotation":0, - "type":"", - "visible":true, - "width":48, - "x":192, - "y":96 - }, - { - "gid":12329, - "height":48, - "id":14, - "name":"safe2", - "rotation":0, - "type":"", - "visible":true, - "width":48, - "x":140, - "y":300 - }, - { - "gid":12329, - "height":48, - "id":15, - "name":"safe3", - "rotation":0, - "type":"", - "visible":true, - "width":48, - "x":350, - "y":250 - } - ], + "gid":12327, + "height":48, + "id":13, + "name":"safe", + "rotation":0, + "type":"", + "visible":true, + "width":48, + "x":192, + "y":96 + }, + { + "gid":12327, + "height":48, + "id":14, + "name":"safe2", + "rotation":0, + "type":"", + "visible":true, + "width":48, + "x":140, + "y":300 + }, + { + "gid":12327, + "height":48, + "id":15, + "name":"safe3", + "rotation":0, + "type":"", + "visible":true, + "width":48, + "x":350, + "y":250 + }], "opacity":1, "type":"objectgroup", "visible":true, @@ -197,25 +196,12 @@ "nextobjectid":13, "orientation":"orthogonal", "renderorder":"right-down", - "tiledversion":"1.11.0", + "tiledversion":"1.11.2", "tileheight":48, "tilesets":[ - { - "columns":1, - "firstgid":1, - "image":"..\/tiles\/door.png", - "imageheight":96, - "imagewidth":48, - "margin":0, - "name":"door", - "spacing":0, - "tilecount":2, - "tileheight":48, - "tilewidth":48 - }, { "columns":10, - "firstgid":3, + "firstgid":1, "image":"room_reception_l.png", "imageheight":480, "imagewidth":480, @@ -224,10 +210,543 @@ "spacing":0, "tilecount":100, "tileheight":48, + "tiles":[ + { + "id":11, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":2.75, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.625, + "x":0.25, + "y":45.25 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":12, + "objectgroup": + { + "draworder":"index", + "id":3, + "name":"", + "objects":[ + { + "height":2.875, + "id":5, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.75, + "x":0.25, + "y":45.125 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":13, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":2.875, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.75, + "x":0.125, + "y":45.0625 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":14, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":1.5, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.625, + "x":0.25, + "y":46.5 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":15, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":2.875, + "id":2, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.75, + "x":0.125, + "y":44.8125 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":16, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":2.875, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.75, + "x":0.125, + "y":39.0625 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":17, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":2.875, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.875, + "x":0.25, + "y":45.25 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":18, + "objectgroup": + { + "draworder":"index", + "id":3, + "name":"", + "objects":[ + { + "height":2.875, + "id":2, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":47.75, + "x":0.25, + "y":45.25 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":22, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":0, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":28.6021787636173, + "y":9.70206063787899 + }, + { + "height":0, + "id":6, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":28.7281795511222, + "y":18.0181126132038 + }, + { + "height":0, + "id":7, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":30.7441921512009, + "y":20.0341252132826 + }, + { + "height":0, + "id":8, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":33.2642079012994, + "y":21.6721354508466 + }, + { + "height":0, + "id":9, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":34.7762173513584, + "y":24.0661504134401 + }, + { + "height":0, + "id":10, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":38.0522378264864, + "y":26.0821630135188 + }, + { + "height":0, + "id":11, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":42.8402677516735, + "y":26.8381677385484 + }, + { + "height":0, + "id":12, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":46.9982937393359, + "y":28.8541803386271 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":23, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":0, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":0.882005512534453, + "y":28.8541803386271 + }, + { + "height":0, + "id":2, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":20.6641291508072, + "y":26.2081638010238 + }, + { + "height":0, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":40.320252001575, + "y":26.0821630135188 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + + { + "id":24, + "objectgroup": + { + "draworder":"index", + "id":3, + "name":"", + "objects":[ + { + "height":17.3881086756792, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":48.7623047644048, + "x":0.252001575009844, + "y":18.3961149757186 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":25, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":17.2621078881743, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":49.6443102769392, + "x":0.126000787504922, + "y":18.5221157632235 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":26, + "objectgroup": + { + "draworder":"index", + "id":3, + "name":"", + "objects":[ + { + "height":21.4201338758367, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":17.2621078881743, + "x":30.618191363696, + "y":17.8921118256989 + }, + { + "height":17.8921118256989, + "id":4, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":40.4462527890799, + "x":-9.82806142538391, + "y":18.2701141882137 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }, + { + "id":27, + "objectgroup": + { + "draworder":"index", + "id":2, + "name":"", + "objects":[ + { + "height":20.916130725817, + "id":1, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":8.56805355033469, + "x":0.126000787504922, + "y":18.2701141882137 + }, + { + "height":0, + "id":2, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":6.3000393752461, + "y":26.4601653760336 + }, + { + "height":0, + "id":3, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":10.7100669379184, + "y":23.6881480509253 + }, + { + "height":0, + "id":4, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":14.7420921380759, + "y":20.7901299383121 + }, + { + "height":0, + "id":5, + "name":"", + "rotation":0, + "type":"", + "visible":true, + "width":0, + "x":14.7420921380759, + "y":6.55204095025594 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + } + }], + "tilewidth":48 + }, + { + "columns":2, + "firstgid":101, + "image":"..\/tiles\/door_tiles.png", + "imageheight":96, + "imagewidth":96, + "margin":0, + "name":"door_tiles", + "spacing":0, + "tilecount":4, + "tileheight":48, "tilewidth":48 }], "tilewidth":48, "type":"map", "version":"1.10", "width":10 -} +} \ No newline at end of file diff --git a/assets/tiles/door_sheet.png b/assets/tiles/door_sheet.png new file mode 100644 index 0000000..9111c10 Binary files /dev/null and b/assets/tiles/door_sheet.png differ diff --git a/assets/tiles/door_side_sheet.png b/assets/tiles/door_side_sheet.png new file mode 100644 index 0000000..fa09ee6 Binary files /dev/null and b/assets/tiles/door_side_sheet.png differ diff --git a/index_new.html b/index_new.html index 66a0662..27cee60 100644 --- a/index_new.html +++ b/index_new.html @@ -151,7 +151,7 @@ - + - - - - \ No newline at end of file