diff --git a/gs/html5/vex5/assets/atlas/atlas_gameplay.json b/gs/html5/vex5/assets/atlas/atlas_gameplay.json new file mode 100644 index 0000000..ec96f1b --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_gameplay.json @@ -0,0 +1,476 @@ +{"frames": [ + +{ + "filename": "act-block-1", + "frame": {"x":257,"y":387,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-2", + "frame": {"x":3,"y":585,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-3", + "frame": {"x":252,"y":675,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-4", + "frame": {"x":3,"y":729,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-5", + "frame": {"x":3,"y":873,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-6", + "frame": {"x":251,"y":819,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-7", + "frame": {"x":251,"y":963,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-8", + "frame": {"x":3,"y":1017,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-9", + "frame": {"x":3,"y":1161,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-block-10", + "frame": {"x":296,"y":223,"w":160,"h":160}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":160,"h":160}, + "sourceSize": {"w":160,"h":160} +}, +{ + "filename": "act-block-11", + "frame": {"x":257,"y":531,"w":140,"h":140}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":140}, + "sourceSize": {"w":140,"h":140} +}, +{ + "filename": "act-check-base", + "frame": {"x":460,"y":323,"w":29,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":29,"h":27}, + "sourceSize": {"w":32,"h":27} +}, +{ + "filename": "act-check", + "frame": {"x":460,"y":354,"w":28,"h":21}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":28,"h":21}, + "sourceSize": {"w":28,"h":21} +}, +{ + "filename": "arrow-static", + "frame": {"x":401,"y":387,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "basicBlock", + "frame": {"x":401,"y":491,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "bounceBlock", + "frame": {"x":401,"y":595,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "breatheBlaster", + "frame": {"x":211,"y":1289,"w":44,"h":103}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":44,"h":103}, + "sourceSize": {"w":44,"h":103} +}, +{ + "filename": "bullet", + "frame": {"x":460,"y":310,"w":35,"h":9}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":35,"h":9}, + "sourceSize": {"w":35,"h":9} +}, +{ + "filename": "buzzsaw", + "frame": {"x":147,"y":793,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "buzzsawOnStick", + "frame": {"x":296,"y":186,"w":167,"h":33}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":167,"h":33}, + "sourceSize": {"w":167,"h":33} +}, +{ + "filename": "cannonBase", + "frame": {"x":147,"y":1209,"w":77,"h":76}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":76}, + "sourceSize": {"w":77,"h":76} +}, +{ + "filename": "cannonTube", + "frame": {"x":259,"y":1375,"w":73,"h":25}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":25}, + "sourceSize": {"w":73,"h":25} +}, +{ + "filename": "challenge_room_icon", + "frame": {"x":228,"y":1209,"w":58,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":3,"w":58,"h":63}, + "sourceSize": {"w":61,"h":68} +}, +{ + "filename": "classicLaser", + "frame": {"x":259,"y":1337,"w":62,"h":34}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":34}, + "sourceSize": {"w":62,"h":34} +}, +{ + "filename": "explosiveBlock", + "frame": {"x":147,"y":585,"w":101,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":100}, + "sourceSize": {"w":101,"h":100} +}, +{ + "filename": "fallingBlock", + "frame": {"x":396,"y":699,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "fallingSpike", + "frame": {"x":482,"y":3,"w":18,"h":11}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":18,"h":11}, + "sourceSize": {"w":18,"h":11} +}, +{ + "filename": "glassBlock", + "frame": {"x":396,"y":803,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "hazardStrips", + "frame": {"x":482,"y":40,"w":10,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":10,"h":100}, + "sourceSize": {"w":10,"h":100} +}, +{ + "filename": "horizontalBlock", + "frame": {"x":147,"y":897,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "iceBlock", + "frame": {"x":395,"y":907,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "invisBlock", + "frame": {"x":147,"y":1001,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "invisBlockDown", + "frame": {"x":147,"y":1105,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "invisBlockUp", + "frame": {"x":3,"y":1305,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "key", + "frame": {"x":271,"y":154,"w":21,"h":39}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":39}, + "sourceSize": {"w":21,"h":39} +}, +{ + "filename": "lightSwitch", + "frame": {"x":271,"y":129,"w":22,"h":21}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":21}, + "sourceSize": {"w":22,"h":21} +}, +{ + "filename": "lockBlock", + "frame": {"x":107,"y":1305,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "pole", + "frame": {"x":467,"y":186,"w":10,"h":10}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":10,"h":10}, + "sourceSize": {"w":10,"h":10} +}, +{ + "filename": "poleRedSection", + "frame": {"x":467,"y":212,"w":30,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":30,"h":53}, + "sourceSize": {"w":30,"h":53} +}, +{ + "filename": "pushBlock", + "frame": {"x":147,"y":689,"w":101,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":100}, + "sourceSize": {"w":101,"h":100} +}, +{ + "filename": "quadrant", + "frame": {"x":299,"y":3,"w":179,"h":179}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":179,"h":179}, + "sourceSize": {"w":179,"h":179} +}, +{ + "filename": "reaper", + "frame": {"x":3,"y":25,"w":264,"h":302}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":264,"h":302}, + "sourceSize": {"w":264,"h":302} +}, +{ + "filename": "shurikanSpawner", + "frame": {"x":271,"y":240,"w":20,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":20,"h":27}, + "sourceSize": {"w":20,"h":27} +}, +{ + "filename": "solarBlock", + "frame": {"x":395,"y":1011,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "spark", + "frame": {"x":271,"y":271,"w":20,"h":20}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":20,"h":20}, + "sourceSize": {"w":20,"h":20} +}, +{ + "filename": "sparkBlock", + "frame": {"x":290,"y":1107,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "speedBlock", + "frame": {"x":394,"y":1115,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "spike", + "frame": {"x":482,"y":18,"w":11,"h":18}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":11,"h":18}, + "sourceSize": {"w":11,"h":18} +}, +{ + "filename": "spike10x", + "frame": {"x":259,"y":1315,"w":97,"h":18}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":97,"h":18}, + "sourceSize": {"w":97,"h":18} +}, +{ + "filename": "spike30x", + "frame": {"x":3,"y":3,"w":292,"h":18}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":292,"h":18}, + "sourceSize": {"w":292,"h":18} +}, +{ + "filename": "star", + "frame": {"x":460,"y":269,"w":38,"h":37}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":38,"h":37}, + "sourceSize": {"w":38,"h":37} +}, +{ + "filename": "swimmingPool", + "frame": {"x":3,"y":331,"w":250,"h":250}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":250,"h":250}, + "sourceSize": {"w":250,"h":250} +}, +{ + "filename": "timedKey", + "frame": {"x":271,"y":197,"w":21,"h":39}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":39}, + "sourceSize": {"w":21,"h":39} +}, +{ + "filename": "verticalDownBlock", + "frame": {"x":290,"y":1211,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "verticalUpBlock", + "frame": {"x":394,"y":1219,"w":100,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":100}, + "sourceSize": {"w":100,"h":100} +}, +{ + "filename": "windBlaster", + "frame": {"x":271,"y":25,"w":23,"h":100}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":100}, + "sourceSize": {"w":24,"h":100} +}, +{ + "filename": "wire", + "frame": {"x":147,"y":1289,"w":50,"h":8}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":8}, + "sourceSize": {"w":50,"h":8} +}, +{ + "filename": "ziplinePole", + "frame": {"x":482,"y":144,"w":10,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":10,"h":64}, + "sourceSize": {"w":10,"h":64} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_gameplay.png", + "format": "RGBA8888", + "size": {"w":504,"h":1408}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:42a87896dbe9fa272239ea03ea195295:f844a68289de79c4ac02cbc2b9a39a5b:2de73da2ceb98e8affc8e745ae8d4856$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_gameplay.png b/gs/html5/vex5/assets/atlas/atlas_gameplay.png new file mode 100644 index 0000000..45b62be Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_gameplay.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_portals.json b/gs/html5/vex5/assets/atlas/atlas_portals.json new file mode 100644 index 0000000..28083cd --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_portals.json @@ -0,0 +1,236 @@ +{"frames": [ + +{ + "filename": "portal_blue0.png", + "frame": {"x":171,"y":85,"w":72,"h":78}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":15,"y":3,"w":72,"h":78}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue1.png", + "frame": {"x":245,"y":82,"w":57,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":22,"y":8,"w":57,"h":65}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue10.png", + "frame": {"x":2,"y":94,"w":88,"h":90}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":2,"w":88,"h":90}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue11.png", + "frame": {"x":99,"y":2,"w":76,"h":81}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":7,"w":76,"h":81}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue12.png", + "frame": {"x":92,"y":94,"w":77,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":1,"w":77,"h":82}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue13.png", + "frame": {"x":177,"y":2,"w":72,"h":78}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":15,"y":3,"w":72,"h":78}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue2.png", + "frame": {"x":196,"y":165,"w":76,"h":73}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":10,"w":76,"h":73}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue3.png", + "frame": {"x":93,"y":178,"w":101,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":14,"w":101,"h":65}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue4.png", + "frame": {"x":2,"y":186,"w":89,"h":61}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":14,"w":89,"h":61}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue5.png", + "frame": {"x":437,"y":2,"w":78,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":14,"w":78,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue6.png", + "frame": {"x":304,"y":65,"w":87,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":21,"y":14,"w":87,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue7.png", + "frame": {"x":355,"y":2,"w":80,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":80,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue8.png", + "frame": {"x":326,"y":126,"w":74,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":74,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue9.png", + "frame": {"x":2,"y":2,"w":95,"h":90}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":95,"h":90}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled0.png", + "frame": {"x":326,"y":187,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled1.png", + "frame": {"x":303,"y":2,"w":50,"h":61}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":12,"w":50,"h":61}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled10.png", + "frame": {"x":378,"y":187,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled11.png", + "frame": {"x":274,"y":149,"w":50,"h":60}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":60}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled12.png", + "frame": {"x":393,"y":63,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled13.png", + "frame": {"x":402,"y":124,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled2.png", + "frame": {"x":251,"y":2,"w":50,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":10,"w":50,"h":63}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled3.png", + "frame": {"x":445,"y":63,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled4.png", + "frame": {"x":430,"y":185,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled5.png", + "frame": {"x":517,"y":2,"w":48,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":27,"y":14,"w":48,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled6.png", + "frame": {"x":506,"y":124,"w":48,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":27,"y":14,"w":48,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled7.png", + "frame": {"x":454,"y":124,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled8.png", + "frame": {"x":497,"y":63,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}, +{ + "filename": "portal_blue_disabled9.png", + "frame": {"x":482,"y":185,"w":50,"h":59}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":14,"w":50,"h":59}, + "sourceSize": {"w":109,"h":92} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_portals.png", + "format": "RGBA8888", + "size": {"w":567,"h":249}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:254c64ca2891447e32230c3bec52836b:2f67c55ae44eb0511843b7dbde6b04eb:74ac886259227a7e1afcf942dcf44aba$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_portals.png b/gs/html5/vex5/assets/atlas/atlas_portals.png new file mode 100644 index 0000000..271b5d7 Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_portals.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_transition.json b/gs/html5/vex5/assets/atlas/atlas_transition.json new file mode 100644 index 0000000..df5e85d --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_transition.json @@ -0,0 +1,28 @@ +{"frames": [ + +{ + "filename": "mm_logo.png", + "frame": {"x":216,"y":2,"w":377,"h":137}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":377,"h":137}, + "sourceSize": {"w":377,"h":138} +}, +{ + "filename": "transition_asset.png", + "frame": {"x":2,"y":2,"w":212,"h":212}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":212,"h":212}, + "sourceSize": {"w":212,"h":212} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_transition.png", + "format": "RGBA8888", + "size": {"w":595,"h":216}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:ffaf3a7a1aed2a7d08f6e94c7bc30232:65c1d6650e893b83be4bd2b1fa9cef79:5e0bb93b670eaaaac5159ab3ac532c7e$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_transition.png b/gs/html5/vex5/assets/atlas/atlas_transition.png new file mode 100644 index 0000000..c4d077d Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_transition.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_act_select.json b/gs/html5/vex5/assets/atlas/atlas_ui_act_select.json new file mode 100644 index 0000000..84484b2 --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_act_select.json @@ -0,0 +1,236 @@ +{"frames": [ + +{ + "filename": "act_death_unlock.png", + "frame": {"x":38,"y":386,"w":18,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":18,"h":19}, + "sourceSize": {"w":21,"h":23} +}, +{ + "filename": "act_hardcore_unlock.png", + "frame": {"x":80,"y":367,"w":17,"h":18}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":17,"h":18}, + "sourceSize": {"w":21,"h":23} +}, +{ + "filename": "act_lock_container.png", + "frame": {"x":2,"y":347,"w":42,"h":37}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":42,"h":37}, + "sourceSize": {"w":42,"h":42} +}, +{ + "filename": "act_lock_container_10.png", + "frame": {"x":46,"y":347,"w":42,"h":18}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":12,"w":42,"h":18}, + "sourceSize": {"w":42,"h":42} +}, +{ + "filename": "act_star_unlock.png", + "frame": {"x":58,"y":386,"w":20,"h":18}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":20,"h":18}, + "sourceSize": {"w":21,"h":22} +}, +{ + "filename": "act_trophy_unlock.png", + "frame": {"x":46,"y":367,"w":20,"h":17}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":20,"h":17}, + "sourceSize": {"w":21,"h":20} +}, +{ + "filename": "as_act10_base.png", + "frame": {"x":629,"y":2,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act10_base_lock.png", + "frame": {"x":709,"y":2,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act1_base.png", + "frame": {"x":789,"y":2,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act1_base_lock.png", + "frame": {"x":869,"y":2,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act2_base.png", + "frame": {"x":629,"y":86,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act2_base_lock.png", + "frame": {"x":709,"y":86,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act3_base.png", + "frame": {"x":789,"y":86,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act3_base_lock.png", + "frame": {"x":869,"y":86,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act4_base.png", + "frame": {"x":629,"y":170,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act4_base_lock.png", + "frame": {"x":629,"y":254,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act5_base.png", + "frame": {"x":629,"y":338,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act5_base_lock.png", + "frame": {"x":709,"y":170,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act6_base.png", + "frame": {"x":789,"y":170,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act6_base_lock.png", + "frame": {"x":869,"y":170,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act7_base.png", + "frame": {"x":709,"y":254,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act7_base_lock.png", + "frame": {"x":709,"y":338,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act8_base.png", + "frame": {"x":789,"y":254,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act8_base_lock.png", + "frame": {"x":789,"y":338,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act9_base.png", + "frame": {"x":869,"y":254,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_act9_base_lock.png", + "frame": {"x":869,"y":338,"w":78,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":78,"h":82}, + "sourceSize": {"w":82,"h":86} +}, +{ + "filename": "as_close_button.png", + "frame": {"x":2,"y":386,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":34,"h":33}, + "sourceSize": {"w":36,"h":35} +}, +{ + "filename": "as_container.png", + "frame": {"x":2,"y":2,"w":625,"h":343}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":7,"w":625,"h":343}, + "sourceSize": {"w":639,"h":361} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_act_select.png", + "format": "RGBA8888", + "size": {"w":949,"h":422}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:9e80dbd570cd18ea2d071c9a6302cd33:34115dea8b0a4a6f5c549399f3276ccb:1e915a84e6a917e9ae61ccd9c6536e5a$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_act_select.png b/gs/html5/vex5/assets/atlas/atlas_ui_act_select.png new file mode 100644 index 0000000..5c37699 Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_act_select.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.json b/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.json new file mode 100644 index 0000000..6337eae --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.json @@ -0,0 +1,740 @@ +{"frames": [ + +{ + "filename": "bronze.png", + "frame": {"x":502,"y":612,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}, +{ + "filename": "cr_container.png", + "frame": {"x":2,"y":452,"w":476,"h":103}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":476,"h":103}, + "sourceSize": {"w":476,"h":103} +}, +{ + "filename": "cr_floor_container.png", + "frame": {"x":237,"y":557,"w":180,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":180,"h":86}, + "sourceSize": {"w":180,"h":86} +}, +{ + "filename": "cr_level_container.png", + "frame": {"x":2,"y":557,"w":233,"h":89}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":233,"h":89}, + "sourceSize": {"w":233,"h":89} +}, +{ + "filename": "cr_time_container.png", + "frame": {"x":416,"y":224,"w":153,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":153,"h":45}, + "sourceSize": {"w":154,"h":47} +}, +{ + "filename": "cr_tophy_lock.png", + "frame": {"x":373,"y":645,"w":48,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":48,"h":51}, + "sourceSize": {"w":54,"h":60} +}, +{ + "filename": "cr_tophy_unlock.png", + "frame": {"x":426,"y":692,"w":48,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":48,"h":51}, + "sourceSize": {"w":54,"h":60} +}, +{ + "filename": "gold.png", + "frame": {"x":549,"y":271,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}, +{ + "filename": "gp_achievement_container.png", + "frame": {"x":2,"y":648,"w":186,"h":121}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":13,"w":186,"h":121}, + "sourceSize": {"w":237,"h":134} +}, +{ + "filename": "gp_bar.png", + "frame": {"x":2,"y":1005,"w":81,"h":9}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":81,"h":9}, + "sourceSize": {"w":81,"h":9} +}, +{ + "filename": "gp_bar_bg.png", + "frame": {"x":85,"y":1005,"w":81,"h":9}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":81,"h":9}, + "sourceSize": {"w":81,"h":9} +}, +{ + "filename": "gp_bronze_text.png", + "frame": {"x":419,"y":619,"w":81,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":4,"w":81,"h":19}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_clear_text.png", + "frame": {"x":483,"y":432,"w":91,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":91,"h":19}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_difficulty_container.png", + "frame": {"x":2,"y":2,"w":412,"h":340}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":4,"w":412,"h":340}, + "sourceSize": {"w":416,"h":348} +}, +{ + "filename": "gp_extreme_button.png", + "frame": {"x":2,"y":849,"w":177,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":177,"h":50}, + "sourceSize": {"w":177,"h":50} +}, +{ + "filename": "gp_gold_text.png", + "frame": {"x":362,"y":742,"w":57,"h":20}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":20,"y":4,"w":57,"h":20}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_hard_button.png", + "frame": {"x":2,"y":901,"w":177,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":177,"h":50}, + "sourceSize": {"w":177,"h":50} +}, +{ + "filename": "gp_level_container.png", + "frame": {"x":416,"y":2,"w":157,"h":91}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":157,"h":91}, + "sourceSize": {"w":157,"h":91} +}, +{ + "filename": "gp_none_text.png", + "frame": {"x":421,"y":745,"w":56,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":20,"y":4,"w":56,"h":19}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_normal_button.png", + "frame": {"x":2,"y":953,"w":177,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":177,"h":50}, + "sourceSize": {"w":177,"h":50} +}, +{ + "filename": "gp_pause_button.png", + "frame": {"x":532,"y":453,"w":42,"h":44}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":1,"w":42,"h":44}, + "sourceSize": {"w":46,"h":47} +}, +{ + "filename": "gp_perfect_text.png", + "frame": {"x":243,"y":749,"w":82,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":4,"w":82,"h":19}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_ranking_container.png", + "frame": {"x":237,"y":645,"w":134,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":134,"h":42}, + "sourceSize": {"w":134,"h":42} +}, +{ + "filename": "gp_silver_text.png", + "frame": {"x":448,"y":791,"w":68,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":4,"w":68,"h":19}, + "sourceSize": {"w":96,"h":26} +}, +{ + "filename": "gp_stuck_button.png", + "frame": {"x":416,"y":95,"w":156,"h":64}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":156,"h":64}, + "sourceSize": {"w":159,"h":68} +}, +{ + "filename": "gp_time_container.png", + "frame": {"x":416,"y":161,"w":155,"h":61}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":61}, + "sourceSize": {"w":155,"h":61} +}, +{ + "filename": "gp_time_container1.png", + "frame": {"x":416,"y":271,"w":131,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":131,"h":55}, + "sourceSize": {"w":131,"h":55} +}, +{ + "filename": "gp_tnt.png", + "frame": {"x":2,"y":771,"w":172,"h":76}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":172,"h":76}, + "sourceSize": {"w":172,"h":76} +}, +{ + "filename": "gp_tnt_bar0.png", + "frame": {"x":448,"y":812,"w":81,"h":9}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":81,"h":9}, + "sourceSize": {"w":81,"h":9} +}, +{ + "filename": "gp_tnt_bar1.png", + "frame": {"x":233,"y":814,"w":81,"h":9}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":81,"h":9}, + "sourceSize": {"w":81,"h":9} +}, +{ + "filename": "lvl_hub_container.png", + "frame": {"x":2,"y":344,"w":479,"h":106}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":479,"h":106}, + "sourceSize": {"w":480,"h":107} +}, +{ + "filename": "lvl_hub_death_lock.png", + "frame": {"x":533,"y":499,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":39,"h":42}, + "sourceSize": {"w":44,"h":46} +}, +{ + "filename": "lvl_hub_death_unlock.png", + "frame": {"x":302,"y":770,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":39,"h":42}, + "sourceSize": {"w":44,"h":46} +}, +{ + "filename": "lvl_hub_hardcore_lock.png", + "frame": {"x":528,"y":662,"w":46,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":3,"w":46,"h":45}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "lvl_hub_hardcore_unlock.png", + "frame": {"x":528,"y":709,"w":46,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":3,"w":46,"h":45}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "lvl_hub_star_lock.png", + "frame": {"x":480,"y":510,"w":51,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":51,"h":48}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "lvl_hub_star_unlock.png", + "frame": {"x":527,"y":612,"w":47,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":1,"w":47,"h":48}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "lvl_hub_trophy_lock.png", + "frame": {"x":343,"y":770,"w":50,"h":44}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":50,"h":44}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "lvl_hub_trophy_unlock.png", + "frame": {"x":190,"y":764,"w":51,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":3,"w":51,"h":45}, + "sourceSize": {"w":56,"h":50} +}, +{ + "filename": "op_close_button.png", + "frame": {"x":176,"y":811,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":34,"h":33}, + "sourceSize": {"w":38,"h":37} +}, +{ + "filename": "perfect.png", + "frame": {"x":327,"y":740,"w":33,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":33,"h":28}, + "sourceSize": {"w":33,"h":28} +}, +{ + "filename": "silver.png", + "frame": {"x":549,"y":297,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}, +{ + "filename": "trop_act10_unlock.png", + "frame": {"x":479,"y":560,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act1_unlock.png", + "frame": {"x":423,"y":640,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act2_unlock.png", + "frame": {"x":475,"y":640,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act3_unlock.png", + "frame": {"x":476,"y":692,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act4_unlock.png", + "frame": {"x":181,"y":846,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act5_unlock.png", + "frame": {"x":181,"y":898,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act6_unlock.png", + "frame": {"x":181,"y":950,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act7_unlock.png", + "frame": {"x":233,"y":825,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act8_unlock.png", + "frame": {"x":233,"y":877,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act9_unlock.png", + "frame": {"x":233,"y":929,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_completion1_unlock.png", + "frame": {"x":367,"y":698,"w":57,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":57,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion2_unlock.png", + "frame": {"x":243,"y":770,"w":57,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":57,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion3_unlock.png", + "frame": {"x":483,"y":380,"w":58,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":58,"h":50}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion4_unlock.png", + "frame": {"x":303,"y":689,"w":62,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":49}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_death1_unlock.png", + "frame": {"x":533,"y":543,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death2_unlock.png", + "frame": {"x":531,"y":803,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death3_unlock.png", + "frame": {"x":479,"y":964,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death4_unlock.png", + "frame": {"x":491,"y":847,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death5_unlock.png", + "frame": {"x":491,"y":891,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death6_unlock.png", + "frame": {"x":532,"y":847,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death7_unlock.png", + "frame": {"x":532,"y":891,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death8_unlock.png", + "frame": {"x":520,"y":935,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death9_unlock.png", + "frame": {"x":520,"y":979,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_hard_mode1_unlock.png", + "frame": {"x":479,"y":744,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode2_unlock.png", + "frame": {"x":479,"y":744,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode3_unlock.png", + "frame": {"x":526,"y":756,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode4_unlock.png", + "frame": {"x":285,"y":977,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode5_unlock.png", + "frame": {"x":332,"y":977,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode6_unlock.png", + "frame": {"x":432,"y":966,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode7_unlock.png", + "frame": {"x":444,"y":823,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode8_unlock.png", + "frame": {"x":444,"y":870,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode9_unlock.png", + "frame": {"x":444,"y":917,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_star10_unlock.png", + "frame": {"x":395,"y":766,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star1_unlock.png", + "frame": {"x":285,"y":877,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star2_unlock.png", + "frame": {"x":285,"y":927,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star3_unlock.png", + "frame": {"x":337,"y":816,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star4_unlock.png", + "frame": {"x":390,"y":816,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star5_unlock.png", + "frame": {"x":338,"y":866,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star6_unlock.png", + "frame": {"x":338,"y":916,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star7_unlock.png", + "frame": {"x":391,"y":866,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star8_unlock.png", + "frame": {"x":391,"y":916,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star9_unlock.png", + "frame": {"x":379,"y":966,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_stuff1_unlock.png", + "frame": {"x":483,"y":328,"w":59,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":59,"h":50}, + "sourceSize": {"w":59,"h":50} +}, +{ + "filename": "trop_stuff2_unlock.png", + "frame": {"x":190,"y":648,"w":45,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":10,"w":45,"h":50}, + "sourceSize": {"w":77,"h":71} +}, +{ + "filename": "trop_stuff3_unlock.png", + "frame": {"x":190,"y":700,"w":51,"h":62}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":62}, + "sourceSize": {"w":51,"h":62} +}, +{ + "filename": "trop_stuff4_unlock.png", + "frame": {"x":480,"y":453,"w":50,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":55}, + "sourceSize": {"w":50,"h":55} +}, +{ + "filename": "trop_stuff5_unlock.png", + "frame": {"x":419,"y":557,"w":58,"h":60}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":60}, + "sourceSize": {"w":58,"h":60} +}, +{ + "filename": "trop_stuff6_unlock.png", + "frame": {"x":243,"y":689,"w":58,"h":58}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":58}, + "sourceSize": {"w":58,"h":58} +}, +{ + "filename": "trop_stuff7_unlock.png", + "frame": {"x":285,"y":825,"w":50,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":10,"w":50,"h":50}, + "sourceSize": {"w":77,"h":71} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_gameplay.png", + "format": "RGBA8888", + "size": {"w":576,"h":1024}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:36689c57b8d91017669e798710ccb09c:8d0f8075e5982ac51ef9c953afa7fb8c:59c609862feac622060e7c4dca7536e3$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.png b/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.png new file mode 100644 index 0000000..ebf89f1 Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_gameplay.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.json b/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.json new file mode 100644 index 0000000..8f69d9e --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.json @@ -0,0 +1,116 @@ +{"frames": [ + +{ + "filename": "bronze.png", + "frame": {"x":281,"y":396,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}, +{ + "filename": "gold.png", + "frame": {"x":306,"y":396,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}, +{ + "filename": "gp_difficulty_container.png", + "frame": {"x":2,"y":2,"w":412,"h":340}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":4,"w":412,"h":340}, + "sourceSize": {"w":416,"h":348} +}, +{ + "filename": "op_close_button.png", + "frame": {"x":210,"y":396,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":34,"h":33}, + "sourceSize": {"w":38,"h":37} +}, +{ + "filename": "pa_act_select_button.png", + "frame": {"x":416,"y":81,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_home_button.png", + "frame": {"x":416,"y":159,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_off_button.png", + "frame": {"x":210,"y":344,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}, +{ + "filename": "pa_on_button.png", + "frame": {"x":344,"y":344,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}, +{ + "filename": "pa_play_button.png", + "frame": {"x":2,"y":344,"w":206,"h":87}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":1,"w":206,"h":87}, + "sourceSize": {"w":209,"h":89} +}, +{ + "filename": "pa_reload_button.png", + "frame": {"x":416,"y":237,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_trophies_button.png", + "frame": {"x":416,"y":2,"w":73,"h":77}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":77}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "perfect.png", + "frame": {"x":246,"y":396,"w":33,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":33,"h":28}, + "sourceSize": {"w":33,"h":28} +}, +{ + "filename": "silver.png", + "frame": {"x":331,"y":396,"w":23,"h":24}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":24}, + "sourceSize": {"w":23,"h":24} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_lvl_complete.png", + "format": "RGBA8888", + "size": {"w":491,"h":433}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:8092c28601f587d4e9bac78fb762dbb9:398c8f82ea734b07faf6bf0d02838330:535ddc5f85672ba8e18485fa9e914b76$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.png b/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.png new file mode 100644 index 0000000..6d3f14f Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_lvl_complete.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.json b/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.json new file mode 100644 index 0000000..6371432 --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.json @@ -0,0 +1,60 @@ +{"frames": [ + +{ + "filename": "mm_challenge_room_button.png", + "frame": {"x":562,"y":194,"w":89,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":89,"h":99}, + "sourceSize": {"w":89,"h":99} +}, +{ + "filename": "mm_decor.png", + "frame": {"x":2,"y":2,"w":790,"h":190}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":85,"y":8,"w":790,"h":190}, + "sourceSize": {"w":960,"h":198} +}, +{ + "filename": "mm_logo.png", + "frame": {"x":183,"y":194,"w":377,"h":137}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":377,"h":137}, + "sourceSize": {"w":377,"h":138} +}, +{ + "filename": "mm_play_buttton.png", + "frame": {"x":2,"y":194,"w":179,"h":190}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":179,"h":190}, + "sourceSize": {"w":179,"h":190} +}, +{ + "filename": "mm_settings_button.png", + "frame": {"x":562,"y":295,"w":62,"h":62}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":62}, + "sourceSize": {"w":62,"h":62} +}, +{ + "filename": "mm_trophy_button.png", + "frame": {"x":653,"y":194,"w":89,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":89,"h":99}, + "sourceSize": {"w":89,"h":99} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_main_menu.png", + "format": "RGBA8888", + "size": {"w":794,"h":386}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:f8616c477c92364c0a837e5f47e75832:4f4d5df7a1392365ba2e22500f67c9c5:e74b37f985d7d560acd994665e2885a8$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.png b/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.png new file mode 100644 index 0000000..4694a6a Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_main_menu.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_options.json b/gs/html5/vex5/assets/atlas/atlas_ui_options.json new file mode 100644 index 0000000..c939fdf --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_options.json @@ -0,0 +1,68 @@ +{"frames": [ + +{ + "filename": "op_close_button.png", + "frame": {"x":270,"y":403,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":34,"h":33}, + "sourceSize": {"w":38,"h":37} +}, +{ + "filename": "op_container.png", + "frame": {"x":2,"y":2,"w":515,"h":399}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":515,"h":399}, + "sourceSize": {"w":523,"h":410} +}, +{ + "filename": "pa_check.png", + "frame": {"x":372,"y":403,"w":32,"h":25}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":5,"w":32,"h":25}, + "sourceSize": {"w":39,"h":35} +}, +{ + "filename": "pa_check_box.png", + "frame": {"x":306,"y":403,"w":33,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":33,"h":33}, + "sourceSize": {"w":39,"h":35} +}, +{ + "filename": "pa_close_button.png", + "frame": {"x":341,"y":403,"w":29,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":29,"h":28}, + "sourceSize": {"w":29,"h":28} +}, +{ + "filename": "pa_off_button.png", + "frame": {"x":2,"y":403,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}, +{ + "filename": "pa_on_button.png", + "frame": {"x":136,"y":403,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_options.png", + "format": "RGBA8888", + "size": {"w":519,"h":455}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:f77c8bf86f47d876b6232e7f47af44b2:5663ae7eb9820f6be129cfca24958c27:6e6d6bb3705814e69fb26e5402e2b04c$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_options.png b/gs/html5/vex5/assets/atlas/atlas_ui_options.png new file mode 100644 index 0000000..42853fd Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_options.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_pause.json b/gs/html5/vex5/assets/atlas/atlas_ui_pause.json new file mode 100644 index 0000000..7f109c9 --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_pause.json @@ -0,0 +1,100 @@ +{"frames": [ + +{ + "filename": "op_close_button.png", + "frame": {"x":270,"y":602,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":34,"h":33}, + "sourceSize": {"w":38,"h":37} +}, +{ + "filename": "pa_act_select_button.png", + "frame": {"x":285,"y":523,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_check.png", + "frame": {"x":435,"y":523,"w":32,"h":25}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":5,"w":32,"h":25}, + "sourceSize": {"w":39,"h":35} +}, +{ + "filename": "pa_check_box.png", + "frame": {"x":270,"y":637,"w":33,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":33,"h":33}, + "sourceSize": {"w":39,"h":35} +}, +{ + "filename": "pa_container.png", + "frame": {"x":2,"y":2,"w":469,"h":519}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":6,"w":469,"h":519}, + "sourceSize": {"w":481,"h":530} +}, +{ + "filename": "pa_home_button.png", + "frame": {"x":306,"y":601,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_off_button.png", + "frame": {"x":2,"y":612,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}, +{ + "filename": "pa_on_button.png", + "frame": {"x":136,"y":612,"w":132,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":132,"h":50}, + "sourceSize": {"w":135,"h":52} +}, +{ + "filename": "pa_play_button.png", + "frame": {"x":2,"y":523,"w":206,"h":87}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":1,"w":206,"h":87}, + "sourceSize": {"w":209,"h":89} +}, +{ + "filename": "pa_reload_button.png", + "frame": {"x":360,"y":523,"w":73,"h":76}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":73,"h":76}, + "sourceSize": {"w":73,"h":77} +}, +{ + "filename": "pa_trophies_button.png", + "frame": {"x":210,"y":523,"w":73,"h":77}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":77}, + "sourceSize": {"w":73,"h":77} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_pause.png", + "format": "RGBA8888", + "size": {"w":473,"h":679}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:1d89fd79333e67398315e3d8593d1e8c:b21c69aab9ad203307ef6514bad9fd56:731ada20cd474d7c4cd8bf9083299d90$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_pause.png b/gs/html5/vex5/assets/atlas/atlas_ui_pause.png new file mode 100644 index 0000000..e8cc8e2 Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_pause.png differ diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_trophies.json b/gs/html5/vex5/assets/atlas/atlas_ui_trophies.json new file mode 100644 index 0000000..a3466b6 --- /dev/null +++ b/gs/html5/vex5/assets/atlas/atlas_ui_trophies.json @@ -0,0 +1,660 @@ +{"frames": [ + +{ + "filename": "trop_act10_lock.png", + "frame": {"x":236,"y":724,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act10_unlock.png", + "frame": {"x":176,"y":669,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act1_lock.png", + "frame": {"x":284,"y":670,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act1_unlock.png", + "frame": {"x":230,"y":669,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act2_lock.png", + "frame": {"x":55,"y":875,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act2_unlock.png", + "frame": {"x":336,"y":670,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act3_lock.png", + "frame": {"x":156,"y":770,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act3_unlock.png", + "frame": {"x":390,"y":670,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act4_lock.png", + "frame": {"x":151,"y":822,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act4_unlock.png", + "frame": {"x":444,"y":670,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act5_lock.png", + "frame": {"x":151,"y":874,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act5_unlock.png", + "frame": {"x":498,"y":670,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act6_lock.png", + "frame": {"x":203,"y":826,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act6_unlock.png", + "frame": {"x":335,"y":725,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act7_lock.png", + "frame": {"x":219,"y":925,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act7_unlock.png", + "frame": {"x":389,"y":725,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act8_lock.png", + "frame": {"x":261,"y":776,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act8_unlock.png", + "frame": {"x":443,"y":725,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_act9_lock.png", + "frame": {"x":271,"y":925,"w":50,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":50}, + "sourceSize": {"w":50,"h":50} +}, +{ + "filename": "trop_act9_unlock.png", + "frame": {"x":497,"y":725,"w":52,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":52,"h":53}, + "sourceSize": {"w":52,"h":53} +}, +{ + "filename": "trop_arrow_left.png", + "frame": {"x":2,"y":650,"w":52,"h":66}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":3,"w":52,"h":66}, + "sourceSize": {"w":54,"h":71} +}, +{ + "filename": "trop_arrow_left_press.png", + "frame": {"x":107,"y":818,"w":42,"h":55}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":9,"w":42,"h":55}, + "sourceSize": {"w":54,"h":71} +}, +{ + "filename": "trop_arrow_right.png", + "frame": {"x":2,"y":718,"w":52,"h":66}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":3,"w":52,"h":66}, + "sourceSize": {"w":54,"h":71} +}, +{ + "filename": "trop_arrow_right_press.png", + "frame": {"x":107,"y":875,"w":42,"h":55}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":9,"w":42,"h":55}, + "sourceSize": {"w":54,"h":71} +}, +{ + "filename": "trop_bar.png", + "frame": {"x":2,"y":618,"w":178,"h":14}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":178,"h":14}, + "sourceSize": {"w":178,"h":14} +}, +{ + "filename": "trop_bar_bg.png", + "frame": {"x":2,"y":634,"w":178,"h":14}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":178,"h":14}, + "sourceSize": {"w":178,"h":14} +}, +{ + "filename": "trop_close.png", + "frame": {"x":566,"y":768,"w":34,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":34,"h":33}, + "sourceSize": {"w":36,"h":36} +}, +{ + "filename": "trop_completion1_lock.png", + "frame": {"x":176,"y":724,"w":58,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":58,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion1_unlock.png", + "frame": {"x":56,"y":774,"w":57,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":57,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion2_lock.png", + "frame": {"x":176,"y":724,"w":58,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":58,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion2_unlock.png", + "frame": {"x":107,"y":932,"w":57,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":57,"h":42}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion3_lock.png", + "frame": {"x":432,"y":618,"w":58,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":58,"h":50}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion3_unlock.png", + "frame": {"x":492,"y":618,"w":58,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":58,"h":50}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion4_lock.png", + "frame": {"x":182,"y":618,"w":62,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":49}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_completion4_unlock.png", + "frame": {"x":246,"y":618,"w":62,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":49}, + "sourceSize": {"w":62,"h":50} +}, +{ + "filename": "trop_container.png", + "frame": {"x":2,"y":2,"w":601,"h":614}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":601,"h":614}, + "sourceSize": {"w":607,"h":619} +}, +{ + "filename": "trop_death1_lock.png", + "frame": {"x":115,"y":774,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death1_unlock.png", + "frame": {"x":361,"y":827,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death2_unlock.png", + "frame": {"x":391,"y":877,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death3_unlock.png", + "frame": {"x":479,"y":877,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death4_unlock.png", + "frame": {"x":427,"y":929,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death5_unlock.png", + "frame": {"x":543,"y":830,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death6_unlock.png", + "frame": {"x":520,"y":877,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death7_unlock.png", + "frame": {"x":561,"y":874,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death8_unlock.png", + "frame": {"x":468,"y":929,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_death9_unlock.png", + "frame": {"x":509,"y":921,"w":39,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":42}, + "sourceSize": {"w":39,"h":42} +}, +{ + "filename": "trop_hard_mode1_lock.png", + "frame": {"x":203,"y":878,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode1_unlock.png", + "frame": {"x":250,"y":878,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode2_unlock.png", + "frame": {"x":250,"y":878,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode3_unlock.png", + "frame": {"x":297,"y":878,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode4_unlock.png", + "frame": {"x":344,"y":878,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode5_unlock.png", + "frame": {"x":313,"y":780,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode6_unlock.png", + "frame": {"x":360,"y":780,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode7_unlock.png", + "frame": {"x":402,"y":830,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode8_unlock.png", + "frame": {"x":449,"y":830,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_hard_mode9_unlock.png", + "frame": {"x":496,"y":830,"w":45,"h":45}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":45,"h":45}, + "sourceSize": {"w":48,"h":48} +}, +{ + "filename": "trop_star10_unlock.png", + "frame": {"x":552,"y":618,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star1_lock.png", + "frame": {"x":552,"y":668,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star1_unlock.png", + "frame": {"x":552,"y":718,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star2_unlock.png", + "frame": {"x":54,"y":927,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star3_unlock.png", + "frame": {"x":166,"y":926,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star4_unlock.png", + "frame": {"x":208,"y":776,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star5_unlock.png", + "frame": {"x":255,"y":828,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star6_unlock.png", + "frame": {"x":308,"y":828,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star7_unlock.png", + "frame": {"x":407,"y":780,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star8_unlock.png", + "frame": {"x":460,"y":780,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_star9_unlock.png", + "frame": {"x":513,"y":780,"w":51,"h":48}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":48}, + "sourceSize": {"w":51,"h":48} +}, +{ + "filename": "trop_stuff1_lock.png", + "frame": {"x":310,"y":618,"w":59,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":59,"h":50}, + "sourceSize": {"w":59,"h":50} +}, +{ + "filename": "trop_stuff1_unlock.png", + "frame": {"x":371,"y":618,"w":59,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":59,"h":50}, + "sourceSize": {"w":59,"h":50} +}, +{ + "filename": "trop_stuff2_lock.png", + "frame": {"x":288,"y":722,"w":45,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":10,"w":45,"h":50}, + "sourceSize": {"w":77,"h":71} +}, +{ + "filename": "trop_stuff2_unlock.png", + "frame": {"x":432,"y":877,"w":45,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":10,"w":45,"h":50}, + "sourceSize": {"w":77,"h":71} +}, +{ + "filename": "trop_stuff3_lock.png", + "frame": {"x":2,"y":786,"w":51,"h":62}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":62}, + "sourceSize": {"w":51,"h":62} +}, +{ + "filename": "trop_stuff3_unlock.png", + "frame": {"x":2,"y":850,"w":51,"h":62}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":62}, + "sourceSize": {"w":51,"h":62} +}, +{ + "filename": "trop_stuff4_lock.png", + "frame": {"x":2,"y":914,"w":50,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":55}, + "sourceSize": {"w":50,"h":55} +}, +{ + "filename": "trop_stuff4_unlock.png", + "frame": {"x":55,"y":818,"w":50,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":50,"h":55}, + "sourceSize": {"w":50,"h":55} +}, +{ + "filename": "trop_stuff5_lock.png", + "frame": {"x":56,"y":650,"w":58,"h":60}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":60}, + "sourceSize": {"w":58,"h":60} +}, +{ + "filename": "trop_stuff5_unlock.png", + "frame": {"x":56,"y":712,"w":58,"h":60}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":60}, + "sourceSize": {"w":58,"h":60} +}, +{ + "filename": "trop_stuff6_lock.png", + "frame": {"x":116,"y":650,"w":58,"h":58}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":58}, + "sourceSize": {"w":58,"h":58} +}, +{ + "filename": "trop_stuff6_unlock.png", + "frame": {"x":116,"y":710,"w":58,"h":58}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":58,"h":58}, + "sourceSize": {"w":58,"h":58} +}, +{ + "filename": "trop_stuff7_lock.png", + "frame": {"x":323,"y":925,"w":50,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":10,"w":50,"h":50}, + "sourceSize": {"w":77,"h":71} +}, +{ + "filename": "trop_stuff7_unlock.png", + "frame": {"x":375,"y":925,"w":50,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":10,"w":50,"h":50}, + "sourceSize": {"w":77,"h":71} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "atlas_ui_trophies.png", + "format": "RGBA8888", + "size": {"w":605,"h":977}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:69dafec6ad1d77923c2e068f9ca6a967:5b3ed2799794429017f8ceb80bf9e390:685d95ace30658176d42ee59bb29da12$" +} +} diff --git a/gs/html5/vex5/assets/atlas/atlas_ui_trophies.png b/gs/html5/vex5/assets/atlas/atlas_ui_trophies.png new file mode 100644 index 0000000..9462b4e Binary files /dev/null and b/gs/html5/vex5/assets/atlas/atlas_ui_trophies.png differ diff --git a/gs/html5/vex5/assets/atlas/checkpoint.json b/gs/html5/vex5/assets/atlas/checkpoint.json new file mode 100644 index 0000000..d60b30c --- /dev/null +++ b/gs/html5/vex5/assets/atlas/checkpoint.json @@ -0,0 +1,36 @@ +{"frames": [ + +{ + "filename": "checkpint0000.png", + "frame": {"x":2,"y":59,"w":21,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":55}, + "sourceSize": {"w":21,"h":55} +}, +{ + "filename": "checkpint0001.png", + "frame": {"x":2,"y":2,"w":22,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":55}, + "sourceSize": {"w":22,"h":55} +}, +{ + "filename": "checkpint0002.png", + "frame": {"x":2,"y":116,"w":21,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":55}, + "sourceSize": {"w":21,"h":55} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "checkpoint.png", + "format": "RGBA8888", + "size": {"w":26,"h":173}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:a2a6cc8c44856f7bac8659856c362dc5:fb04d3f7acbe5e71e8726469bcd1709d:d7381a9c3c03e1c7216a04a9e729d111$" +} +} diff --git a/gs/html5/vex5/assets/atlas/checkpoint.png b/gs/html5/vex5/assets/atlas/checkpoint.png new file mode 100644 index 0000000..eeed6fd Binary files /dev/null and b/gs/html5/vex5/assets/atlas/checkpoint.png differ diff --git a/gs/html5/vex5/assets/balance/levels/hubArrows.json b/gs/html5/vex5/assets/balance/levels/hubArrows.json new file mode 100644 index 0000000..9d03248 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/hubArrows.json @@ -0,0 +1 @@ +[[{"type":"textFade","x":237,"y":1884,"rotation":0,"textNum":13}, {"type":"textFade","x":610,"y":1891,"rotation":0,"textNum":7}, {"type":"textFade","x":810,"y":1479,"rotation":0,"textNum":2}, {"type":"textFade","x":233,"y":1741,"rotation":0,"textNum":1}], null, null, null, null, null, [{"type":"textFade","x":3735,"y":1035,"rotation":0,"textNum":30}], null, null, null, null, null, [{"type":"textFade","x":454,"y":1480,"rotation":0,"textNum":45}]] diff --git a/gs/html5/vex5/assets/balance/levels/level01.json b/gs/html5/vex5/assets/balance/levels/level01.json new file mode 100644 index 0000000..eb67e3a --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level01.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":849,"y":552,"width":300,"height":99},{"type":"basicBlock","x":1356,"y":627,"width":500,"height":250},{"type":"buzzsawVerticalDown","x":1050,"y":549},{"type":"elevatorGeneratorDown","x":1725,"y":289},{"type":"elevatorEliminatorDown","x":1725,"y":936},{"type":"basicBlock","x":750,"y":949,"width":400,"height":99},{"type":"buzzsaw","x":747,"y":808,"width":150},{"type":"finishPortal","x":1754,"y":226},{"type":"horizontalBlock","x":401,"y":952,"width":100,"height":100},{"type":"checkpoint","x":571,"y":868},{"type":"basicBlock","x":100,"y":950,"width":300,"height":99},{"type":"basicBlock","x":-25,"y":651,"width":50,"height":600},{"type":"bounceBlock","x":95,"y":873,"width":55,"height":55},{"type":"fallingBlock","x":226,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":276,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":326,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":375,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":425,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":475,"y":426,"width":50,"height":50},{"type":"basicBlock","x":175,"y":423,"width":50,"height":650},{"type":"basicBlock","x":-44,"y":426,"width":210,"height":150},{"type":"star","x":224,"y":525},{"type":"basicBlock","x":676,"y":376,"width":50,"height":450},{"type":"basicBlock","x":260,"y":504,"width":20,"height":20},{"type":"spike","x":259,"y":486,"rotation":0},{"type":"laserPoint","x":260,"y":503},{"type":"laserPoint","x":665,"y":502},{"type":"basicBlock","x":602,"y":425,"width":99,"height":50},{"type":"fallingBlock","x":1174,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1224,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1274,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1324,"y":925,"width":50,"height":50},{"type":"ziplinePole","x":675,"y":121},{"type":"ziplinePole","x":75,"y":-34},{"type":"buzzsaw","x":369,"y":18,"width":50},{"type":"basicBlock","x":749,"y":176,"width":100,"height":50},{"type":"basicBlock","x":23,"y":25,"width":150,"height":50},{"type":"fallingBlock","x":1024,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1074,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1124,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":824,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":925,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":1025,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":1125,"y":174,"width":50,"height":50},{"type":"fallingBlock","x":1224,"y":175,"width":50,"height":50},{"type":"checkpoint","x":718,"y":114},{"type":"checkpoint","x":-90,"y":317},{"type":"spike","x":155,"y":90,"rotation":0},{"type":"spike","x":168,"y":90,"rotation":0},{"type":"spike","x":181,"y":90,"rotation":0},{"type":"spike","x":194,"y":90,"rotation":0},{"type":"verticalUpBlock","x":-200,"y":276,"width":100,"height":50},{"type":"bounceBlock","x":-126,"y":165,"width":50,"height":30},{"type":"laserPoint","x":1662,"y":275},{"type":"laserPoint","x":688,"y":274},{"type":"textFade","x":880,"y":540,"rotation":0,"textNum":10},{"type":"textFade","x":875,"y":424,"rotation":0,"textNum":15},{"type":"textFade","x":1668,"y":496,"rotation":90,"textNum":15},{"type":"textFade","x":756,"y":941,"rotation":0,"textNum":11},{"type":"textFade","x":91,"y":940,"rotation":0,"textNum":14},{"type":"textFade","x":-26,"y":926,"rotation":-90,"textNum":17},{"type":"textFade","x":1505,"y":930,"rotation":0,"textNum":12},{"type":"textFade","x":1589,"y":819,"rotation":-180,"textNum":16},{"type":"textFade","x":-43,"y":406,"rotation":0,"textNum":41},{"type":"textFade","x":33,"y":-93,"rotation":0,"textNum":18},{"type":"textFade","x":399,"y":826,"rotation":-180,"textNum":15},{"type":"textFade","x":98,"y":420,"rotation":-110,"textNum":15},{"type":"textFade","x":-121,"y":282,"rotation":-90,"textNum":15},{"type":"textFade","x":-111,"y":82,"rotation":-60,"textNum":15},{"type":"textFade","x":237,"y":-82,"rotation":20,"textNum":15},{"type":"textFade","x":935,"y":65,"rotation":0,"textNum":15},{"type":"textFade","x":1327,"y":424,"rotation":0,"textNum":15},{"type":"basicBlock","x":1510,"y":927,"width":280,"height":78},{"type":"basicBlock","x":1829,"y":613,"width":60,"height":707},{"type":"textFade","x":1171,"y":821,"rotation":-180,"textNum":16},{"type":"blockSpike","x":1267,"y":552,"spikeUp":0,"timeUp":10,"timeDown":5,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"bounceBlock","x":1384,"y":175,"width":50,"height":35},{"type":"textFade","x":1566,"y":119,"rotation":25,"textNum":15},{"type":"blockSpike","x":1457,"y":552,"spikeUp":1,"timeUp":10,"timeDown":5,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"textFade","x":513,"y":-11,"rotation":20,"textNum":15},{"type":"buzzsaw","x":826,"y":274,"width":101},{"type":"buzzsaw","x":928,"y":273,"width":101},{"type":"buzzsaw","x":1033,"y":273,"width":101},{"type":"buzzsaw","x":1137,"y":274,"width":101},{"type":"buzzsaw","x":1239,"y":273,"width":101},{"type":"buzzsawVerticalDown","x":1799,"y":537},{"type":"buzzsawOnStick","x":-332,"y":249,"rotation":16},{"type":"basicBlock","x":349,"y":312,"width":300,"height":20,"rotation":0},{"type":"spike30x","x":349,"y":293,"rotation":0},{"type":"spawnPoint","x":741,"y":493}] diff --git a/gs/html5/vex5/assets/balance/levels/level01hard.json b/gs/html5/vex5/assets/balance/levels/level01hard.json new file mode 100644 index 0000000..4d1699a --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level01hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":851,"y":550,"width":300,"height":99},{"type":"basicBlock","x":1251,"y":626,"width":300,"height":250},{"type":"buzzsawVerticalDown","x":1050,"y":549},{"type":"elevatorGeneratorDown","x":1474,"y":280},{"type":"elevatorEliminatorDown","x":1476,"y":974},{"type":"basicBlock","x":750,"y":949,"width":400,"height":99},{"type":"buzzsaw","x":747,"y":808,"width":150},{"type":"finishPortal","x":1464,"y":218},{"type":"checkpoint","x":571,"y":868},{"type":"basicBlock","x":100,"y":950,"width":300,"height":99},{"type":"basicBlock","x":-25,"y":651,"width":50,"height":600},{"type":"bounceBlock","x":87.27272727272737,"y":814.2727272727271,"width":50,"height":50},{"type":"fallingBlock","x":226,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":276,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":326,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":375,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":425,"y":426,"width":50,"height":50},{"type":"fallingBlock","x":475,"y":426,"width":50,"height":50},{"type":"basicBlock","x":175,"y":423,"width":50,"height":650},{"type":"basicBlock","x":-44,"y":426,"width":210,"height":150},{"type":"star","x":224,"y":525},{"type":"basicBlock","x":676,"y":376,"width":50,"height":450},{"type":"basicBlock","x":260,"y":504,"width":20,"height":20},{"type":"spike","x":259,"y":486,"rotation":0},{"type":"laserPoint","x":260,"y":503},{"type":"laserPoint","x":665,"y":502},{"type":"basicBlock","x":602,"y":425,"width":99,"height":50},{"type":"fallingBlock","x":1224,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1324,"y":925,"width":50,"height":50},{"type":"basicBlock","x":491,"y":310,"width":20,"height":20},{"type":"spike","x":490,"y":293,"rotation":0},{"type":"laserPoint","x":491,"y":310},{"type":"laserPoint","x":190,"y":312},{"type":"ziplinePole","x":675,"y":121},{"type":"ziplinePole","x":75,"y":-34},{"type":"basicBlock","x":749,"y":176,"width":100,"height":50},{"type":"basicBlock","x":23,"y":25,"width":150,"height":50},{"type":"fallingBlock","x":1024,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":1124,"y":925,"width":50,"height":50},{"type":"fallingBlock","x":824,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":925,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":1025,"y":175,"width":50,"height":50},{"type":"fallingBlock","x":1125,"y":174,"width":50,"height":50},{"type":"checkpoint","x":718,"y":114},{"type":"checkpoint","x":-90,"y":317},{"type":"spike","x":155,"y":90,"rotation":0},{"type":"spike","x":168,"y":90,"rotation":0},{"type":"spike","x":181,"y":90,"rotation":0},{"type":"spike","x":194,"y":90,"rotation":0},{"type":"bounceBlock","x":-126,"y":165,"width":50,"height":30},{"type":"laserPoint","x":1414,"y":274},{"type":"laserPoint","x":688,"y":274},{"type":"textFade","x":828,"y":549,"rotation":0,"textNum":10},{"type":"textFade","x":1090,"y":433,"rotation":0,"textNum":15},{"type":"textFade","x":1437,"y":430,"rotation":90,"textNum":15},{"type":"textFade","x":756,"y":941,"rotation":0,"textNum":11},{"type":"textFade","x":91,"y":940,"rotation":0,"textNum":14},{"type":"textFade","x":-26,"y":926,"rotation":-90,"textNum":17},{"type":"textFade","x":1277,"y":713,"rotation":0,"textNum":12},{"type":"textFade","x":1329,"y":819,"rotation":-180,"textNum":16},{"type":"textFade","x":-43,"y":406,"rotation":0,"textNum":41},{"type":"textFade","x":33,"y":-93,"rotation":0,"textNum":18},{"type":"textFade","x":448,"y":822,"rotation":-180,"textNum":15},{"type":"textFade","x":98,"y":420,"rotation":-110,"textNum":15},{"type":"textFade","x":-121,"y":282,"rotation":-90,"textNum":15},{"type":"textFade","x":-111,"y":82,"rotation":-60,"textNum":15},{"type":"textFade","x":278,"y":-64,"rotation":25,"textNum":15},{"type":"textFade","x":857,"y":91,"rotation":0,"textNum":15},{"type":"buzzsawOnStick","x":1362,"y":597,"rotation":96},{"type":"bouncingBuzzsaw","x":924,"y":725,"width":50},{"type":"pole","x":475,"y":876},{"type":"pole","x":329,"y":822},{"type":"pole","x":-226,"y":278},{"type":"pole","x":-337,"y":225},{"type":"pole","x":-225,"y":175},{"type":"classicLaser","x":1033,"y":28},{"type":"pole","x":1223,"y":125},{"type":"buzzsawOnStick","x":175,"y":648,"rotation":96},{"type":"reaper","x":368,"y":18,"rotation":0,"width":240.18045112781954},{"type":"bouncingBuzzsaw","x":-11,"y":177,"width":50},{"type":"blockSpike","x":1257,"y":551,"spikeUp":1,"timeUp":1,"timeDown":1,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":773,"y":487}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level02.json b/gs/html5/vex5/assets/balance/levels/level02.json new file mode 100644 index 0000000..20fb759 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level02.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":649,"y":550,"width":null,"height":99},{"type":"basicBlock","x":800,"y":550,"width":400,"height":100},{"type":"rope","x":903,"y":272,"height":335,"rotation":0},{"type":"basicBlock","x":1184,"y":350,"width":270,"height":100},{"type":"basicBlock","x":903,"y":103,"width":99,"height":100,"rotation":0},{"type":"basicBlock","x":1399,"y":175,"width":99,"height":50},{"type":"rope","x":1402,"y":375,"height":350},{"type":"buzzsaw","x":1400,"y":601,"width":101},{"type":"basicBlock","x":1299,"y":750,"width":100,"height":99},{"type":"swimmingPool","x":951,"y":924,"width":400,"height":250},{"type":"basicBlock","x":1001,"y":600,"width":99,"height":600},{"type":"rope","x":1251,"y":500,"height":300},{"type":"basicBlock","x":1201,"y":901,"width":100,"height":400},{"type":"basicBlock","x":951,"y":1096,"width":600,"height":100},{"type":"basicBlock","x":701,"y":898,"width":100,"height":400},{"type":"pushBlock","x":1076,"y":261,"width":50,"height":50},{"type":"basicBlock","x":1325,"y":275,"width":50,"height":250},{"type":"elevatorGeneratorDown","x":1524,"y":-130},{"type":"elevatorEliminatorDown","x":1525,"y":426},{"type":"star","x":1271,"y":1073},{"type":"checkpoint","x":1204,"y":667},{"type":"rope","x":1349,"y":969,"height":350},{"type":"bounceBlock","x":1426,"y":930,"width":40,"height":40},{"type":"basicBlock","x":650,"y":300,"width":99,"height":400},{"type":"basicBlock","x":576,"y":450,"width":50,"height":700},{"type":"bounceBlock","x":423,"y":677,"width":40,"height":40},{"type":"bounceBlock","x":531,"y":476,"width":40,"height":40},{"type":"bounceBlock","x":422,"y":325,"width":40,"height":40},{"type":"buzzsawVerticalDown","x":775,"y":80,"rotation":0},{"type":"buzzsaw","x":964,"y":518,"width":101},{"type":"buzzsaw","x":1305,"y":302,"width":50},{"type":"fallingBlock","x":1000,"y":32,"width":50,"height":50,"rotation":0},{"type":"ziplinePole","x":1568,"y":-186},{"type":"ziplinePole","x":2399,"y":15},{"type":"basicBlock","x":2205,"y":99,"width":800,"height":99},{"type":"checkpoint","x":658,"y":68},{"type":"checkpoint","x":2511,"y":13},{"type":"rope","x":2604,"y":448,"height":600},{"type":"rope","x":2453,"y":448,"height":600},{"type":"rope","x":2304,"y":448,"height":600},{"type":"rope","x":2153,"y":444,"height":600},{"type":"spike30x","x":1902,"y":41,"rotation":0},{"type":"spike30x","x":2139,"y":41,"rotation":0},{"type":"finishPortal","x":1842,"y":375},{"type":"rope","x":2004,"y":448,"height":600},{"type":"rope","x":2704,"y":149,"height":600},{"type":"basicBlock","x":2700,"y":-199,"width":99,"height":99},{"type":"buzzsaw","x":2450,"y":199,"width":101},{"type":"buzzsaw","x":2602,"y":501,"width":101},{"type":"buzzsawVerticalDown","x":2527,"y":347},{"type":"buzzsaw","x":2299,"y":302,"width":101},{"type":"buzzsaw","x":2449,"y":598,"width":101},{"type":"buzzsawVerticalDown","x":2221,"y":448},{"type":"buzzsaw","x":2299,"y":601,"width":101},{"type":"buzzsaw","x":2152,"y":201,"width":101},{"type":"buzzsaw","x":2152,"y":601,"width":101},{"type":"buzzsaw","x":2002,"y":502,"width":101},{"type":"buzzsaw","x":2001,"y":202,"width":101},{"type":"buzzsawVerticalUp","x":2069,"y":350},{"type":"buzzsawVerticalUp","x":2380,"y":451},{"type":"basicBlock","x":1780,"y":299,"width":50,"height":500},{"type":"spike30x","x":1746,"y":196,"rotation":-90},{"type":"spike30x","x":1746,"y":402,"rotation":-90},{"type":"buzzsawOnStick","x":1205,"y":1099,"rotation":136},{"type":"buzzsawOnStick","x":712,"y":1101,"rotation":136},{"type":"fallingBlock","x":1085,"y":-2,"width":50,"height":50,"rotation":0},{"type":"buzzsawOnStick","x":2104,"y":-78,"rotation":120},{"type":"pushBlock","x":625,"y":826,"width":50,"height":50},{"type":"basicBlock","x":352,"y":902,"width":600,"height":100},{"type":"basicBlock","x":152,"y":137,"width":200,"height":1500},{"type":"basicBlock","x":451,"y":775,"width":200,"height":50},{"type":"textFade","x":666,"y":2,"rotation":0,"textNum":15},{"type":"textFade","x":947,"y":955,"rotation":0,"textNum":20},{"type":"textFade","x":1088,"y":341,"rotation":0,"textNum":21},{"type":"textFade","x":593,"y":895,"rotation":0,"textNum":22},{"type":"textFade","x":819,"y":365,"rotation":-45,"textNum":15},{"type":"textFade","x":1208,"y":211,"rotation":-45,"textNum":15},{"type":"textFade","x":1485,"y":60,"rotation":90,"textNum":15},{"type":"textFade","x":1465,"y":306,"rotation":135,"textNum":15},{"type":"textFade","x":1091,"y":692,"rotation":90,"textNum":15},{"type":"textFade","x":857,"y":719,"rotation":-135,"textNum":15},{"type":"textFade","x":308,"y":681,"rotation":-45,"textNum":15},{"type":"textFade","x":477,"y":386,"rotation":-90,"textNum":15},{"type":"textFade","x":977,"y":-33,"rotation":-25,"textNum":15},{"type":"textFade","x":1625,"y":-237,"rotation":20,"textNum":15},{"type":"textFade","x":2641,"y":-36,"rotation":90,"textNum":15},{"type":"textFade","x":2793,"y":294,"rotation":-180,"textNum":15},{"type":"buzzsawVerticalUp","x":1804,"y":-152},{"type":"fallingBlock","x":1170,"y":-36,"width":50,"height":50,"rotation":0},{"type":"fallingBlock","x":1255,"y":-70,"width":50,"height":50,"rotation":0},{"type":"fallingBlock","x":1425,"y":-135,"width":50,"height":50},{"type":"fallingBlock","x":1340,"y":-104,"width":50,"height":50,"rotation":0},{"type":"laserPoint","x":942,"y":93,"rotation":0},{"type":"laserPoint","x":1458,"y":-113,"rotation":0},{"type":"textFade","x":1222,"y":-134,"rotation":-25,"textNum":15},{"type":"textFade","x":2069,"y":-139,"rotation":20,"textNum":15},{"type":"spike10x","x":747,"y":124,"rotation":0},{"type":"spike10x","x":812,"y":124,"rotation":0},{"type":"basicBlock","x":776,"y":143,"width":156,"height":20,"rotation":0},{"type":"buzzsaw","x":900,"y":152,"width":50,"rotation":0},{"type":"spawnPoint","x":757,"y":487}] diff --git a/gs/html5/vex5/assets/balance/levels/level02hard.json b/gs/html5/vex5/assets/balance/levels/level02hard.json new file mode 100644 index 0000000..a07b6a2 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level02hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":649,"y":550,"width":null,"height":99},{"type":"basicBlock","x":800,"y":550,"width":400,"height":100},{"type":"rope","x":901,"y":298,"height":300},{"type":"basicBlock","x":1184,"y":350,"width":270,"height":100},{"type":"basicBlock","x":902,"y":126,"width":99,"height":50},{"type":"basicBlock","x":1399,"y":175,"width":99,"height":50},{"type":"rope","x":1402,"y":375,"height":350},{"type":"buzzsaw","x":1400,"y":601,"width":101},{"type":"basicBlock","x":1299,"y":750,"width":100,"height":99},{"type":"swimmingPool","x":951,"y":924,"width":400,"height":250},{"type":"basicBlock","x":1001,"y":600,"width":99,"height":600},{"type":"rope","x":1251,"y":500,"height":300},{"type":"basicBlock","x":1201,"y":901,"width":100,"height":400},{"type":"basicBlock","x":951,"y":1096,"width":600,"height":100},{"type":"basicBlock","x":701,"y":898,"width":100,"height":400},{"type":"pushBlock","x":1076,"y":261,"width":50,"height":50},{"type":"basicBlock","x":1325,"y":275,"width":50,"height":250},{"type":"elevatorGeneratorDown","x":1524,"y":-130},{"type":"elevatorEliminatorDown","x":1525,"y":426},{"type":"star","x":1271,"y":1073},{"type":"checkpoint","x":1204,"y":667},{"type":"rope","x":1349,"y":969,"height":350},{"type":"bounceBlock","x":1426,"y":930,"width":40,"height":40},{"type":"basicBlock","x":650,"y":300,"width":99,"height":400},{"type":"basicBlock","x":576,"y":450,"width":50,"height":700},{"type":"bounceBlock","x":423,"y":677,"width":40,"height":40},{"type":"bounceBlock","x":528,"y":476,"width":40,"height":40},{"type":"buzzsawVerticalDown","x":772,"y":147},{"type":"buzzsaw","x":964,"y":518,"width":101},{"type":"buzzsaw","x":1305,"y":302,"width":50},{"type":"fallingBlock","x":1025,"y":76,"width":50,"height":50},{"type":"ziplinePole","x":1568,"y":-186},{"type":"ziplinePole","x":2399,"y":15},{"type":"basicBlock","x":2205,"y":99,"width":800,"height":99},{"type":"checkpoint","x":658,"y":68},{"type":"checkpoint","x":2511,"y":13},{"type":"rope","x":2601,"y":346,"height":400},{"type":"rope","x":2453,"y":448,"height":600},{"type":"rope","x":2304,"y":448,"height":600},{"type":"rope","x":2153,"y":444,"height":600},{"type":"spike30x","x":1902,"y":41,"rotation":0},{"type":"spike30x","x":2139,"y":41,"rotation":0},{"type":"finishPortal","x":1871,"y":444},{"type":"rope","x":2004,"y":448,"height":600},{"type":"rope","x":2704,"y":149,"height":600},{"type":"basicBlock","x":2700,"y":-199,"width":99,"height":99},{"type":"buzzsaw","x":2599,"y":288,"width":101},{"type":"basicBlock","x":1780,"y":299,"width":50,"height":500},{"type":"spike30x","x":1746,"y":196,"rotation":-90},{"type":"spike30x","x":1746,"y":402,"rotation":-90},{"type":"buzzsawOnStick","x":1205,"y":1099,"rotation":440},{"type":"buzzsawOnStick","x":712,"y":1101,"rotation":440},{"type":"fallingBlock","x":1123,"y":25,"width":50,"height":50},{"type":"fallingBlock","x":1224,"y":-25,"width":50,"height":50},{"type":"fallingBlock","x":1326,"y":-76,"width":50,"height":50},{"type":"pushBlock","x":625,"y":826,"width":50,"height":50},{"type":"basicBlock","x":352,"y":902,"width":600,"height":100},{"type":"basicBlock","x":152,"y":137,"width":200,"height":1500},{"type":"basicBlock","x":451,"y":775,"width":200,"height":50},{"type":"textFade","x":495,"y":24,"rotation":0,"textNum":15},{"type":"textFade","x":947,"y":955,"rotation":0,"textNum":20},{"type":"textFade","x":1088,"y":341,"rotation":0,"textNum":21},{"type":"textFade","x":593,"y":895,"rotation":0,"textNum":22},{"type":"textFade","x":819,"y":365,"rotation":-45,"textNum":15},{"type":"textFade","x":1208,"y":211,"rotation":-45,"textNum":15},{"type":"textFade","x":1485,"y":60,"rotation":90,"textNum":15},{"type":"textFade","x":1465,"y":306,"rotation":135,"textNum":15},{"type":"textFade","x":1091,"y":692,"rotation":90,"textNum":15},{"type":"textFade","x":857,"y":719,"rotation":-135,"textNum":15},{"type":"textFade","x":308,"y":681,"rotation":-45,"textNum":15},{"type":"textFade","x":477,"y":386,"rotation":-90,"textNum":15},{"type":"textFade","x":1035,"y":-7,"rotation":-30,"textNum":15},{"type":"textFade","x":1688,"y":-223,"rotation":20,"textNum":15},{"type":"textFade","x":2641,"y":-36,"rotation":90,"textNum":15},{"type":"textFade","x":2793,"y":294,"rotation":-180,"textNum":15},{"type":"buzzsaw","x":1157,"y":307,"width":50},{"type":"buzzsawOnStick","x":1420,"y":173,"rotation":304},{"type":"buzzsawOnStick","x":399,"y":894,"rotation":304},{"type":"circularCannon","x":381,"y":250},{"type":"buzzsaw","x":294,"y":119,"width":101},{"type":"buzzsaw","x":465,"y":117,"width":101},{"type":"shurikanDispenser","x":1074,"y":-153},{"type":"shurikanDispenser","x":1409,"y":-276},{"type":"reaper","x":1938,"y":-124,"rotation":0,"width":192.54135338345864},{"type":"buzzsawOnStick","x":2302,"y":412,"rotation":304},{"type":"buzzsawOnStick","x":2151,"y":232,"rotation":304},{"type":"buzzsawOnStick","x":2001,"y":420,"rotation":304},{"type":"buzzsawOnStick","x":2001,"y":201,"rotation":304},{"type":"buzzsawOnStick","x":1992,"y":644,"rotation":-56.000000000000014},{"type":"buzzsawOnStick","x":2303,"y":597,"rotation":-56.000000000000014},{"type":"buzzsawOnStick","x":997,"y":864,"rotation":-26},{"type":"blockSpike","x":2367,"y":99,"spikeUp":1,"timeUp":5,"timeDown":5,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":761,"y":459}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level03.json b/gs/html5/vex5/assets/balance/levels/level03.json new file mode 100644 index 0000000..102bf49 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level03.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":305,"y":600,"width":300,"height":99},{"type":"basicBlock","x":698,"y":601,"width":200,"height":99},{"type":"pole","x":526,"y":475},{"type":"rope","x":702,"y":175,"height":650},{"type":"rope","x":370,"y":190,"height":230},{"type":"pole","x":292,"y":78},{"type":"buzzsaw","x":700,"y":214,"width":60},{"type":"pole","x":530,"y":-79},{"type":"basicBlock","x":501,"y":65,"width":300,"height":50},{"type":"basicBlock","x":797,"y":171,"width":105,"height":960},{"type":"basicBlock","x":696,"y":-94,"width":99,"height":430},{"type":"laserPoint","x":412,"y":604},{"type":"laserPoint","x":613,"y":603},{"type":"checkpoint","x":697,"y":-347},{"type":"pole","x":570,"y":-178},{"type":"basicBlock","x":448,"y":-199,"width":99,"height":50},{"type":"glassBlock","x":899,"y":-259,"width":100,"height":100},{"type":"glassBlock","x":900,"y":-100,"width":100,"height":100},{"type":"glassBlock","x":900,"y":101,"width":100,"height":100},{"type":"glassBlock","x":900,"y":300,"width":100,"height":100},{"type":"glassBlock","x":900,"y":501,"width":100,"height":100},{"type":"glassBlock","x":900,"y":700,"width":100,"height":100},{"type":"glassBlock","x":900,"y":800,"width":100,"height":100},{"type":"basicBlock","x":725,"y":800,"width":250,"height":99},{"type":"basicBlock","x":324,"y":849,"width":250,"height":99},{"type":"basicBlock","x":201,"y":0,"width":105,"height":1300},{"type":"elevatorGeneratorUp","x":79,"y":879},{"type":"elevatorEliminatorUp","x":81,"y":267},{"type":"basicBlock","x":1000,"y":124,"width":105,"height":1350},{"type":"rope","x":-50,"y":-102,"height":1200},{"type":"buzzsawHorizontalFast","x":-32,"y":191},{"type":"buzzsawOnStick","x":717,"y":797,"rotation":312},{"type":"buzzsawHorizontalFast","x":-32,"y":-2},{"type":"buzzsawHorizontalFast","x":-33,"y":-200},{"type":"spike30x","x":144,"y":92,"rotation":-90},{"type":"spike30x","x":144,"y":-203,"rotation":-90},{"type":"spike30x","x":141,"y":-501,"rotation":-90},{"type":"spike10x","x":58,"y":229,"rotation":0},{"type":"spike10x","x":144,"y":230,"rotation":0},{"type":"ziplinePole","x":209,"y":-678},{"type":"ziplinePole","x":1001,"y":-575},{"type":"bouncingBuzzsaw","x":295,"y":690,"width":50},{"type":"checkpoint","x":239,"y":761},{"type":"basicBlock","x":-53,"y":-751,"width":99,"height":99},{"type":"basicBlock","x":1151,"y":-501,"width":200,"height":99},{"type":"pole","x":52,"y":-616},{"type":"checkpoint","x":1052,"y":-589},{"type":"iceBlock","x":1550,"y":-500,"width":600,"height":100},{"type":"pushBlock","x":1202,"y":-575,"width":50,"height":50},{"type":"bouncingBuzzsaw","x":1325,"y":-677,"width":50},{"type":"bouncingBuzzsaw","x":1777,"y":-678,"width":50},{"type":"basicBlock","x":1950,"y":-650,"width":200,"height":200},{"type":"buzzsawOnStick","x":1554,"y":-502,"rotation":248},{"type":"finishPortal","x":1955,"y":-776},{"type":"buzzsawHorizontalFast","x":905,"y":200},{"type":"buzzsawVerticalUp","x":620,"y":-648},{"type":"star","x":-59,"y":-831},{"type":"bounceBlock","x":278,"y":-373,"width":50,"height":55},{"type":"pole","x":173,"y":-799},{"type":"textFade","x":323,"y":470,"rotation":0,"textNum":17},{"type":"textFade","x":1335,"y":-498,"rotation":0,"textNum":26},{"type":"textFade","x":529,"y":430,"rotation":0,"textNum":23},{"type":"textFade","x":537,"y":521,"rotation":0,"textNum":24},{"type":"textFade","x":200,"y":68,"rotation":0,"textNum":25},{"type":"textFade","x":796,"y":-250,"rotation":0,"textNum":27},{"type":"textFade","x":599,"y":288,"rotation":-160,"textNum":17},{"type":"textFade","x":572,"y":-325,"rotation":-25,"textNum":17},{"type":"textFade","x":898,"y":-358,"rotation":90,"textNum":17},{"type":"textFade","x":564,"y":716,"rotation":-180,"textNum":17},{"type":"textFade","x":4,"y":709,"rotation":-90,"textNum":17},{"type":"textFade","x":104,"y":-724,"rotation":0,"textNum":17},{"type":"textFade","x":1202,"y":-630,"rotation":0,"textNum":17},{"type":"bouncingBuzzsaw","x":377,"y":690,"width":50},{"type":"basicBlock","x":452,"y":362,"width":400,"height":50},{"type":"buzzsaw","x":700,"y":151,"width":60},{"type":"textFade","x":370,"y":144,"rotation":-140,"textNum":17},{"type":"textFade","x":579,"y":-3,"rotation":-25,"textNum":17},{"type":"textFade","x":604,"y":-58,"rotation":-160,"textNum":17},{"type":"textFade","x":566,"y":-237,"rotation":-160,"textNum":17},{"type":"textFade","x":478,"y":-710,"rotation":10,"textNum":17},{"type":"spawnPoint","x":297,"y":533}] diff --git a/gs/html5/vex5/assets/balance/levels/level03hard.json b/gs/html5/vex5/assets/balance/levels/level03hard.json new file mode 100644 index 0000000..27cdf23 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level03hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":305,"y":600,"width":300,"height":99},{"type":"basicBlock","x":698,"y":601,"width":200,"height":99},{"type":"pole","x":526,"y":475},{"type":"rope","x":702,"y":175,"height":650},{"type":"rope","x":451,"y":175,"height":450.00000000000006},{"type":"pole","x":577,"y":326},{"type":"pole","x":574,"y":177},{"type":"buzzsaw","x":697,"y":225,"width":60},{"type":"buzzsaw","x":447,"y":68,"width":60},{"type":"pole","x":575,"y":-25},{"type":"basicBlock","x":450,"y":-74,"width":99,"height":50},{"type":"basicBlock","x":798,"y":151,"width":105,"height":1000},{"type":"basicBlock","x":698,"y":-225,"width":99,"height":250},{"type":"laserPoint","x":412,"y":604},{"type":"laserPoint","x":613,"y":603},{"type":"checkpoint","x":710,"y":-383},{"type":"pole","x":570,"y":-178},{"type":"basicBlock","x":449,"y":-225,"width":99,"height":50},{"type":"glassBlock","x":901,"y":-300,"width":100,"height":100},{"type":"glassBlock","x":900,"y":102,"width":100,"height":100},{"type":"glassBlock","x":900,"y":501,"width":100,"height":100},{"type":"glassBlock","x":900,"y":700,"width":100,"height":100},{"type":"basicBlock","x":724,"y":800,"width":250,"height":99},{"type":"basicBlock","x":324,"y":849,"width":250,"height":99},{"type":"basicBlock","x":201,"y":0,"width":105,"height":1300},{"type":"elevatorGeneratorUp","x":79,"y":879},{"type":"elevatorEliminatorUp","x":81,"y":267},{"type":"basicBlock","x":1000,"y":124,"width":105,"height":1350},{"type":"rope","x":-50,"y":-102,"height":1200},{"type":"buzzsawHorizontalFast","x":-10,"y":200},{"type":"buzzsawOnStick","x":414,"y":851,"rotation":160},{"type":"bouncingBuzzsaw","x":773,"y":678,"width":50},{"type":"buzzsawHorizontalFast","x":-67,"y":52},{"type":"buzzsawHorizontalFast","x":-19,"y":-99},{"type":"spike30x","x":144,"y":92,"rotation":-90},{"type":"spike30x","x":144,"y":-203,"rotation":-90},{"type":"spike30x","x":141,"y":-501,"rotation":-90},{"type":"spike10x","x":58,"y":229,"rotation":0},{"type":"spike10x","x":144,"y":230,"rotation":0},{"type":"ziplinePole","x":209,"y":-678},{"type":"ziplinePole","x":1001,"y":-575},{"type":"bouncingBuzzsaw","x":674,"y":677,"width":50},{"type":"checkpoint","x":241,"y":758},{"type":"basicBlock","x":-53,"y":-751,"width":99,"height":99},{"type":"basicBlock","x":1151,"y":-501,"width":200,"height":99},{"type":"pole","x":52,"y":-616},{"type":"checkpoint","x":1052,"y":-589},{"type":"iceBlock","x":1550,"y":-500,"width":600,"height":100},{"type":"pushBlock","x":1202,"y":-575,"width":50,"height":50},{"type":"bouncingBuzzsaw","x":1325,"y":-677,"width":50},{"type":"bouncingBuzzsaw","x":1724,"y":-676,"width":50},{"type":"basicBlock","x":1950,"y":-694,"width":200,"height":100},{"type":"finishPortal","x":1955,"y":-776},{"type":"star","x":-59,"y":-831},{"type":"bounceBlock","x":278,"y":-373,"width":50,"height":55},{"type":"pole","x":173,"y":-799},{"type":"textFade","x":343,"y":479,"rotation":0,"textNum":17},{"type":"textFade","x":1335,"y":-498,"rotation":0,"textNum":26},{"type":"textFade","x":529,"y":430,"rotation":0,"textNum":23},{"type":"textFade","x":537,"y":521,"rotation":0,"textNum":24},{"type":"textFade","x":701,"y":-188,"rotation":0,"textNum":25},{"type":"textFade","x":800,"y":-304,"rotation":0,"textNum":27},{"type":"textFade","x":608,"y":291,"rotation":-90,"textNum":17},{"type":"textFade","x":549,"y":-311,"rotation":-45,"textNum":17},{"type":"textFade","x":899,"y":-328,"rotation":90,"textNum":17},{"type":"textFade","x":564,"y":716,"rotation":-180,"textNum":17},{"type":"textFade","x":4,"y":709,"rotation":-90,"textNum":17},{"type":"textFade","x":104,"y":-724,"rotation":0,"textNum":17},{"type":"textFade","x":1209,"y":-633,"rotation":0,"textNum":17},{"type":"buzzsawOnStick","x":772,"y":15,"rotation":280},{"type":"buzzsawOnStick","x":447,"y":69,"rotation":216},{"type":"buzzsawHorizontalFast","x":903,"y":599},{"type":"buzzsawOnStick","x":204,"y":376,"rotation":168},{"type":"buzzsawOnStick","x":-40,"y":-745,"rotation":168},{"type":"buzzsawOnStick","x":776,"y":-632,"rotation":168},{"type":"bouncingBuzzsaw","x":1427,"y":-675,"width":50},{"type":"bouncingBuzzsaw","x":1526,"y":-677,"width":50},{"type":"bouncingBuzzsaw","x":1627,"y":-676,"width":50},{"type":"buzzsawHorizontalFast","x":-17,"y":-397},{"type":"reaper","x":509,"y":-665,"rotation":0,"width":232.2406015037594},{"type":"blockSpike","x":1204,"y":-502,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":322,"y":534}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level04.json b/gs/html5/vex5/assets/balance/levels/level04.json new file mode 100644 index 0000000..8eeee27 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level04.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":399,"y":600,"width":300,"height":99},{"type":"appearingBlock","x":652,"y":600,"width":99,"height":99,"initVisible":1,"timeShow":80,"timeHide":80},{"type":"appearingBlock","x":851,"y":600,"width":99,"height":99,"initVisible":0,"timeShow":80,"timeHide":80},{"type":"basicBlock","x":850,"y":349,"width":500,"height":99},{"type":"basicBlock","x":1101,"y":599,"width":200,"height":99},{"type":"windBlaster","x":1143,"y":551,"rotation":-90},{"type":"bouncingBuzzsaw","x":925,"y":176,"width":50},{"type":"checkpoint","x":1023,"y":268},{"type":"bouncingBuzzsaw","x":825,"y":176,"width":50},{"type":"bouncingBuzzsaw","x":876,"y":124,"width":50},{"type":"speedBlockLeft","x":500,"y":349,"width":200,"height":100},{"type":"speedBlockLeft","x":201,"y":350,"width":200,"height":100},{"type":"buzzsawVerticalUp","x":351,"y":297},{"type":"bounceBlock","x":-29,"y":374,"width":50,"height":50},{"type":"basicBlock","x":101,"y":49,"width":200,"height":99},{"type":"checkpoint","x":84,"y":-28},{"type":"appearingBlock","x":276,"y":24,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":374,"y":23,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":474,"y":23,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":625,"y":-25,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":558,"y":9,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"basicBlock","x":900,"y":12,"width":400,"height":125},{"type":"laserPoint","x":180,"y":50},{"type":"laserPoint","x":724,"y":47},{"type":"basicBlock","x":901,"y":-249,"width":400,"height":99},{"type":"fallingSpike","x":709,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":723,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":737,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":752,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":767,"y":-192,"rotation":-9720},{"type":"fallingSpike","x":780,"y":-192,"rotation":-9720},{"type":"fallingSpike","x":794,"y":-192,"rotation":-9720},{"type":"fallingSpike","x":807,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":821,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":835,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":851,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":866,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":882,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":897,"y":-191,"rotation":-9720},{"type":"fallingSpike","x":911,"y":-192,"rotation":-9720},{"type":"buzzsaw","x":874,"y":-43,"width":50},{"type":"checkpoint","x":1030,"y":-70},{"type":"elevatorGeneratorUp","x":1175,"y":45},{"type":"elevatorEliminatorUp","x":1175,"y":-571},{"type":"buzzsawOnStick","x":1065,"y":-273,"rotation":424},{"type":"basicBlock","x":99,"y":-250,"width":200,"height":99},{"type":"checkpoint","x":94,"y":-325},{"type":"basicBlock","x":-101,"y":198,"width":99,"height":1000},{"type":"glassBlock","x":-201,"y":-251,"width":100,"height":100},{"type":"glassBlock","x":-201,"y":-50,"width":100,"height":100},{"type":"glassBlock","x":-201,"y":201,"width":100,"height":100},{"type":"glassBlock","x":-202,"y":348,"width":100,"height":100},{"type":"iceBlock","x":-651,"y":373,"width":800,"height":150},{"type":"basicBlock","x":-377,"y":176,"width":250,"height":50},{"type":"basicBlock","x":-298,"y":-251,"width":99,"height":700},{"type":"pushBlock","x":-384,"y":128,"width":50,"height":50},{"type":"star","x":-170,"y":373},{"type":"basicBlock","x":-1176,"y":273,"width":250,"height":250},{"type":"shurikanSpawner","x":-673,"y":130,"rotation":90},{"type":"shurikanSpawner","x":-877,"y":127,"rotation":90},{"type":"speedBlock","x":-647,"y":72,"width":600,"height":50},{"type":"appearingBlock","x":-576,"y":-26,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"spike30x","x":-355,"y":-98,"rotation":-90},{"type":"basicBlock","x":-422,"y":-100,"width":150,"height":99},{"type":"windBlaster","x":-611,"y":-168,"rotation":0},{"type":"basicBlock","x":-649,"y":-301,"width":99,"height":600},{"type":"bounceBlock","x":-576,"y":-224,"width":50,"height":50},{"type":"spike10x","x":-649,"y":-610,"rotation":0},{"type":"speedBlock","x":54,"y":-574,"width":600,"height":50},{"type":"buzzsaw","x":2,"y":-577,"width":101},{"type":"buzzsaw","x":367,"y":-574,"width":101},{"type":"basicBlock","x":499,"y":-569,"width":99,"height":99},{"type":"finishPortal","x":497,"y":-647},{"type":"checkpoint","x":-1158,"y":121},{"type":"buzzsawOnStick","x":-307,"y":-104,"rotation":424},{"type":"buzzsawOnStick","x":-783,"y":353,"rotation":424},{"type":"buzzsawOnStick","x":-639,"y":-471,"rotation":424},{"type":"classicLaser","x":823,"y":-523},{"type":"classicLaser","x":-123,"y":-725},{"type":"textFade","x":674,"y":348,"rotation":0,"textNum":28},{"type":"textFade","x":501,"y":470,"rotation":0,"textNum":5},{"type":"textFade","x":1077,"y":474,"rotation":-90,"textNum":5},{"type":"textFade","x":1134,"y":269,"rotation":-180,"textNum":5},{"type":"textFade","x":-27,"y":227,"rotation":-90,"textNum":5},{"type":"textFade","x":23,"y":-61,"rotation":0,"textNum":5},{"type":"textFade","x":1124,"y":-85,"rotation":-90,"textNum":5},{"type":"textFade","x":1159,"y":-361,"rotation":-180,"textNum":5},{"type":"textFade","x":138,"y":-378,"rotation":-180,"textNum":5},{"type":"textFade","x":-191,"y":-401,"rotation":90,"textNum":5},{"type":"textFade","x":-327,"y":175,"rotation":-180,"textNum":5},{"type":"textFade","x":-994,"y":209,"rotation":-119.99999999999999,"textNum":5},{"type":"textFade","x":-1054,"y":79,"rotation":-20,"textNum":5},{"type":"textFade","x":-527,"y":-34,"rotation":-90,"textNum":5},{"type":"textFade","x":-536,"y":-383,"rotation":-50,"textNum":5},{"type":"textFade","x":-301,"y":-638,"rotation":0,"textNum":5},{"type":"blockSpike","x":600,"y":-251,"spikeUp":1,"timeUp":10,"timeDown":10,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":450,"y":-250,"spikeUp":0,"timeUp":10,"timeDown":10,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":299,"y":-250,"spikeUp":1,"timeUp":10,"timeDown":10,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":382,"y":495}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level04hard.json b/gs/html5/vex5/assets/balance/levels/level04hard.json new file mode 100644 index 0000000..cb812f8 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level04hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":399,"y":600,"width":300,"height":99},{"type":"appearingBlock","x":652,"y":600,"width":99,"height":99,"initVisible":1,"timeShow":80,"timeHide":80},{"type":"appearingBlock","x":851,"y":600,"width":99,"height":99,"initVisible":0,"timeShow":80,"timeHide":80},{"type":"basicBlock","x":850,"y":349,"width":500,"height":99},{"type":"basicBlock","x":1101,"y":599,"width":200,"height":99},{"type":"windBlaster","x":1143,"y":551,"rotation":-90},{"type":"bouncingBuzzsaw","x":925,"y":176,"width":50},{"type":"checkpoint","x":1023,"y":268},{"type":"bouncingBuzzsaw","x":825,"y":176,"width":50},{"type":"bouncingBuzzsaw","x":876,"y":124,"width":50},{"type":"speedBlockLeft","x":500,"y":349,"width":200,"height":100},{"type":"speedBlockLeft","x":201,"y":350,"width":200,"height":100},{"type":"buzzsawVerticalUp","x":351,"y":297},{"type":"bounceBlock","x":-29,"y":374,"width":50,"height":50},{"type":"basicBlock","x":101,"y":49,"width":200,"height":99},{"type":"checkpoint","x":84,"y":-28},{"type":"appearingBlock","x":374,"y":23,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":625,"y":-25,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"basicBlock","x":900,"y":12,"width":400,"height":125},{"type":"laserPoint","x":180,"y":50},{"type":"laserPoint","x":724,"y":47},{"type":"basicBlock","x":901,"y":-249,"width":400,"height":99},{"type":"fallingSpike","x":709,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":723,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":737,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":752,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":767,"y":-192,"rotation":-7920},{"type":"fallingSpike","x":780,"y":-192,"rotation":-7920},{"type":"fallingSpike","x":794,"y":-192,"rotation":-7920},{"type":"fallingSpike","x":807,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":821,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":835,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":851,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":866,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":882,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":897,"y":-191,"rotation":-7920},{"type":"fallingSpike","x":911,"y":-192,"rotation":-7920},{"type":"buzzsaw","x":874,"y":-43,"width":50},{"type":"checkpoint","x":1030,"y":-70},{"type":"elevatorGeneratorUp","x":1175,"y":45},{"type":"elevatorEliminatorUp","x":1175,"y":-571},{"type":"buzzsawOnStick","x":1065,"y":-273,"rotation":352},{"type":"fallingBlock","x":675,"y":-274,"width":50,"height":50},{"type":"fallingBlock","x":574,"y":-275,"width":50,"height":50},{"type":"fallingBlock","x":475,"y":-275,"width":50,"height":50},{"type":"fallingBlock","x":376,"y":-275,"width":50,"height":50},{"type":"fallingBlock","x":275,"y":-275,"width":50,"height":50},{"type":"basicBlock","x":325,"y":-275,"width":50,"height":50},{"type":"basicBlock","x":425,"y":-275,"width":50,"height":50},{"type":"basicBlock","x":525,"y":-276,"width":50,"height":50},{"type":"basicBlock","x":624,"y":-275,"width":50,"height":50},{"type":"bouncingBuzzsaw","x":522,"y":-477,"width":50},{"type":"bouncingBuzzsaw","x":424,"y":-475,"width":50},{"type":"bouncingBuzzsaw","x":324,"y":-476,"width":50},{"type":"basicBlock","x":99,"y":-250,"width":200,"height":99},{"type":"checkpoint","x":94,"y":-325},{"type":"basicBlock","x":-101,"y":198,"width":99,"height":1000},{"type":"glassBlock","x":-201,"y":-251,"width":100,"height":100},{"type":"glassBlock","x":-201,"y":201,"width":100,"height":100},{"type":"glassBlock","x":-202,"y":348,"width":100,"height":100},{"type":"iceBlock","x":-651,"y":373,"width":800,"height":150},{"type":"basicBlock","x":-377,"y":176,"width":250,"height":50},{"type":"basicBlock","x":-298,"y":-251,"width":99,"height":700},{"type":"pushBlock","x":-384,"y":128,"width":50,"height":50},{"type":"star","x":-170,"y":373},{"type":"basicBlock","x":-1176,"y":273,"width":250,"height":250},{"type":"shurikanSpawner","x":-673,"y":130,"rotation":90},{"type":"shurikanSpawner","x":-877,"y":127,"rotation":90},{"type":"speedBlock","x":-647,"y":72,"width":600,"height":50},{"type":"appearingBlock","x":-576,"y":-26,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"spike30x","x":-355,"y":-98,"rotation":-90},{"type":"basicBlock","x":-422,"y":-100,"width":150,"height":99},{"type":"windBlaster","x":-611,"y":-168,"rotation":0},{"type":"basicBlock","x":-649,"y":-301,"width":99,"height":600},{"type":"bounceBlock","x":-576,"y":-224,"width":50,"height":50},{"type":"spike10x","x":-649,"y":-610,"rotation":0},{"type":"speedBlock","x":54,"y":-574,"width":600,"height":50},{"type":"buzzsaw","x":2,"y":-577,"width":101},{"type":"buzzsaw","x":377,"y":-570,"width":50},{"type":"basicBlock","x":701,"y":-551,"width":99,"height":99},{"type":"finishPortal","x":698,"y":-624},{"type":"checkpoint","x":-1158,"y":121},{"type":"buzzsawOnStick","x":-307,"y":-104,"rotation":352},{"type":"buzzsawOnStick","x":-1098,"y":377,"rotation":-8},{"type":"classicLaser","x":823,"y":-523},{"type":"classicLaser","x":-123,"y":-725},{"type":"textFade","x":501,"y":470,"rotation":0,"textNum":5},{"type":"textFade","x":1077,"y":474,"rotation":-90,"textNum":5},{"type":"textFade","x":1134,"y":269,"rotation":-180,"textNum":5},{"type":"textFade","x":-27,"y":227,"rotation":-90,"textNum":5},{"type":"textFade","x":23,"y":-61,"rotation":0,"textNum":5},{"type":"textFade","x":1124,"y":-85,"rotation":-90,"textNum":5},{"type":"textFade","x":1159,"y":-361,"rotation":-180,"textNum":5},{"type":"textFade","x":138,"y":-378,"rotation":-180,"textNum":5},{"type":"textFade","x":-191,"y":-401,"rotation":90,"textNum":5},{"type":"textFade","x":-327,"y":175,"rotation":-180,"textNum":5},{"type":"textFade","x":-994,"y":209,"rotation":-119.99999999999999,"textNum":5},{"type":"textFade","x":-1054,"y":79,"rotation":-20,"textNum":5},{"type":"textFade","x":-527,"y":-34,"rotation":-90,"textNum":5},{"type":"textFade","x":-536,"y":-383,"rotation":-50,"textNum":5},{"type":"textFade","x":-301,"y":-638,"rotation":0,"textNum":5},{"type":"buzzsawOnStick","x":733,"y":-30,"rotation":352},{"type":"buzzsawOnStick","x":639,"y":348,"rotation":-8},{"type":"buzzsawOnStick","x":-106,"y":252,"rotation":-8},{"type":"pole","x":475,"y":-76},{"type":"pole","x":272,"y":-75},{"type":"classicLaser","x":375,"y":-198},{"type":"bouncingBuzzsaw","x":723,"y":-476,"width":50},{"type":"bouncingBuzzsaw","x":925,"y":-478,"width":50},{"type":"bouncingBuzzsaw","x":876,"y":-427,"width":50},{"type":"bouncingBuzzsaw","x":778,"y":-428,"width":50},{"type":"buzzsawOnStick","x":528,"y":-275,"rotation":352},{"type":"buzzsawHorizontalFast","x":-298,"y":-1},{"type":"buzzsawOnStick","x":-803,"y":382,"rotation":-8},{"type":"buzzsawOnStick","x":-312,"y":-448,"rotation":352},{"type":"bouncingBuzzsaw","x":173,"y":-728,"width":50},{"type":"buzzsawVerticalUp","x":533,"y":-566},{"type":"spawnPoint","x":371,"y":537}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level05.json b/gs/html5/vex5/assets/balance/levels/level05.json new file mode 100644 index 0000000..f9e4ec4 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level05.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":649,"y":548,"width":99,"height":99},{"type":"horizontalBlock","x":477,"y":525,"width":50,"height":50},{"type":"verticalUpBlock","x":776,"y":427,"width":50,"height":50},{"type":"basicBlock","x":649,"y":351,"width":99,"height":99},{"type":"basicBlock","x":599,"y":750,"width":500,"height":99},{"type":"basicBlock","x":300,"y":649,"width":99,"height":300},{"type":"laserPoint","x":316,"y":578},{"type":"laserPoint","x":902,"y":581},{"type":"basicBlock","x":901,"y":300,"width":99,"height":600},{"type":"portal","x":410,"y":660},{"type":"portal","x":300,"y":101},{"type":"basicBlock","x":300,"y":200,"width":99,"height":99},{"type":"elevatorEliminatorUp","x":521,"y":-77},{"type":"rope","x":523,"y":101,"height":400},{"type":"checkpoint","x":507,"y":673},{"type":"sparkBlock","x":952,"y":750,"width":100,"height":100},{"type":"sparkBlock","x":1148,"y":749,"width":100,"height":100},{"type":"elevatorGeneratorUp","x":1324,"y":870},{"type":"elevatorEliminatorUp","x":1330,"y":-272},{"type":"elevatorGeneratorUp","x":1025,"y":570},{"type":"elevatorEliminatorUp","x":1030,"y":-272},{"type":"elevatorGeneratorDown","x":1180,"y":-272},{"type":"elevatorEliminatorDown","x":1175,"y":570},{"type":"sparkBlock","x":749,"y":0,"width":100,"height":100},{"type":"fallingBlock","x":675,"y":-176,"width":50,"height":50},{"type":"fallingBlock","x":773,"y":-226,"width":50,"height":50},{"type":"fallingBlock","x":876,"y":-276,"width":50,"height":50},{"type":"checkpoint","x":906,"y":-35},{"type":"buzzsawOnStick","x":530,"y":-79,"rotation":344},{"type":"buzzsawOnStick","x":1181,"y":141,"rotation":344},{"type":"classicLaser","x":726,"y":-420},{"type":"bouncingBuzzsaw","x":1026,"y":-475,"width":50},{"type":"bouncingBuzzsaw","x":1073,"y":-524,"width":50},{"type":"bouncingBuzzsaw","x":1122,"y":-476,"width":50},{"type":"bouncingBuzzsaw","x":1175,"y":-523,"width":50},{"type":"bouncingBuzzsaw","x":1225,"y":-476,"width":50},{"type":"bouncingBuzzsaw","x":1275,"y":-524,"width":50},{"type":"ziplinePole","x":1387,"y":-330},{"type":"classicLaser","x":1466,"y":111},{"type":"basicBlock","x":2026,"y":51,"width":250,"height":400},{"type":"ziplinePole","x":2017,"y":-185},{"type":"checkpoint","x":1340,"y":-333},{"type":"swimmingPool","x":2351,"y":101,"width":400,"height":300},{"type":"basicBlock","x":2650,"y":51,"width":200,"height":400},{"type":"sparkBlock","x":2343,"y":-95,"width":100,"height":100},{"type":"basicBlock","x":2326,"y":300,"width":850,"height":99},{"type":"star","x":2073,"y":-328},{"type":"speedBlock","x":3001,"y":-100,"width":500,"height":100},{"type":"buzzsawOnStick","x":2656,"y":-96,"rotation":344},{"type":"buzzsawOnStick","x":3009,"y":-99,"rotation":344},{"type":"basicBlock","x":3351,"y":-101,"width":200,"height":99},{"type":"finishPortal","x":696,"y":-680},{"type":"buzzsawHorizontalFast","x":1685,"y":-276},{"type":"portal","x":2074,"y":-442},{"type":"portal","x":2342,"y":103},{"type":"shurikanSpawner","x":951,"y":218,"rotation":0},{"type":"shurikanSpawner","x":950,"y":318,"rotation":0},{"type":"basicBlock","x":1047,"y":-601,"width":800,"height":99},{"type":"portal","x":3358,"y":-188},{"type":"portal","x":1387,"y":-684},{"type":"checkpoint","x":1306,"y":-681},{"type":"basicBlock","x":1052,"y":-901,"width":800,"height":99},{"type":"sparkBlock","x":1050,"y":-701,"width":100,"height":100},{"type":"buzzsawOnStick","x":1042,"y":-896,"rotation":232},{"type":"buzzsawOnStick","x":839,"y":-603,"rotation":232},{"type":"fallingSpike","x":910,"y":-845,"rotation":-5400},{"type":"fallingSpike","x":889,"y":-844,"rotation":-5400},{"type":"fallingSpike","x":873,"y":-845,"rotation":-5400},{"type":"fallingSpike","x":854,"y":-845,"rotation":-5400},{"type":"fallingSpike","x":836,"y":-846,"rotation":-5400},{"type":"fallingSpike","x":816,"y":-845,"rotation":-5400},{"type":"fallingSpike","x":795,"y":-845,"rotation":-5400},{"type":"fallingSpike","x":775,"y":-846,"rotation":-5400},{"type":"textFade","x":723,"y":749,"rotation":0,"textNum":35},{"type":"textFade","x":2029,"y":-104,"rotation":0,"textNum":37},{"type":"textFade","x":408,"y":446,"rotation":0,"textNum":15},{"type":"textFade","x":724,"y":474,"rotation":-90,"textNum":15},{"type":"textFade","x":748,"y":262,"rotation":-135,"textNum":15},{"type":"textFade","x":398,"y":99,"rotation":-180,"textNum":15},{"type":"textFade","x":514,"y":623,"rotation":0,"textNum":15},{"type":"textFade","x":864,"y":649,"rotation":0,"textNum":15},{"type":"textFade","x":1285,"y":684,"rotation":-90,"textNum":15},{"type":"textFade","x":1253,"y":105,"rotation":-135,"textNum":15},{"type":"textFade","x":1103,"y":-30,"rotation":-180,"textNum":15},{"type":"textFade","x":738,"y":-113,"rotation":-180,"textNum":15},{"type":"textFade","x":589,"y":-174,"rotation":-45,"textNum":15},{"type":"textFade","x":920,"y":-356,"rotation":0,"textNum":15},{"type":"textFade","x":1435,"y":-386,"rotation":20,"textNum":15},{"type":"textFade","x":2164,"y":-203,"rotation":0,"textNum":15},{"type":"textFade","x":1317,"y":-746,"rotation":-180,"textNum":15},{"type":"bouncingBuzzsaw","x":653,"y":128,"width":99},{"type":"blockSpike","x":1200,"y":-601,"spikeUp":1,"timeUp":1,"timeDown":1,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":296,"y":478}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level05hard.json b/gs/html5/vex5/assets/balance/levels/level05hard.json new file mode 100644 index 0000000..708399a --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level05hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":649,"y":548,"width":99,"height":99},{"type":"horizontalBlock","x":477,"y":525,"width":50,"height":50},{"type":"verticalUpBlock","x":776,"y":427,"width":50,"height":50},{"type":"basicBlock","x":649,"y":351,"width":99,"height":99},{"type":"basicBlock","x":599,"y":750,"width":500,"height":99},{"type":"basicBlock","x":300,"y":649,"width":99,"height":300},{"type":"laserPoint","x":316,"y":578},{"type":"laserPoint","x":902,"y":581},{"type":"basicBlock","x":901,"y":300,"width":99,"height":600},{"type":"portal","x":410,"y":660},{"type":"portal","x":300,"y":101},{"type":"basicBlock","x":300,"y":200,"width":99,"height":99},{"type":"elevatorEliminatorUp","x":521,"y":-77},{"type":"rope","x":523,"y":101,"height":400},{"type":"checkpoint","x":507,"y":673},{"type":"sparkBlock","x":952,"y":750,"width":100,"height":100},{"type":"sparkBlock","x":1148,"y":749,"width":100,"height":100},{"type":"elevatorGeneratorUp","x":1324,"y":870},{"type":"elevatorEliminatorUp","x":1330,"y":-272},{"type":"elevatorGeneratorUp","x":1025,"y":570},{"type":"elevatorEliminatorUp","x":1030,"y":-272},{"type":"elevatorGeneratorDown","x":1180,"y":-272},{"type":"elevatorEliminatorDown","x":1175,"y":570},{"type":"sparkBlock","x":749,"y":0,"width":100,"height":100},{"type":"checkpoint","x":906,"y":-35},{"type":"buzzsawOnStick","x":649,"y":353,"rotation":512},{"type":"buzzsawOnStick","x":530,"y":-79,"rotation":512},{"type":"buzzsawOnStick","x":1181,"y":141,"rotation":512},{"type":"classicLaser","x":726,"y":-420},{"type":"bouncingBuzzsaw","x":1026,"y":-475,"width":50},{"type":"bouncingBuzzsaw","x":1073,"y":-524,"width":50},{"type":"bouncingBuzzsaw","x":1122,"y":-476,"width":50},{"type":"bouncingBuzzsaw","x":1175,"y":-523,"width":50},{"type":"bouncingBuzzsaw","x":1225,"y":-476,"width":50},{"type":"bouncingBuzzsaw","x":1275,"y":-524,"width":50},{"type":"classicLaser","x":1466,"y":111},{"type":"basicBlock","x":2026,"y":50,"width":250,"height":400},{"type":"checkpoint","x":1340,"y":-333},{"type":"basicBlock","x":2650,"y":51,"width":200,"height":400},{"type":"basicBlock","x":2350,"y":97,"width":400,"height":99},{"type":"star","x":2073,"y":-328},{"type":"buzzsawOnStick","x":2710,"y":-100,"rotation":512},{"type":"buzzsawOnStick","x":3009,"y":-99,"rotation":512},{"type":"basicBlock","x":3351,"y":-101,"width":200,"height":99},{"type":"finishPortal","x":475,"y":-732},{"type":"portal","x":2074,"y":-442},{"type":"portal","x":1874,"y":88},{"type":"shurikanSpawner","x":951,"y":218,"rotation":0},{"type":"shurikanSpawner","x":950,"y":318,"rotation":0},{"type":"basicBlock","x":1047,"y":-601,"width":800,"height":99},{"type":"portal","x":3358,"y":-188},{"type":"portal","x":1387,"y":-684},{"type":"checkpoint","x":1306,"y":-681},{"type":"basicBlock","x":1052,"y":-901,"width":800,"height":99},{"type":"sparkBlock","x":1050,"y":-701,"width":100,"height":100},{"type":"buzzsawOnStick","x":1042,"y":-896,"rotation":40},{"type":"buzzsawOnStick","x":839,"y":-603,"rotation":400},{"type":"fallingSpike","x":910,"y":-845,"rotation":-9360},{"type":"fallingSpike","x":889,"y":-844,"rotation":-9360},{"type":"fallingSpike","x":873,"y":-845,"rotation":-9360},{"type":"fallingSpike","x":854,"y":-845,"rotation":-9360},{"type":"fallingSpike","x":836,"y":-846,"rotation":-9360},{"type":"fallingSpike","x":816,"y":-845,"rotation":-9360},{"type":"fallingSpike","x":795,"y":-845,"rotation":-9360},{"type":"fallingSpike","x":775,"y":-846,"rotation":-9360},{"type":"textFade","x":723,"y":749,"rotation":0,"textNum":35},{"type":"textFade","x":2029,"y":-108,"rotation":0,"textNum":37},{"type":"textFade","x":408,"y":446,"rotation":0,"textNum":15},{"type":"textFade","x":724,"y":474,"rotation":-90,"textNum":15},{"type":"textFade","x":748,"y":262,"rotation":-135,"textNum":15},{"type":"textFade","x":398,"y":99,"rotation":-180,"textNum":15},{"type":"textFade","x":514,"y":623,"rotation":0,"textNum":15},{"type":"textFade","x":864,"y":649,"rotation":0,"textNum":15},{"type":"textFade","x":1285,"y":684,"rotation":-90,"textNum":15},{"type":"textFade","x":1253,"y":105,"rotation":-135,"textNum":15},{"type":"textFade","x":1103,"y":-30,"rotation":-180,"textNum":15},{"type":"textFade","x":738,"y":-113,"rotation":-180,"textNum":15},{"type":"textFade","x":589,"y":-174,"rotation":-45,"textNum":15},{"type":"textFade","x":920,"y":-356,"rotation":0,"textNum":15},{"type":"textFade","x":1468,"y":-372,"rotation":20,"textNum":15},{"type":"textFade","x":2164,"y":-203,"rotation":0,"textNum":15},{"type":"textFade","x":1317,"y":-746,"rotation":-180,"textNum":15},{"type":"shurikanDispenser","x":433,"y":211},{"type":"shurikanDispenser","x":1245,"y":246},{"type":"pole","x":670,"y":-170},{"type":"pole","x":774,"y":-221},{"type":"pole","x":875,"y":-277},{"type":"pole","x":1476,"y":-374},{"type":"pole","x":1728,"y":-324},{"type":"shurikanDispenser","x":1625,"y":-530},{"type":"shurikanDispenser","x":1824,"y":-475},{"type":"sparkBlock","x":2103,"y":96,"width":100,"height":100},{"type":"swimmingPool","x":2349,"y":24,"width":400,"height":150},{"type":"speedBlockLeft","x":3003,"y":-104,"width":500,"height":100},{"type":"buzzsawOnStick","x":830,"y":-896,"rotation":40},{"type":"bouncingBuzzsaw","x":675,"y":-825,"width":50},{"type":"bouncingBuzzsaw","x":724,"y":-776,"width":50},{"type":"pole","x":579,"y":-727},{"type":"buzzsawOnStick","x":1040,"y":571,"rotation":152},{"type":"blockSpike","x":1203,"y":-601,"spikeUp":1,"timeUp":1,"timeDown":1,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":837,"y":-602,"spikeUp":1,"timeUp":1,"timeDown":1,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":303,"y":483}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level06.json b/gs/html5/vex5/assets/balance/levels/level06.json new file mode 100644 index 0000000..ba4b4c7 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level06.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":600,"y":599,"width":500,"height":99},{"type":"circularCannon","x":704,"y":414},{"type":"circularCannon","x":496,"y":214},{"type":"basicBlock","x":899,"y":200,"width":500,"height":99},{"type":"buzzsawOnStick","x":930,"y":197,"rotation":256},{"type":"sparkBlock","x":1249,"y":200,"width":100,"height":100},{"type":"sparkBlock","x":1401,"y":151,"width":100,"height":100},{"type":"basicBlock","x":1548,"y":100,"width":99,"height":99},{"type":"checkpoint","x":1760,"y":-182},{"type":"verticalUpBlock","x":1651,"y":0,"width":100,"height":100},{"type":"basicBlock","x":1752,"y":199,"width":99,"height":700},{"type":"iceBlock","x":2250,"y":-99,"width":900,"height":100},{"type":"buzzsaw","x":1987,"y":-154,"width":101},{"type":"buzzsaw","x":2042,"y":-234,"width":101},{"type":"buzzsaw","x":2107,"y":-162,"width":101},{"type":"pole","x":1923,"y":-224},{"type":"pole","x":1826,"y":-273},{"type":"pole","x":1923,"y":-325},{"type":"elevatorEliminatorUp","x":2875,"y":-520},{"type":"rope","x":2880,"y":-142,"height":700},{"type":"buzzsawOnStick","x":2402,"y":-127,"rotation":256},{"type":"pushBlock","x":2226,"y":-176,"width":50,"height":50},{"type":"basicBlock","x":2251,"y":-1,"width":900,"height":99},{"type":"basicBlock","x":2750,"y":-126,"width":99,"height":350},{"type":"spike30x","x":1949,"y":-59,"rotation":0},{"type":"spike30x","x":2251,"y":-58,"rotation":0},{"type":"spike30x","x":2550,"y":-59,"rotation":0},{"type":"basicBlock","x":2951,"y":298,"width":300,"height":99},{"type":"elevatorEliminatorUp","x":3025,"y":-520},{"type":"rope","x":3023,"y":-150,"height":700},{"type":"bouncingBuzzsaw","x":2879,"y":-247,"width":101},{"type":"bouncingBuzzsaw","x":3019,"y":-407,"width":101},{"type":"checkpoint","x":2750,"y":-323},{"type":"basicBlock","x":899,"y":449,"width":99,"height":400},{"type":"basicBlock","x":301,"y":-102,"width":99,"height":1500},{"type":"laserPoint","x":937,"y":299},{"type":"laserPoint","x":1721,"y":298},{"type":"finishPortal","x":425,"y":678},{"type":"solarBlock","x":2201,"y":401,"width":100,"height":100},{"type":"speedBlockLeft","x":2351,"y":299,"width":900,"height":100},{"type":"spike30x","x":1810,"y":205,"rotation":90},{"type":"buzzsaw","x":2563,"y":256,"width":101},{"type":"buzzsaw","x":2357,"y":150,"width":101},{"type":"basicBlock","x":2250,"y":500,"width":900,"height":99},{"type":"checkpoint","x":1858,"y":416},{"type":"spike30x","x":2807,"y":-135,"rotation":90},{"type":"buzzsaw","x":2073,"y":260,"width":101},{"type":"lightSwitch","x":2074,"y":381},{"type":"checkpoint","x":1700,"y":767},{"type":"circularCannon","x":788,"y":864},{"type":"circularCannon","x":1555,"y":725},{"type":"circularCannon","x":1363,"y":522},{"type":"circularCannon","x":1072,"y":708},{"type":"bouncingBuzzsaw","x":771,"y":-2,"width":101},{"type":"bouncingBuzzsaw","x":2574,"y":-326,"width":50},{"type":"buzzsawVerticalUp","x":2451,"y":408},{"type":"buzzsawVerticalDown","x":2601,"y":407},{"type":"rope","x":2806,"y":693,"height":700},{"type":"rope","x":2601,"y":830,"height":700},{"type":"rope","x":2455,"y":854,"height":700},{"type":"appearingBlock","x":2301,"y":849,"width":99,"height":99,"initVisible":1,"timeShow":70,"timeHide":70},{"type":"appearingBlock","x":2149,"y":850,"width":99,"height":99,"initVisible":0,"timeShow":70,"timeHide":70},{"type":"appearingBlock","x":1851,"y":850,"width":99,"height":99,"initVisible":0,"timeShow":70,"timeHide":70},{"type":"basicBlock","x":1699,"y":850,"width":99,"height":99},{"type":"circularCannon","x":427,"y":883},{"type":"star","x":2452,"y":961},{"type":"buzzsawHorizontalFast","x":2523,"y":863},{"type":"buzzsawHorizontalFast","x":2698,"y":631},{"type":"buzzsawVerticalUp","x":2522,"y":755},{"type":"buzzsawVerticalDown","x":2697,"y":742},{"type":"buzzsawVerticalUp","x":2702,"y":1049},{"type":"buzzsawHorizontalFast","x":2514,"y":1050},{"type":"bouncingBuzzsaw","x":1547,"y":-175,"width":50},{"type":"bouncingBuzzsaw","x":1651,"y":-229,"width":50},{"type":"bouncingBuzzsaw","x":1051,"y":-1,"width":101},{"type":"bouncingBuzzsaw","x":2224,"y":-376,"width":50},{"type":"textFade","x":558,"y":455,"rotation":0,"textNum":33},{"type":"textFade","x":2054,"y":485,"rotation":0,"textNum":36},{"type":"textFade","x":586,"y":114,"rotation":0,"textNum":15},{"type":"textFade","x":612,"y":337,"rotation":-135,"textNum":15},{"type":"textFade","x":1234,"y":68,"rotation":-20,"textNum":15},{"type":"textFade","x":1651,"y":-194,"rotation":0,"textNum":15},{"type":"textFade","x":2604,"y":-239,"rotation":-45,"textNum":15},{"type":"textFade","x":2838,"y":-377,"rotation":90,"textNum":15},{"type":"textFade","x":2953,"y":150,"rotation":-180,"textNum":15},{"type":"textFade","x":1865,"y":211,"rotation":90,"textNum":15},{"type":"textFade","x":1966,"y":384,"rotation":0,"textNum":15},{"type":"textFade","x":2767,"y":437,"rotation":90,"textNum":15},{"type":"textFade","x":2839,"y":676,"rotation":-180,"textNum":15},{"type":"textFade","x":2391,"y":753,"rotation":-180,"textNum":15},{"type":"textFade","x":1722,"y":723,"rotation":-180,"textNum":15},{"type":"textFade","x":1213,"y":608,"rotation":135,"textNum":15},{"type":"textFade","x":653,"y":833,"rotation":-180,"textNum":15},{"type":"blockSpike","x":698,"y":200,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":0,"downEnable":0,"leftEnable":1,"rightEnable":0},{"type":"appearingBlock","x":1999,"y":850,"width":99,"height":99,"initVisible":1,"timeShow":70,"timeHide":70},{"type":"spawnPoint","x":429,"y":522}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level06hard.json b/gs/html5/vex5/assets/balance/levels/level06hard.json new file mode 100644 index 0000000..ca4ef7f --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level06hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":600,"y":599,"width":500,"height":99},{"type":"circularCannon","x":704,"y":414},{"type":"circularCannon","x":496,"y":214},{"type":"basicBlock","x":899,"y":200,"width":500,"height":99},{"type":"buzzsawOnStick","x":777,"y":182,"rotation":-8},{"type":"sparkBlock","x":1249,"y":200,"width":100,"height":100},{"type":"sparkBlock","x":1400,"y":148,"width":100,"height":100},{"type":"basicBlock","x":1548,"y":100,"width":99,"height":99},{"type":"checkpoint","x":1765,"y":-190},{"type":"basicBlock","x":1752,"y":199,"width":99,"height":700},{"type":"iceBlock","x":2250,"y":-99,"width":900,"height":100},{"type":"elevatorEliminatorUp","x":2875,"y":-520},{"type":"rope","x":2880,"y":-142,"height":700},{"type":"pushBlock","x":2028,"y":-175,"width":50,"height":50},{"type":"basicBlock","x":2251,"y":-1,"width":900,"height":99},{"type":"basicBlock","x":2750,"y":-126,"width":99,"height":350},{"type":"spike30x","x":1949,"y":-59,"rotation":0},{"type":"spike30x","x":2251,"y":-58,"rotation":0},{"type":"spike30x","x":2550,"y":-59,"rotation":0},{"type":"basicBlock","x":2951,"y":298,"width":300,"height":99},{"type":"elevatorEliminatorUp","x":3025,"y":-520},{"type":"rope","x":3023,"y":-150,"height":700},{"type":"bouncingBuzzsaw","x":2879,"y":-247,"width":101},{"type":"bouncingBuzzsaw","x":3019,"y":-407,"width":101},{"type":"checkpoint","x":2750,"y":-323},{"type":"basicBlock","x":899,"y":449,"width":99,"height":400},{"type":"basicBlock","x":301,"y":-102,"width":99,"height":1500},{"type":"laserPoint","x":937,"y":299},{"type":"laserPoint","x":1721,"y":298},{"type":"finishPortal","x":425,"y":678},{"type":"solarBlock","x":2201,"y":401,"width":100,"height":100},{"type":"spike30x","x":1810,"y":205,"rotation":90},{"type":"buzzsaw","x":2563,"y":256,"width":101},{"type":"basicBlock","x":2250,"y":500,"width":900,"height":99},{"type":"checkpoint","x":1858,"y":416},{"type":"spike30x","x":2807,"y":-135,"rotation":90},{"type":"buzzsaw","x":2073,"y":260,"width":101},{"type":"lightSwitch","x":2074,"y":381},{"type":"checkpoint","x":1700,"y":767},{"type":"circularCannon","x":1555,"y":725},{"type":"circularCannon","x":1072,"y":708},{"type":"bouncingBuzzsaw","x":2623,"y":-377,"width":50},{"type":"buzzsawVerticalUp","x":2451,"y":408},{"type":"buzzsawVerticalDown","x":2601,"y":407},{"type":"rope","x":2806,"y":693,"height":700},{"type":"rope","x":2601,"y":830,"height":700},{"type":"rope","x":2455,"y":854,"height":700},{"type":"appearingBlock","x":2301,"y":849,"width":99,"height":99,"initVisible":1,"timeShow":70,"timeHide":70},{"type":"appearingBlock","x":2149,"y":850,"width":99,"height":99,"initVisible":0,"timeShow":70,"timeHide":70},{"type":"appearingBlock","x":1851,"y":850,"width":99,"height":99,"initVisible":0,"timeShow":70,"timeHide":70},{"type":"basicBlock","x":1699,"y":850,"width":99,"height":99},{"type":"circularCannon","x":427,"y":883},{"type":"star","x":2452,"y":961},{"type":"buzzsawHorizontalFast","x":2523,"y":863},{"type":"buzzsawHorizontalFast","x":2698,"y":631},{"type":"buzzsawVerticalUp","x":2522,"y":755},{"type":"buzzsawVerticalDown","x":2702,"y":747},{"type":"buzzsawVerticalUp","x":2702,"y":1049},{"type":"buzzsawHorizontalFast","x":2514,"y":1050},{"type":"bouncingBuzzsaw","x":1574,"y":-275,"width":50},{"type":"bouncingBuzzsaw","x":775,"y":-28,"width":50},{"type":"bouncingBuzzsaw","x":2075,"y":-315,"width":50},{"type":"textFade","x":558,"y":455,"rotation":0,"textNum":33},{"type":"textFade","x":2054,"y":485,"rotation":0,"textNum":36},{"type":"textFade","x":586,"y":114,"rotation":0,"textNum":15},{"type":"textFade","x":612,"y":337,"rotation":-135,"textNum":15},{"type":"textFade","x":1234,"y":68,"rotation":-20,"textNum":15},{"type":"textFade","x":1651,"y":-194,"rotation":0,"textNum":15},{"type":"textFade","x":2604,"y":-239,"rotation":-45,"textNum":15},{"type":"textFade","x":2838,"y":-377,"rotation":90,"textNum":15},{"type":"textFade","x":2953,"y":150,"rotation":-180,"textNum":15},{"type":"textFade","x":1865,"y":211,"rotation":90,"textNum":15},{"type":"textFade","x":1966,"y":384,"rotation":0,"textNum":15},{"type":"textFade","x":2767,"y":437,"rotation":90,"textNum":15},{"type":"textFade","x":2839,"y":676,"rotation":-180,"textNum":15},{"type":"textFade","x":2391,"y":753,"rotation":-180,"textNum":15},{"type":"textFade","x":1722,"y":723,"rotation":-180,"textNum":15},{"type":"textFade","x":1198,"y":620,"rotation":135,"textNum":15},{"type":"textFade","x":653,"y":833,"rotation":-180,"textNum":15},{"type":"buzzsawOnStick","x":977,"y":182,"rotation":-8},{"type":"bouncingBuzzsaw","x":973,"y":-26,"width":50},{"type":"bouncingBuzzsaw","x":876,"y":-275,"width":50},{"type":"bouncingBuzzsaw","x":1074,"y":-274,"width":50},{"type":"bouncingBuzzsaw","x":1245,"y":23,"width":50},{"type":"bouncingBuzzsaw","x":1402,"y":-25,"width":50},{"type":"pole","x":1676,"y":-25},{"type":"pole","x":1570,"y":-70},{"type":"checkpoint","x":1128,"y":119},{"type":"sparkBlock","x":1951,"y":-200,"width":100,"height":100},{"type":"sparkBlock","x":2200,"y":-224,"width":100,"height":150},{"type":"sparkBlock","x":2501,"y":-225,"width":100,"height":150},{"type":"pushBlock","x":2276,"y":-176,"width":50,"height":50},{"type":"pushBlock","x":2578,"y":-178,"width":50,"height":50},{"type":"bouncingBuzzsaw","x":2426,"y":-525,"width":50},{"type":"speedBlock","x":2351,"y":298,"width":900,"height":100},{"type":"bouncingBuzzsaw","x":2474,"y":100,"width":50},{"type":"bouncingBuzzsaw","x":2225,"y":100,"width":50},{"type":"bouncingBuzzsaw","x":1925,"y":75,"width":50},{"type":"buzzsawOnStick","x":2540,"y":506,"rotation":136},{"type":"buzzsawVerticalDown","x":2399,"y":846},{"type":"pole","x":1474,"y":575},{"type":"pole","x":1324,"y":522},{"type":"pole","x":874,"y":777},{"type":"pole","x":723,"y":780},{"type":"blockSpike","x":700,"y":200,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":0,"downEnable":0,"leftEnable":1,"rightEnable":0},{"type":"blockSpike","x":2000,"y":849,"spikeUp":1,"timeUp":70,"timeDown":70,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"buzzsawOnStick","x":2349,"y":25,"rotation":60},{"type":"spawnPoint","x":478,"y":538}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level07.json b/gs/html5/vex5/assets/balance/levels/level07.json new file mode 100644 index 0000000..2af3fdd --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level07.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":549,"y":499,"width":400,"height":99},{"type":"lockBlock","x":700,"y":400,"width":100,"height":100},{"type":"lockBlock","x":800,"y":600,"width":100,"height":100},{"type":"lockBlock","x":600,"y":599,"width":100,"height":100},{"type":"lockBlock","x":800,"y":501,"width":100,"height":100},{"type":"lockBlock","x":999,"y":600,"width":100,"height":100},{"type":"basicBlock","x":1050,"y":500,"width":400,"height":99},{"type":"basicBlock","x":700,"y":-50,"width":99,"height":800},{"type":"basicBlock","x":799,"y":700,"width":900,"height":99},{"type":"star","x":1158,"y":612},{"type":"finishPortal","x":469,"y":609},{"type":"basicBlock","x":300,"y":799,"width":99,"height":700},{"type":"basicBlock","x":1298,"y":600,"width":99,"height":300},{"type":"basicBlock","x":1100,"y":124,"width":500,"height":50},{"type":"bounceBlock","x":276,"y":423,"width":50,"height":50},{"type":"speedBlock","x":500,"y":149,"width":300,"height":100},{"type":"verticalUpBlock","x":425,"y":-74,"width":50,"height":50},{"type":"spike30x","x":643,"y":-47,"rotation":-90},{"type":"spike30x","x":643,"y":-295,"rotation":-90},{"type":"speedBlock","x":501,"y":-300,"width":300,"height":100},{"type":"glassBlock","x":99,"y":-199,"width":100,"height":100},{"type":"glassBlock","x":99,"y":-51,"width":100,"height":100},{"type":"glassBlock","x":99,"y":99,"width":100,"height":100},{"type":"glassBlock","x":100,"y":246,"width":100,"height":100},{"type":"pole","x":101,"y":375},{"type":"basicBlock","x":25,"y":-78,"width":50,"height":750},{"type":"key","x":572,"y":-380},{"type":"spike10x","x":701,"y":-459,"rotation":0},{"type":"pole","x":324,"y":-126},{"type":"pole","x":225,"y":-173},{"type":"basicBlock","x":174,"y":-25,"width":50,"height":650},{"type":"pole","x":323,"y":-225},{"type":"pole","x":224,"y":-273},{"type":"checkpoint","x":888,"y":424},{"type":"elevatorEliminatorUp","x":799,"y":-621},{"type":"rope","x":801,"y":-96,"height":999.9999999999999},{"type":"bounceBlock","x":800,"y":635,"width":50,"height":30},{"type":"basicBlock","x":1100,"y":-250,"width":500,"height":99},{"type":"buzzsaw","x":798,"y":-503,"width":101},{"type":"buzzsawOnStick","x":1098,"y":-242,"rotation":544},{"type":"appearingBlock","x":1425,"y":-277,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1526,"y":-276,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1725,"y":-277,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1628,"y":-275,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"elevatorGeneratorDown","x":1879,"y":-569},{"type":"elevatorEliminatorDown","x":1874,"y":471},{"type":"key","x":1722,"y":-339},{"type":"bouncingBuzzsaw","x":1018,"y":-502,"width":101},{"type":"checkpoint","x":910,"y":-328},{"type":"bouncingBuzzsaw","x":1245,"y":-505,"width":101},{"type":"pole","x":1677,"y":377},{"type":"pole","x":1567,"y":328},{"type":"pole","x":1373,"y":331},{"type":"portal","x":1127,"y":-45},{"type":"portal","x":1007,"y":864},{"type":"fallingSpike","x":508,"y":758,"rotation":-6840},{"type":"fallingSpike","x":522,"y":758,"rotation":-6840},{"type":"fallingSpike","x":536,"y":758,"rotation":-6840},{"type":"fallingSpike","x":552,"y":758,"rotation":-6840},{"type":"fallingSpike","x":567,"y":758,"rotation":-6840},{"type":"fallingSpike","x":582,"y":758,"rotation":-6840},{"type":"fallingSpike","x":597,"y":758,"rotation":-6840},{"type":"fallingSpike","x":611,"y":758,"rotation":-6840},{"type":"fallingSpike","x":626,"y":758,"rotation":-6840},{"type":"fallingSpike","x":644,"y":758,"rotation":-6840},{"type":"fallingSpike","x":660,"y":758,"rotation":-6840},{"type":"fallingSpike","x":675,"y":758,"rotation":-6840},{"type":"fallingSpike","x":691,"y":758,"rotation":-6840},{"type":"fallingSpike","x":709,"y":758,"rotation":-6840},{"type":"fallingSpike","x":725,"y":757,"rotation":-6840},{"type":"fallingSpike","x":742,"y":757,"rotation":-6840},{"type":"rope","x":550,"y":897,"height":300},{"type":"rope","x":649,"y":900,"height":300},{"type":"rope","x":750,"y":901,"height":300},{"type":"fallingSpike","x":759,"y":757,"rotation":-6840},{"type":"fallingSpike","x":774,"y":758,"rotation":-6840},{"type":"fallingSpike","x":787,"y":758,"rotation":-6840},{"type":"basicBlock","x":399,"y":1100,"width":99,"height":99},{"type":"portal","x":410,"y":1001},{"type":"portal","x":1328,"y":65},{"type":"key","x":903,"y":865},{"type":"basicBlock","x":899,"y":952,"width":99,"height":99},{"type":"fallingSpike","x":801,"y":758,"rotation":-6840},{"type":"fallingSpike","x":814,"y":758,"rotation":-6840},{"type":"fallingSpike","x":827,"y":758,"rotation":-6840},{"type":"fallingSpike","x":842,"y":758,"rotation":-6840},{"type":"laserPoint","x":1337,"y":478},{"type":"laserPoint","x":1824,"y":473},{"type":"basicBlock","x":1102,"y":898,"width":99,"height":300},{"type":"fallingSpike","x":856,"y":758,"rotation":-6840},{"type":"fallingSpike","x":873,"y":758,"rotation":-6840},{"type":"fallingSpike","x":890,"y":758,"rotation":-6840},{"type":"fallingSpike","x":906,"y":758,"rotation":-6840},{"type":"fallingSpike","x":921,"y":758,"rotation":-6840},{"type":"fallingSpike","x":938,"y":758,"rotation":-6840},{"type":"fallingSpike","x":953,"y":758,"rotation":-6840},{"type":"basicBlock","x":1102,"y":275,"width":500,"height":50},{"type":"basicBlock","x":1550,"y":999,"width":800,"height":99},{"type":"basicBlock","x":1924,"y":726,"width":50,"height":450},{"type":"basicBlock","x":1725,"y":673,"width":50,"height":350},{"type":"solarBlock","x":1749,"y":898,"width":100,"height":100},{"type":"lightSwitch","x":1775,"y":809},{"type":"checkpoint","x":1874,"y":914},{"type":"portal","x":1317,"y":205},{"type":"portal","x":1781,"y":553},{"type":"portal","x":1191,"y":908},{"type":"portal","x":-181,"y":-336},{"type":"bouncingBuzzsaw","x":1627,"y":574,"width":50},{"type":"bouncingBuzzsaw","x":1576,"y":448,"width":50},{"type":"bouncingBuzzsaw","x":1517,"y":525,"width":50},{"type":"bouncingBuzzsaw","x":1473,"y":477,"width":50},{"type":"bouncingBuzzsaw","x":1425,"y":626,"width":50},{"type":"bouncingBuzzsaw","x":1375,"y":524,"width":50},{"type":"bouncingBuzzsaw","x":1675,"y":475,"width":50},{"type":"key","x":-49,"y":-300},{"type":"circularCannon","x":160,"y":809},{"type":"circularCannon","x":154,"y":1010},{"type":"circularCannon","x":-158,"y":1017},{"type":"circularCannon","x":-432,"y":1017},{"type":"circularCannon","x":-707,"y":1290},{"type":"key","x":-896,"y":1248},{"type":"circularCannon","x":-1083,"y":1307},{"type":"circularCannon","x":-1073,"y":1020},{"type":"circularCannon","x":-1076,"y":732},{"type":"circularCannon","x":-804,"y":465},{"type":"circularCannon","x":-546,"y":457},{"type":"circularCannon","x":-241,"y":450},{"type":"textFade","x":464,"y":499,"rotation":0,"textNum":32},{"type":"textFade","x":474,"y":327,"rotation":0,"textNum":31},{"type":"basicBlock","x":-149,"y":-428,"width":300,"height":50},{"type":"basicBlock","x":-274,"y":-348,"width":50,"height":200},{"type":"basicBlock","x":-126,"y":1,"width":50,"height":600},{"type":"basicBlock","x":-199,"y":-274,"width":100,"height":50},{"type":"glassBlock","x":-51,"y":-200,"width":100,"height":100},{"type":"glassBlock","x":-50,"y":-49,"width":100,"height":100},{"type":"glassBlock","x":-50,"y":100,"width":100,"height":100},{"type":"glassBlock","x":-51,"y":248,"width":100,"height":100},{"type":"pole","x":-49,"y":377},{"type":"spike30x","x":-97,"y":-462,"rotation":0},{"type":"spike30x","x":-151,"y":-461,"rotation":0},{"type":"blockSpike","x":1478,"y":999,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":1799,"y":649,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":0,"downEnable":0,"leftEnable":0,"rightEnable":1},{"type":"blockSpike","x":1100,"y":500,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":471,"y":429}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level07hard.json b/gs/html5/vex5/assets/balance/levels/level07hard.json new file mode 100644 index 0000000..6dfa722 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level07hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":549,"y":499,"width":400,"height":99},{"type":"lockBlock","x":700,"y":400,"width":100,"height":100},{"type":"lockBlock","x":800,"y":600,"width":100,"height":100},{"type":"lockBlock","x":600,"y":599,"width":100,"height":100},{"type":"lockBlock","x":800,"y":501,"width":100,"height":100},{"type":"lockBlock","x":999,"y":600,"width":100,"height":100},{"type":"basicBlock","x":1050,"y":500,"width":400,"height":99},{"type":"basicBlock","x":700,"y":-50,"width":99,"height":800},{"type":"basicBlock","x":799,"y":700,"width":900,"height":99},{"type":"star","x":1158,"y":612},{"type":"finishPortal","x":469,"y":609},{"type":"basicBlock","x":300,"y":799,"width":99,"height":700},{"type":"basicBlock","x":1298,"y":600,"width":99,"height":300},{"type":"basicBlock","x":1100,"y":124,"width":500,"height":50},{"type":"bounceBlock","x":276,"y":423,"width":50,"height":50},{"type":"speedBlock","x":500,"y":149,"width":300,"height":100},{"type":"verticalUpBlock","x":425,"y":-74,"width":50,"height":50},{"type":"spike30x","x":643,"y":-47,"rotation":-90},{"type":"spike30x","x":643,"y":-295,"rotation":-90},{"type":"speedBlock","x":501,"y":-300,"width":300,"height":100},{"type":"glassBlock","x":99,"y":-199,"width":100,"height":100},{"type":"glassBlock","x":99,"y":-51,"width":100,"height":100},{"type":"glassBlock","x":99,"y":99,"width":100,"height":100},{"type":"glassBlock","x":100,"y":246,"width":100,"height":100},{"type":"pole","x":101,"y":375},{"type":"basicBlock","x":25,"y":-78,"width":50,"height":750},{"type":"key","x":572,"y":-380},{"type":"spike10x","x":701,"y":-459,"rotation":0},{"type":"pole","x":324,"y":-126},{"type":"pole","x":225,"y":-173},{"type":"basicBlock","x":174,"y":-25,"width":50,"height":650},{"type":"pole","x":323,"y":-225},{"type":"pole","x":224,"y":-273},{"type":"checkpoint","x":888,"y":424},{"type":"elevatorEliminatorUp","x":799,"y":-621},{"type":"rope","x":801,"y":-96,"height":999.9999999999999},{"type":"bounceBlock","x":800,"y":635,"width":50,"height":30},{"type":"basicBlock","x":1100,"y":-250,"width":500,"height":99},{"type":"buzzsaw","x":798,"y":-503,"width":101},{"type":"buzzsawOnStick","x":1098,"y":-242,"rotation":704},{"type":"appearingBlock","x":1425,"y":-277,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1526,"y":-276,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1725,"y":-277,"width":50,"height":50,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1628,"y":-275,"width":50,"height":50,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"elevatorGeneratorDown","x":1879,"y":-569},{"type":"elevatorEliminatorDown","x":1874,"y":471},{"type":"key","x":1722,"y":-339},{"type":"bouncingBuzzsaw","x":1018,"y":-502,"width":101},{"type":"checkpoint","x":910,"y":-328},{"type":"bouncingBuzzsaw","x":1245,"y":-505,"width":101},{"type":"pole","x":1677,"y":377},{"type":"pole","x":1567,"y":328},{"type":"pole","x":1373,"y":331},{"type":"portal","x":1127,"y":-45},{"type":"portal","x":1007,"y":864},{"type":"fallingSpike","x":508,"y":758,"rotation":-10800},{"type":"fallingSpike","x":522,"y":758,"rotation":-10800},{"type":"fallingSpike","x":536,"y":758,"rotation":-10800},{"type":"fallingSpike","x":552,"y":758,"rotation":-10800},{"type":"fallingSpike","x":567,"y":758,"rotation":-10800},{"type":"fallingSpike","x":582,"y":758,"rotation":-10800},{"type":"fallingSpike","x":597,"y":758,"rotation":-10800},{"type":"fallingSpike","x":611,"y":758,"rotation":-10800},{"type":"fallingSpike","x":626,"y":758,"rotation":-10800},{"type":"fallingSpike","x":644,"y":758,"rotation":-10800},{"type":"fallingSpike","x":660,"y":758,"rotation":-10800},{"type":"fallingSpike","x":675,"y":758,"rotation":-10800},{"type":"fallingSpike","x":691,"y":758,"rotation":-10800},{"type":"fallingSpike","x":709,"y":758,"rotation":-10800},{"type":"fallingSpike","x":725,"y":757,"rotation":-10800},{"type":"fallingSpike","x":742,"y":757,"rotation":-10800},{"type":"rope","x":550,"y":897,"height":300},{"type":"rope","x":649,"y":900,"height":300},{"type":"rope","x":750,"y":901,"height":300},{"type":"fallingSpike","x":759,"y":757,"rotation":-10800},{"type":"fallingSpike","x":774,"y":758,"rotation":-10800},{"type":"fallingSpike","x":787,"y":758,"rotation":-10800},{"type":"basicBlock","x":399,"y":1100,"width":99,"height":99},{"type":"portal","x":410,"y":1001},{"type":"portal","x":1328,"y":65},{"type":"key","x":903,"y":865},{"type":"basicBlock","x":899,"y":952,"width":99,"height":99},{"type":"fallingSpike","x":801,"y":758,"rotation":-10800},{"type":"fallingSpike","x":814,"y":758,"rotation":-10800},{"type":"fallingSpike","x":827,"y":758,"rotation":-10800},{"type":"fallingSpike","x":842,"y":758,"rotation":-10800},{"type":"laserPoint","x":1337,"y":478},{"type":"laserPoint","x":1824,"y":473},{"type":"basicBlock","x":1102,"y":898,"width":99,"height":300},{"type":"fallingSpike","x":856,"y":758,"rotation":-10800},{"type":"fallingSpike","x":873,"y":758,"rotation":-10800},{"type":"fallingSpike","x":890,"y":758,"rotation":-10800},{"type":"fallingSpike","x":906,"y":758,"rotation":-10800},{"type":"fallingSpike","x":921,"y":758,"rotation":-10800},{"type":"fallingSpike","x":938,"y":758,"rotation":-10800},{"type":"fallingSpike","x":953,"y":758,"rotation":-10800},{"type":"basicBlock","x":1102,"y":275,"width":500,"height":50},{"type":"basicBlock","x":1799,"y":650,"width":99,"height":99},{"type":"basicBlock","x":1550,"y":999,"width":800,"height":99},{"type":"basicBlock","x":1924,"y":726,"width":50,"height":450},{"type":"basicBlock","x":1725,"y":673,"width":50,"height":350},{"type":"solarBlock","x":1749,"y":898,"width":100,"height":100},{"type":"lightSwitch","x":1775,"y":809},{"type":"checkpoint","x":1874,"y":914},{"type":"portal","x":1317,"y":205},{"type":"portal","x":1781,"y":553},{"type":"portal","x":1191,"y":908},{"type":"portal","x":-181,"y":-336},{"type":"bouncingBuzzsaw","x":1627,"y":574,"width":50},{"type":"bouncingBuzzsaw","x":1576,"y":448,"width":50},{"type":"bouncingBuzzsaw","x":1517,"y":525,"width":50},{"type":"bouncingBuzzsaw","x":1473,"y":477,"width":50},{"type":"bouncingBuzzsaw","x":1425,"y":626,"width":50},{"type":"bouncingBuzzsaw","x":1375,"y":524,"width":50},{"type":"bouncingBuzzsaw","x":1675,"y":475,"width":50},{"type":"key","x":-49,"y":-300},{"type":"circularCannon","x":160,"y":809},{"type":"circularCannon","x":154,"y":1010},{"type":"circularCannon","x":-158,"y":1017},{"type":"circularCannon","x":-432,"y":1017},{"type":"circularCannon","x":-707,"y":1290},{"type":"key","x":-896,"y":1248},{"type":"circularCannon","x":-1083,"y":1307},{"type":"circularCannon","x":-1073,"y":1020},{"type":"circularCannon","x":-1076,"y":732},{"type":"circularCannon","x":-804,"y":465},{"type":"circularCannon","x":-546,"y":457},{"type":"circularCannon","x":-241,"y":450},{"type":"textFade","x":464,"y":499,"rotation":0,"textNum":32},{"type":"textFade","x":474,"y":327,"rotation":0,"textNum":31},{"type":"basicBlock","x":-149,"y":-428,"width":300,"height":50},{"type":"basicBlock","x":-274,"y":-348,"width":50,"height":200},{"type":"basicBlock","x":-126,"y":1,"width":50,"height":600},{"type":"basicBlock","x":-199,"y":-274,"width":100,"height":50},{"type":"glassBlock","x":-51,"y":-200,"width":100,"height":100},{"type":"glassBlock","x":-50,"y":-49,"width":100,"height":100},{"type":"glassBlock","x":-50,"y":100,"width":100,"height":100},{"type":"glassBlock","x":-51,"y":248,"width":100,"height":100},{"type":"pole","x":-49,"y":377},{"type":"spike30x","x":-97,"y":-462,"rotation":0},{"type":"spike30x","x":-151,"y":-461,"rotation":0},{"type":"bouncingBuzzsaw","x":526,"y":-77,"width":50},{"type":"bouncingBuzzsaw","x":575,"y":-126,"width":50},{"type":"bouncingBuzzsaw","x":975,"y":174,"width":50},{"type":"bouncingBuzzsaw","x":1075,"y":172,"width":50},{"type":"bouncingBuzzsaw","x":1175,"y":172,"width":50},{"type":"bouncingBuzzsaw","x":975,"y":-3,"width":50},{"type":"bouncingBuzzsaw","x":1025,"y":-44,"width":50},{"type":"bouncingBuzzsaw","x":926,"y":-41,"width":50},{"type":"bouncingBuzzsaw","x":877,"y":-76,"width":50},{"type":"buzzsawOnStick","x":456,"y":-320,"rotation":176},{"type":"buzzsawHorizontalFast","x":25,"y":-198},{"type":"buzzsawHorizontalFast","x":-128,"y":-50},{"type":"buzzsawHorizontalFast","x":174,"y":-50},{"type":"buzzsawHorizontalFast","x":23,"y":100},{"type":"buzzsawHorizontalFast","x":-124,"y":248},{"type":"buzzsawHorizontalFast","x":171,"y":246},{"type":"buzzsawOnStick","x":1146,"y":500,"rotation":176},{"type":"buzzsawOnStick","x":1571,"y":999,"rotation":176},{"type":"buzzsawOnStick","x":1996,"y":-206,"rotation":176},{"type":"buzzsawOnStick","x":2023,"y":102,"rotation":176},{"type":"shurikanDispenser","x":32,"y":1163},{"type":"shurikanDispenser","x":-582,"y":1140},{"type":"shurikanDispenser","x":-1248,"y":880},{"type":"buzzsawOnStick","x":170,"y":812,"rotation":160},{"type":"buzzsawOnStick","x":908,"y":957,"rotation":160},{"type":"buzzsawOnStick","x":646,"y":805,"rotation":160},{"type":"buzzsawOnStick","x":1331,"y":994,"rotation":176},{"type":"classicLaser","x":1567,"y":-434},{"type":"blockSpike","x":1134,"y":500,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":1332,"y":999,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":1799,"y":650,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":0,"downEnable":0,"leftEnable":0,"rightEnable":1},{"type":"spawnPoint","x":454,"y":428}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level08.json b/gs/html5/vex5/assets/balance/levels/level08.json new file mode 100644 index 0000000..5e89667 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level08.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":350,"y":600,"width":400,"height":99},{"type":"basicBlock","x":451,"y":800,"width":400,"height":99},{"type":"basicBlock","x":700,"y":749,"width":99,"height":1000},{"type":"basicBlock","x":349,"y":998,"width":400,"height":99},{"type":"timedKey","x":524,"y":477},{"type":"lockBlock","x":503,"y":898,"width":100,"height":100},{"type":"buzzsawOnStick","x":316,"y":803,"rotation":376},{"type":"basicBlock","x":101,"y":647,"width":99,"height":800},{"type":"invisBlock","x":224,"y":275,"width":50,"height":50},{"type":"invisBlock","x":325,"y":276,"width":50,"height":50},{"type":"invisBlock","x":425,"y":276,"width":50,"height":50},{"type":"invisBlock","x":525,"y":276,"width":50,"height":50},{"type":"basicBlock","x":540,"y":1199,"width":380,"height":99},{"type":"checkpoint","x":606,"y":1115},{"type":"invisBlock","x":325,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":275,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":225,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":175,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":125,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":75,"y":1175,"width":50,"height":50},{"type":"rope","x":2,"y":768,"height":700},{"type":"basicBlock","x":-99,"y":796,"width":99,"height":500},{"type":"basicBlock","x":-198,"y":347,"width":500,"height":200},{"type":"spike10x","x":3,"y":456,"rotation":-180},{"type":"buzzsawOnStick","x":-70,"y":705,"rotation":344},{"type":"buzzsawOnStick","x":-73,"y":937,"rotation":344},{"type":"basicBlock","x":-298,"y":596,"width":300,"height":99},{"type":"checkpoint","x":-205,"y":516},{"type":"solarBlock","x":-349,"y":498,"width":100,"height":100},{"type":"invisBlock","x":-526,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-624,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-724,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-826,"y":574,"width":50,"height":50},{"type":"lightSwitch","x":-275,"y":476},{"type":"timedKey","x":-427,"y":502},{"type":"basicBlock","x":-1149,"y":597,"width":300,"height":99},{"type":"basicBlock","x":-1144,"y":399,"width":300,"height":99},{"type":"lockBlock","x":-1044,"y":498,"width":100,"height":100},{"type":"invisBlock","x":-926,"y":575,"width":50,"height":50},{"type":"elevatorEliminatorUp","x":-1373,"y":178},{"type":"elevatorGeneratorUp","x":-1375,"y":677},{"type":"checkpoint","x":-1226,"y":320},{"type":"bouncingBuzzsaw","x":-723,"y":374,"width":50},{"type":"sparkBlock","x":-898,"y":299,"width":100,"height":100},{"type":"sparkBlock","x":-801,"y":200,"width":100,"height":100},{"type":"sparkBlock","x":-951,"y":100,"width":100,"height":100},{"type":"star","x":-776,"y":-126},{"type":"portal","x":-1372,"y":103},{"type":"portal","x":-122,"y":134},{"type":"invisBlock","x":-424,"y":222,"width":50,"height":50},{"type":"invisBlock","x":-324,"y":174,"width":50,"height":50},{"type":"invisBlock","x":-374,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-274,"y":174,"width":50,"height":50},{"type":"invisBlock","x":-275,"y":124,"width":50,"height":50},{"type":"invisBlock","x":-276,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":25,"width":50,"height":50},{"type":"invisBlock","x":-323,"y":-26,"width":50,"height":50},{"type":"invisBlock","x":-373,"y":-25,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":172,"width":50,"height":50},{"type":"invisBlock","x":-226,"y":25,"width":50,"height":50},{"type":"invisBlock","x":-226,"y":-24,"width":50,"height":50},{"type":"invisBlock","x":-225,"y":-74,"width":50,"height":50},{"type":"invisBlock","x":-776,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-526,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-527,"y":-125,"width":50,"height":50},{"type":"invisBlock","x":-374,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-476,"y":-75,"width":50,"height":50},{"type":"appearingBlock","x":-676,"y":-26,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"solarBlock","x":801,"y":298,"width":100,"height":100},{"type":"basicBlock","x":900,"y":550,"width":99,"height":1000},{"type":"glassBlock","x":800,"y":501.0459587955626,"width":102,"height":100,"rotation":0},{"type":"glassBlock","x":800,"y":699.8415213946117,"width":102,"height":100,"rotation":0},{"type":"glassBlock","x":800,"y":900.6656101426308,"width":102,"height":100,"rotation":0},{"type":"glassBlock","x":801,"y":1100,"width":102,"height":100},{"type":"checkpoint","x":700,"y":212},{"type":"lightSwitch","x":801,"y":175},{"type":"timedKey","x":804,"y":400},{"type":"buzzsawHorizontalFast","x":813,"y":503},{"type":"buzzsawHorizontalFast","x":812,"y":701},{"type":"glassBlock","x":801,"y":1199,"width":100,"height":100},{"type":"basicBlock","x":1042,"y":1199,"width":380,"height":99},{"type":"lockBlock","x":901,"y":1100,"width":100,"height":100},{"type":"elevatorEliminatorUp","x":1029,"y":-71},{"type":"finishPortal","x":1023,"y":-130},{"type":"elevatorGeneratorUp","x":1023,"y":825},{"type":"checkpoint","x":1022,"y":1118},{"type":"appearingBlock","x":1276,"y":1122,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1376,"y":1074,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1354,"y":973,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1478,"y":1023,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1277,"y":925,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"rope","x":1219,"y":301,"height":1200},{"type":"elevatorEliminatorUp","x":1219,"y":-320},{"type":"buzzsaw","x":1218,"y":460,"width":101},{"type":"buzzsaw","x":1217,"y":362,"width":101},{"type":"buzzsaw","x":1217,"y":262,"width":101},{"type":"buzzsawOnStick","x":1109,"y":355,"rotation":152},{"type":"buzzsawOnStick","x":1209,"y":-314,"rotation":152},{"type":"checkpoint","x":-27,"y":204},{"type":"bouncingBuzzsaw","x":326,"y":25,"width":50},{"type":"bouncingBuzzsaw","x":525,"y":-78,"width":50},{"type":"textFade","x":406,"y":428,"rotation":0,"textNum":40},{"type":"textFade","x":478,"y":1180,"rotation":0,"textNum":39},{"type":"textFade","x":394,"y":484,"rotation":0,"textNum":5},{"type":"textFade","x":467,"y":1074,"rotation":-180,"textNum":5},{"type":"textFade","x":-30,"y":1108,"rotation":-90,"textNum":5},{"type":"textFade","x":-524,"y":480,"rotation":-180,"textNum":5},{"type":"textFade","x":-1338,"y":488,"rotation":-90,"textNum":5},{"type":"textFade","x":-1304,"y":262,"rotation":0,"textNum":5},{"type":"textFade","x":-1006,"y":267,"rotation":-45,"textNum":5},{"type":"textFade","x":-832,"y":83,"rotation":-135,"textNum":5},{"type":"textFade","x":-1055,"y":-2,"rotation":-180,"textNum":5},{"type":"textFade","x":-23,"y":149,"rotation":0,"textNum":5},{"type":"textFade","x":279,"y":177,"rotation":0,"textNum":5},{"type":"textFade","x":762,"y":147,"rotation":90,"textNum":5},{"type":"textFade","x":1206,"y":1074,"rotation":-90,"textNum":5},{"type":"textFade","x":987,"y":606,"rotation":-90,"textNum":5},{"type":"textFade","x":1077,"y":119,"rotation":-45,"textNum":5},{"type":"textFade","x":1166,"y":-54,"rotation":-135,"textNum":5},{"type":"blockSpike","x":-1151,"y":100,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"spawnPoint","x":269,"y":540}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level08hard.json b/gs/html5/vex5/assets/balance/levels/level08hard.json new file mode 100644 index 0000000..cebfb6b --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level08hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":350,"y":600,"width":400,"height":99},{"type":"basicBlock","x":451,"y":800,"width":400,"height":99},{"type":"basicBlock","x":700,"y":749,"width":99,"height":1000},{"type":"basicBlock","x":349,"y":998,"width":400,"height":99},{"type":"timedKey","x":524,"y":477},{"type":"lockBlock","x":503,"y":898,"width":100,"height":100},{"type":"buzzsawOnStick","x":316,"y":803,"rotation":448},{"type":"basicBlock","x":101,"y":647,"width":99,"height":800},{"type":"invisBlock","x":224,"y":275,"width":50,"height":50},{"type":"invisBlock","x":325,"y":276,"width":50,"height":50},{"type":"invisBlock","x":425,"y":276,"width":50,"height":50},{"type":"invisBlock","x":525,"y":276,"width":50,"height":50},{"type":"basicBlock","x":540,"y":1199,"width":380,"height":99},{"type":"checkpoint","x":606,"y":1115},{"type":"invisBlock","x":325,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":275,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":225,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":175,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":125,"y":1175,"width":50,"height":50},{"type":"invisBlock","x":75,"y":1175,"width":50,"height":50},{"type":"rope","x":2,"y":768,"height":700},{"type":"basicBlock","x":-99,"y":796,"width":99,"height":500},{"type":"basicBlock","x":-198,"y":347,"width":500,"height":200},{"type":"spike10x","x":3,"y":456,"rotation":-180},{"type":"buzzsawOnStick","x":-70,"y":705,"rotation":416},{"type":"buzzsawOnStick","x":-73,"y":937,"rotation":416},{"type":"basicBlock","x":-298,"y":596,"width":300,"height":99},{"type":"checkpoint","x":-205,"y":516},{"type":"solarBlock","x":-349,"y":498,"width":100,"height":100},{"type":"invisBlock","x":-526,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-624,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-724,"y":575,"width":50,"height":50},{"type":"invisBlock","x":-826,"y":574,"width":50,"height":50},{"type":"lightSwitch","x":-275,"y":476},{"type":"timedKey","x":-427,"y":502},{"type":"basicBlock","x":-1149,"y":597,"width":300,"height":99},{"type":"basicBlock","x":-1144,"y":399,"width":300,"height":99},{"type":"lockBlock","x":-1044,"y":498,"width":100,"height":100},{"type":"invisBlock","x":-926,"y":575,"width":50,"height":50},{"type":"elevatorEliminatorUp","x":-1373,"y":178},{"type":"elevatorGeneratorUp","x":-1375,"y":677},{"type":"checkpoint","x":-1226,"y":320},{"type":"bouncingBuzzsaw","x":-723,"y":374,"width":50},{"type":"sparkBlock","x":-898,"y":299,"width":100,"height":100},{"type":"sparkBlock","x":-801,"y":200,"width":100,"height":100},{"type":"sparkBlock","x":-951,"y":100,"width":100,"height":100},{"type":"star","x":-776,"y":-126},{"type":"sparkBlock","x":-1151,"y":101,"width":100,"height":100},{"type":"portal","x":-1372,"y":103},{"type":"portal","x":-122,"y":134},{"type":"invisBlock","x":-424,"y":222,"width":50,"height":50},{"type":"invisBlock","x":-324,"y":174,"width":50,"height":50},{"type":"invisBlock","x":-374,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-274,"y":174,"width":50,"height":50},{"type":"invisBlock","x":-275,"y":124,"width":50,"height":50},{"type":"invisBlock","x":-276,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":75,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":25,"width":50,"height":50},{"type":"invisBlock","x":-323,"y":-26,"width":50,"height":50},{"type":"invisBlock","x":-373,"y":-25,"width":50,"height":50},{"type":"invisBlock","x":-424,"y":172,"width":50,"height":50},{"type":"invisBlock","x":-226,"y":25,"width":50,"height":50},{"type":"invisBlock","x":-226,"y":-24,"width":50,"height":50},{"type":"invisBlock","x":-225,"y":-74,"width":50,"height":50},{"type":"invisBlock","x":-776,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-526,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-527,"y":-125,"width":50,"height":50},{"type":"invisBlock","x":-374,"y":-75,"width":50,"height":50},{"type":"invisBlock","x":-476,"y":-75,"width":50,"height":50},{"type":"appearingBlock","x":-676,"y":-26,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"solarBlock","x":801,"y":298,"width":100,"height":100},{"type":"basicBlock","x":900,"y":550,"width":99,"height":1000},{"type":"glassBlock","x":800,"y":502,"width":103,"height":102,"rotation":-90},{"type":"glassBlock","x":800,"y":701,"width":102,"height":103,"rotation":-90},{"type":"glassBlock","x":800,"y":899.8726114649683,"width":102,"height":100,"rotation":-90},{"type":"glassBlock","x":800,"y":1099.6178343949045,"width":102,"height":100,"rotation":-90},{"type":"checkpoint","x":700,"y":212},{"type":"lightSwitch","x":801,"y":175},{"type":"timedKey","x":804,"y":400},{"type":"buzzsawHorizontalFast","x":813,"y":503},{"type":"buzzsawHorizontalFast","x":812,"y":701},{"type":"glassBlock","x":801,"y":1199.4904458598726,"width":103,"height":100,"rotation":-90},{"type":"basicBlock","x":1042,"y":1199,"width":380,"height":99},{"type":"lockBlock","x":901,"y":1100,"width":100,"height":100},{"type":"elevatorEliminatorUp","x":1029,"y":-71},{"type":"finishPortal","x":1023,"y":-130},{"type":"elevatorGeneratorUp","x":1023,"y":825},{"type":"checkpoint","x":1022,"y":1118},{"type":"appearingBlock","x":1276,"y":1122,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1376,"y":1074,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1354,"y":973,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1277,"y":925,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"rope","x":1219,"y":301,"height":1200},{"type":"elevatorEliminatorUp","x":1219,"y":-320},{"type":"buzzsaw","x":1218,"y":460,"width":101},{"type":"buzzsaw","x":1217,"y":362,"width":101},{"type":"buzzsaw","x":1217,"y":262,"width":101},{"type":"buzzsawOnStick","x":1109,"y":355,"rotation":224},{"type":"buzzsawOnStick","x":1209,"y":-314,"rotation":224},{"type":"checkpoint","x":-27,"y":204},{"type":"bouncingBuzzsaw","x":326,"y":25,"width":50},{"type":"bouncingBuzzsaw","x":525,"y":-78,"width":50},{"type":"textFade","x":406,"y":428,"rotation":0,"textNum":40},{"type":"textFade","x":478,"y":1180,"rotation":0,"textNum":39},{"type":"textFade","x":394,"y":484,"rotation":0,"textNum":5},{"type":"textFade","x":467,"y":1074,"rotation":-180,"textNum":5},{"type":"textFade","x":-30,"y":1108,"rotation":-90,"textNum":5},{"type":"textFade","x":-524,"y":480,"rotation":-180,"textNum":5},{"type":"textFade","x":-1338,"y":488,"rotation":-90,"textNum":5},{"type":"textFade","x":-1304,"y":262,"rotation":0,"textNum":5},{"type":"textFade","x":-1006,"y":267,"rotation":-45,"textNum":5},{"type":"textFade","x":-832,"y":83,"rotation":-135,"textNum":5},{"type":"textFade","x":-1055,"y":-2,"rotation":-180,"textNum":5},{"type":"textFade","x":-23,"y":149,"rotation":0,"textNum":5},{"type":"textFade","x":279,"y":177,"rotation":0,"textNum":5},{"type":"textFade","x":762,"y":147,"rotation":90,"textNum":5},{"type":"textFade","x":1206,"y":1074,"rotation":-90,"textNum":5},{"type":"textFade","x":994.6496815286624,"y":606.3694267515924,"rotation":-90,"textNum":5},{"type":"textFade","x":1077,"y":119,"rotation":-45,"textNum":5},{"type":"textFade","x":1166,"y":-54,"rotation":-135,"textNum":5},{"type":"buzzsawOnStick","x":700,"y":601,"rotation":448},{"type":"buzzsawOnStick","x":1076,"y":129,"rotation":224},{"type":"buzzsawOnStick","x":1276,"y":-73,"rotation":224},{"type":"buzzsawOnStick","x":1268,"y":705,"rotation":224},{"type":"bouncingBuzzsaw","x":1123,"y":924,"width":50},{"type":"buzzsawOnStick","x":295,"y":995,"rotation":448},{"type":"bouncingBuzzsaw","x":125,"y":1076,"width":50},{"type":"bouncingBuzzsaw","x":229,"y":1075,"width":50},{"type":"bouncingBuzzsaw","x":-123,"y":476,"width":50},{"type":"bouncingBuzzsaw","x":-625,"y":174,"width":50},{"type":"bouncingBuzzsaw","x":-527,"y":23,"width":50},{"type":"bouncingBuzzsaw","x":-925,"y":425,"width":50},{"type":"buzzsawOnStick","x":-1264,"y":588,"rotation":72},{"type":"buzzsawOnStick","x":-1148,"y":106,"rotation":72},{"type":"buzzsawOnStick","x":-801,"y":199,"rotation":72},{"type":"bouncingBuzzsaw","x":225,"y":-275,"width":50},{"type":"bouncingBuzzsaw","x":427,"y":-175,"width":50},{"type":"blockSpike","x":299,"y":799,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":1,"rightEnable":0},{"type":"blockSpike","x":1530,"y":1045,"spikeUp":1,"timeUp":50,"timeDown":50,"upEnable":1,"downEnable":1,"leftEnable":1,"rightEnable":1},{"type":"spawnPoint","x":223,"y":528}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level09.json b/gs/html5/vex5/assets/balance/levels/level09.json new file mode 100644 index 0000000..5eb1929 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level09.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":299,"y":550,"width":200,"height":99},{"type":"swimmingPool","x":250,"y":750,"width":500,"height":300},{"type":"basicBlock","x":151,"y":449,"width":100,"height":300},{"type":"basicBlock","x":-49,"y":850,"width":99,"height":700},{"type":"basicBlock","x":549,"y":599,"width":99,"height":800},{"type":"basicBlock","x":250,"y":949,"width":500,"height":99},{"type":"reaper","x":244,"y":749,"rotation":0,"width":187.57894736842104},{"type":"buzzsaw","x":243,"y":748,"width":101},{"type":"bouncingBuzzsaw","x":46,"y":-49,"width":101},{"type":"basicBlock","x":-197,"y":550,"width":200,"height":99},{"type":"checkpoint","x":-117,"y":467},{"type":"pushBlock","x":-230,"y":450,"width":101,"height":100},{"type":"basicBlock","x":-374,"y":750,"width":150,"height":99},{"type":"basicBlock","x":-498,"y":300,"width":99,"height":1000},{"type":"star","x":150,"y":273},{"type":"iceBlock","x":-597,"y":1053,"width":1000,"height":100},{"type":"basicBlock","x":-598,"y":1150,"width":1000,"height":99},{"type":"spike30x","x":-951,"y":1093,"rotation":0},{"type":"spike30x","x":-660,"y":1092,"rotation":0},{"type":"spike30x","x":-368,"y":1094,"rotation":0},{"type":"spike30x","x":-153,"y":1093,"rotation":0},{"type":"portal","x":-1050,"y":857},{"type":"buzzsaw","x":-473,"y":1007,"width":101},{"type":"buzzsaw","x":-574,"y":1006,"width":101},{"type":"buzzsaw","x":-673,"y":1006,"width":101},{"type":"bouncingBuzzsaw","x":-602,"y":648,"width":101},{"type":"bouncingBuzzsaw","x":-803,"y":655,"width":101},{"type":"portal","x":-573,"y":55},{"type":"ziplinePole","x":-473,"y":-224},{"type":"ziplinePole","x":560,"y":166},{"type":"basicBlock","x":-847,"y":-150,"width":600,"height":99},{"type":"basicBlock","x":-847,"y":201,"width":600,"height":99},{"type":"checkpoint","x":-629,"y":122},{"type":"reaper","x":-888,"y":24,"rotation":0,"width":202.46616541353382},{"type":"rope","x":-1227,"y":-199,"height":700},{"type":"elevatorEliminatorUp","x":-1226,"y":-523},{"type":"buzzsawOnStick","x":-1122,"y":-148,"rotation":232},{"type":"reaper","x":-927,"y":-342,"rotation":0,"width":202.46616541353382},{"type":"bouncingBuzzsaw","x":-727,"y":-363,"width":101},{"type":"bouncingBuzzsaw","x":47,"y":49,"width":101},{"type":"checkpoint","x":-514,"y":-228},{"type":"basicBlock","x":991,"y":249,"width":800,"height":99},{"type":"enlargingBuzzsaw","x":353,"y":63,"width":101},{"type":"classicLaser","x":726,"y":24},{"type":"classicLaser","x":825,"y":24},{"type":"classicLaser","x":928,"y":24},{"type":"classicLaser","x":1027,"y":24},{"type":"classicLaser","x":1130,"y":22},{"type":"appearingBlock","x":724,"y":90,"width":50,"height":20,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":925,"y":91,"width":50,"height":20,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1126,"y":90,"width":50,"height":20,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1325,"y":90,"width":50,"height":20,"initVisible":1,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":825,"y":90,"width":50,"height":20,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1026,"y":90,"width":50,"height":20,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"appearingBlock","x":1226,"y":90,"width":50,"height":20,"initVisible":0,"timeShow":40,"timeHide":40},{"type":"classicLaser","x":1228,"y":25},{"type":"classicLaser","x":1327,"y":25},{"type":"buzzsaw","x":870,"y":220,"width":101},{"type":"buzzsaw","x":1078,"y":221,"width":101},{"type":"buzzsaw","x":1269,"y":217,"width":101},{"type":"basicBlock","x":1453,"y":452,"width":300,"height":99},{"type":"checkpoint","x":1470,"y":367},{"type":"finishPortal","x":624,"y":734},{"type":"fallingSpike","x":1383,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1368,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1353,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1337,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1323,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1307,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1290,"y":308,"rotation":-2880},{"type":"fallingSpike","x":1275,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1259,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1242,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1226,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1211,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1196,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1180,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1165,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1149,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1134,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1118,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1102,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1086,"y":307,"rotation":-2880},{"type":"fallingSpike","x":1068,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1053,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1038,"y":306,"rotation":-2880},{"type":"fallingSpike","x":1020,"y":305,"rotation":-2880},{"type":"fallingSpike","x":1003,"y":306,"rotation":-2880},{"type":"fallingSpike","x":987,"y":307,"rotation":-2880},{"type":"fallingSpike","x":971,"y":307,"rotation":-2880},{"type":"fallingSpike","x":956,"y":306,"rotation":-2880},{"type":"fallingSpike","x":937,"y":307,"rotation":-2880},{"type":"fallingSpike","x":920,"y":306,"rotation":-2880},{"type":"fallingSpike","x":903,"y":307,"rotation":-2880},{"type":"fallingSpike","x":889,"y":306,"rotation":-2880},{"type":"fallingSpike","x":872,"y":307,"rotation":-2880},{"type":"fallingSpike","x":859,"y":306,"rotation":-2880},{"type":"fallingSpike","x":843,"y":306,"rotation":-2880},{"type":"fallingSpike","x":828,"y":307,"rotation":-2880},{"type":"fallingSpike","x":813,"y":307,"rotation":-2880},{"type":"fallingSpike","x":798,"y":306,"rotation":-2880},{"type":"fallingSpike","x":783,"y":307,"rotation":-2880},{"type":"fallingSpike","x":766,"y":307,"rotation":-2880},{"type":"fallingSpike","x":752,"y":307,"rotation":-2880},{"type":"fallingSpike","x":738,"y":307,"rotation":-2880},{"type":"fallingSpike","x":723,"y":307,"rotation":-2880},{"type":"fallingSpike","x":709,"y":307,"rotation":-2880},{"type":"basicBlock","x":1553,"y":203,"width":99,"height":400},{"type":"pole","x":1226,"y":428},{"type":"pole","x":1076,"y":431},{"type":"pole","x":920,"y":430},{"type":"rope","x":769,"y":575,"height":600},{"type":"buzzsaw","x":640,"y":631,"width":101},{"type":"textFade","x":584,"y":87,"rotation":0,"textNum":5},{"type":"textFade","x":445,"y":467,"rotation":90,"textNum":5},{"type":"textFade","x":20,"y":452,"rotation":-180,"textNum":5},{"type":"textFade","x":-243,"y":676,"rotation":90,"textNum":5},{"type":"textFade","x":-246,"y":900,"rotation":-180,"textNum":5},{"type":"textFade","x":-765,"y":865,"rotation":-180,"textNum":5},{"type":"textFade","x":-710,"y":10,"rotation":-180,"textNum":5},{"type":"textFade","x":-1181,"y":51,"rotation":-90,"textNum":5},{"type":"textFade","x":-1141,"y":-293,"rotation":0,"textNum":5},{"type":"textFade","x":-468,"y":-309,"rotation":25,"textNum":5},{"type":"textFade","x":1444,"y":155,"rotation":90,"textNum":5},{"type":"textFade","x":1348,"y":365,"rotation":-180,"textNum":5},{"type":"textFade","x":813,"y":429,"rotation":90,"textNum":5},{"type":"spawnPoint","x":279,"y":484}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level09hard.json b/gs/html5/vex5/assets/balance/levels/level09hard.json new file mode 100644 index 0000000..af2ed09 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level09hard.json @@ -0,0 +1 @@ +[{"type":"basicBlock","x":299,"y":550,"width":200,"height":99},{"type":"swimmingPool","x":250,"y":750,"width":500,"height":300},{"type":"basicBlock","x":151,"y":449,"width":100,"height":300},{"type":"basicBlock","x":-49,"y":850,"width":99,"height":700},{"type":"basicBlock","x":549,"y":599,"width":99,"height":800},{"type":"basicBlock","x":250,"y":949,"width":500,"height":99},{"type":"reaper","x":244,"y":749,"rotation":0,"width":175.66917293233084},{"type":"buzzsaw","x":243,"y":748,"width":101},{"type":"bouncingBuzzsaw","x":46,"y":-49,"width":101},{"type":"basicBlock","x":-197,"y":550,"width":200,"height":99},{"type":"checkpoint","x":-117,"y":467},{"type":"pushBlock","x":-230,"y":450,"width":101,"height":100},{"type":"basicBlock","x":-374,"y":750,"width":150,"height":99},{"type":"basicBlock","x":-498,"y":300,"width":99,"height":1000},{"type":"star","x":150,"y":273},{"type":"iceBlock","x":-597,"y":1053,"width":1000,"height":100},{"type":"basicBlock","x":-598,"y":1150,"width":1000,"height":99},{"type":"spike30x","x":-951,"y":1093,"rotation":0},{"type":"spike30x","x":-660,"y":1092,"rotation":0},{"type":"spike30x","x":-368,"y":1094,"rotation":0},{"type":"spike30x","x":-153,"y":1093,"rotation":0},{"type":"portal","x":-1050,"y":857},{"type":"buzzsaw","x":-473,"y":1007,"width":101},{"type":"buzzsaw","x":-574,"y":1006,"width":101},{"type":"buzzsaw","x":-673,"y":1006,"width":101},{"type":"bouncingBuzzsaw","x":-602,"y":749,"width":101},{"type":"bouncingBuzzsaw","x":-803,"y":655,"width":101},{"type":"portal","x":-573,"y":55},{"type":"ziplinePole","x":-473,"y":-224},{"type":"ziplinePole","x":560,"y":166},{"type":"basicBlock","x":-847,"y":-150,"width":600,"height":99},{"type":"basicBlock","x":-847,"y":201,"width":600,"height":99},{"type":"checkpoint","x":-629,"y":122},{"type":"reaper","x":-888,"y":24,"rotation":0,"width":187.57894736842104},{"type":"rope","x":-1227,"y":-199,"height":700},{"type":"elevatorEliminatorUp","x":-1226,"y":-523},{"type":"buzzsawOnStick","x":-1114,"y":-148,"rotation":-32},{"type":"reaper","x":-923,"y":-309,"rotation":0,"width":187.57894736842104},{"type":"bouncingBuzzsaw","x":-717,"y":-355,"width":101},{"type":"bouncingBuzzsaw","x":47,"y":49,"width":101},{"type":"checkpoint","x":-514,"y":-228},{"type":"basicBlock","x":998,"y":249,"width":800,"height":99},{"type":"enlargingBuzzsaw","x":353,"y":63,"width":101},{"type":"classicLaser","x":726,"y":24},{"type":"classicLaser","x":825,"y":24},{"type":"classicLaser","x":928,"y":24},{"type":"classicLaser","x":1027,"y":24},{"type":"classicLaser","x":1130,"y":22},{"type":"classicLaser","x":1228,"y":25},{"type":"classicLaser","x":1327,"y":25},{"type":"buzzsaw","x":723,"y":200,"width":101},{"type":"buzzsaw","x":1024,"y":205,"width":101},{"type":"buzzsaw","x":1182,"y":201,"width":101},{"type":"basicBlock","x":1453,"y":452,"width":300,"height":99},{"type":"checkpoint","x":1470,"y":367},{"type":"finishPortal","x":624,"y":734},{"type":"fallingSpike","x":1383,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1368,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1353,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1337,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1323,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1307,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1290,"y":308,"rotation":-5040},{"type":"fallingSpike","x":1275,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1259,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1242,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1226,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1211,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1196,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1180,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1165,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1149,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1134,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1118,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1102,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1086,"y":307,"rotation":-5040},{"type":"fallingSpike","x":1068,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1053,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1038,"y":306,"rotation":-5040},{"type":"fallingSpike","x":1020,"y":305,"rotation":-5040},{"type":"fallingSpike","x":1003,"y":306,"rotation":-5040},{"type":"fallingSpike","x":987,"y":307,"rotation":-5040},{"type":"fallingSpike","x":971,"y":307,"rotation":-5040},{"type":"fallingSpike","x":956,"y":306,"rotation":-5040},{"type":"fallingSpike","x":937,"y":307,"rotation":-5040},{"type":"fallingSpike","x":920,"y":306,"rotation":-5040},{"type":"fallingSpike","x":903,"y":307,"rotation":-5040},{"type":"fallingSpike","x":889,"y":306,"rotation":-5040},{"type":"fallingSpike","x":872,"y":307,"rotation":-5040},{"type":"fallingSpike","x":859,"y":306,"rotation":-5040},{"type":"fallingSpike","x":843,"y":306,"rotation":-5040},{"type":"fallingSpike","x":828,"y":307,"rotation":-5040},{"type":"fallingSpike","x":813,"y":307,"rotation":-5040},{"type":"fallingSpike","x":798,"y":306,"rotation":-5040},{"type":"fallingSpike","x":783,"y":307,"rotation":-5040},{"type":"fallingSpike","x":766,"y":307,"rotation":-5040},{"type":"fallingSpike","x":752,"y":307,"rotation":-5040},{"type":"fallingSpike","x":738,"y":307,"rotation":-5040},{"type":"fallingSpike","x":723,"y":307,"rotation":-5040},{"type":"fallingSpike","x":709,"y":307,"rotation":-5040},{"type":"basicBlock","x":1553,"y":203,"width":99,"height":400},{"type":"pole","x":1226,"y":428},{"type":"pole","x":1076,"y":431},{"type":"pole","x":920,"y":430},{"type":"rope","x":754,"y":445,"height":300},{"type":"buzzsaw","x":641,"y":562,"width":101},{"type":"textFade","x":584,"y":87,"rotation":0,"textNum":5},{"type":"textFade","x":445,"y":467,"rotation":90,"textNum":5},{"type":"textFade","x":20,"y":452,"rotation":-180,"textNum":5},{"type":"textFade","x":-243,"y":676,"rotation":90,"textNum":5},{"type":"textFade","x":-246,"y":900,"rotation":-180,"textNum":5},{"type":"textFade","x":-765,"y":865,"rotation":-180,"textNum":5},{"type":"textFade","x":-710,"y":10,"rotation":-180,"textNum":5},{"type":"textFade","x":-1181,"y":51,"rotation":-90,"textNum":5},{"type":"textFade","x":-1141,"y":-293,"rotation":0,"textNum":5},{"type":"textFade","x":-468,"y":-309,"rotation":25,"textNum":5},{"type":"textFade","x":1444,"y":155,"rotation":90,"textNum":5},{"type":"textFade","x":1348,"y":365,"rotation":-180,"textNum":5},{"type":"textFade","x":813,"y":429,"rotation":90,"textNum":5},{"type":"bouncingBuzzsaw","x":449,"y":250,"width":101},{"type":"buzzsawOnStick","x":-1112,"y":201,"rotation":-32},{"type":"reaper","x":-338,"y":-199,"rotation":0,"width":187.57894736842104},{"type":"reaper","x":-127,"y":-117,"rotation":0,"width":187.57894736842104},{"type":"buzzsaw","x":879,"y":205,"width":101},{"type":"buzzsaw","x":1330,"y":207,"width":101},{"type":"buzzsawOnStick","x":-492,"y":757,"rotation":56},{"type":"bouncingBuzzsaw","x":-700,"y":549,"width":101},{"type":"spawnPoint","x":275,"y":481}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/level10.json b/gs/html5/vex5/assets/balance/levels/level10.json new file mode 100644 index 0000000..bc31738 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/level10.json @@ -0,0 +1 @@ +[{"type":"explosiveBlock","x":549,"y":449,"width":101,"height":100},{"type":"basicBlock","x":651,"y":398,"width":99,"height":400},{"type":"basicBlock","x":860,"y":549,"width":320,"height":99},{"type":"wire","x":550,"y":524,"rotation":180},{"type":"wire","x":550,"y":574,"rotation":180},{"type":"wire","x":550,"y":624,"rotation":180},{"type":"wire","x":550,"y":674,"rotation":180},{"type":"wire","x":550,"y":724,"rotation":180},{"type":"wire","x":576,"y":745,"rotation":90},{"type":"wire","x":626,"y":745,"rotation":90},{"type":"wire","x":655,"y":724,"rotation":0},{"type":"wire","x":655,"y":674,"rotation":0},{"type":"wire","x":676,"y":653,"rotation":90},{"type":"wire","x":725,"y":653,"rotation":90},{"type":"wire","x":746,"y":675,"rotation":180},{"type":"wire","x":746,"y":724,"rotation":180},{"type":"wire","x":775,"y":745,"rotation":90},{"type":"wire","x":825,"y":745,"rotation":90},{"type":"wire","x":848,"y":724,"rotation":0},{"type":"wire","x":848,"y":674,"rotation":0},{"type":"wire","x":877,"y":653,"rotation":90},{"type":"wire","x":926,"y":653,"rotation":90},{"type":"wire","x":947,"y":675,"rotation":180},{"type":"wire","x":947,"y":725,"rotation":180},{"type":"wire","x":976,"y":746,"rotation":90},{"type":"wire","x":1025,"y":746,"rotation":90},{"type":"wire","x":1047,"y":725,"rotation":0},{"type":"wire","x":1047,"y":675,"rotation":0},{"type":"wire","x":1075,"y":654,"rotation":90},{"type":"wire","x":1125,"y":654,"rotation":90},{"type":"wire","x":1146,"y":625,"rotation":0},{"type":"wire","x":1146,"y":575,"rotation":0},{"type":"wire","x":1125,"y":552,"rotation":-90},{"type":"wire","x":1075,"y":552,"rotation":-90},{"type":"wire","x":1054,"y":525,"rotation":0},{"type":"wire","x":1054,"y":475,"rotation":0},{"type":"wire","x":1054,"y":425,"rotation":0},{"type":"wire","x":1054,"y":375,"rotation":0},{"type":"wire","x":1025,"y":354,"rotation":-90},{"type":"wire","x":975,"y":354,"rotation":-90},{"type":"wire","x":925,"y":354,"rotation":-90},{"type":"wire","x":876,"y":354,"rotation":-90},{"type":"wire","x":826,"y":354,"rotation":-90},{"type":"finishPortal","x":547,"y":373},{"type":"basicBlock","x":1346,"y":550,"width":320,"height":99},{"type":"windBlaster","x":1449,"y":502,"rotation":-90},{"type":"pole","x":1444,"y":280},{"type":"appearingBlock","x":1325,"y":274,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1224,"y":226,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1024,"y":125,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1125,"y":175,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"elevatorGeneratorUp","x":874,"y":272},{"type":"elevatorEliminatorUp","x":875,"y":-217},{"type":"basicBlock","x":1500,"y":-50,"width":1000,"height":99},{"type":"checkpoint","x":1070,"y":-137},{"type":"buzzsawOnStick","x":1300,"y":-50,"rotation":1008},{"type":"buzzsawOnStick","x":1602,"y":-54,"rotation":1008},{"type":"bouncingBuzzsaw","x":1301,"y":-301,"width":101},{"type":"bouncingBuzzsaw","x":1402,"y":-450,"width":101},{"type":"bouncingBuzzsaw","x":1500,"y":-348,"width":101},{"type":"bouncingBuzzsaw","x":1597,"y":-446,"width":101},{"type":"bouncingBuzzsaw","x":1700,"y":-301,"width":101},{"type":"pushBlock","x":1186,"y":-151,"width":101,"height":100},{"type":"basicBlock","x":2049,"y":-150,"width":99,"height":300},{"type":"checkpoint","x":2125,"y":-338},{"type":"basicBlock","x":2148,"y":-251,"width":100,"height":99},{"type":"rope","x":2102,"y":-700,"height":300},{"type":"portal","x":-707,"y":-1309},{"type":"portal","x":-298,"y":304},{"type":"basicBlock","x":100,"y":448,"width":99,"height":500},{"type":"basicBlock","x":224,"y":649,"width":150,"height":99},{"type":"basicBlock","x":388,"y":248,"width":500,"height":99},{"type":"bounceBlock","x":2223,"y":-276,"width":50,"height":50},{"type":"basicBlock","x":1651,"y":-899,"width":1000,"height":99},{"type":"spike10x","x":853,"y":-255,"rotation":0},{"type":"spike10x","x":896,"y":-256,"rotation":0},{"type":"rope","x":1952,"y":-700,"height":300},{"type":"rope","x":1802,"y":-702,"height":300},{"type":"rope","x":1656,"y":-703,"height":300},{"type":"rope","x":1503,"y":-700,"height":300},{"type":"rope","x":1352,"y":-701,"height":300},{"type":"rope","x":1203,"y":-700,"height":300},{"type":"circularCannon","x":1008,"y":-587},{"type":"fallingSpike","x":1752,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1766,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1780,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1792,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1808,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1819,"y":-843,"rotation":-21240},{"type":"fallingSpike","x":1831,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1843,"y":-841,"rotation":-21240},{"type":"reaper","x":1501,"y":-700,"rotation":0,"width":118.10526315789474},{"type":"buzzsaw","x":1500,"y":-701,"width":101},{"type":"fallingSpike","x":1159,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1172,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1183,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1195,"y":-841,"rotation":-21240},{"type":"fallingSpike","x":1208,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1219,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1229,"y":-842,"rotation":-21240},{"type":"fallingSpike","x":1241,"y":-842,"rotation":-21240},{"type":"speedBlockLeft","x":1300,"y":-1100,"width":800,"height":100},{"type":"checkpoint","x":1208,"y":-977},{"type":"reaper","x":1419,"y":-1297,"rotation":0,"width":124.06015037593986},{"type":"enlargingBuzzsaw","x":1752,"y":-1102,"width":101},{"type":"star","x":2149,"y":-1348},{"type":"reaper","x":1085,"y":-1294,"rotation":0,"width":124.06015037593986},{"type":"timedKey","x":1875,"y":-1131},{"type":"lockBlock","x":849,"y":-1201,"width":100,"height":100},{"type":"basicBlock","x":649,"y":-1100,"width":500,"height":99},{"type":"basicBlock","x":849,"y":-1451,"width":99,"height":400},{"type":"bounceBlock","x":1874,"y":-973,"width":50,"height":50},{"type":"checkpoint","x":719,"y":-1187},{"type":"pole","x":2225,"y":-1025},{"type":"pole","x":2375,"y":-1075},{"type":"pole","x":2525,"y":-1125},{"type":"pole","x":2675,"y":-1175},{"type":"pole","x":2525,"y":-1225},{"type":"sparkBlock","x":2001,"y":-1249,"width":100,"height":100},{"type":"sparkBlock","x":2001,"y":-1149,"width":100,"height":100},{"type":"sparkBlock","x":2101,"y":-1149,"width":100,"height":100},{"type":"sparkBlock","x":2001,"y":-1349,"width":100,"height":100},{"type":"pole","x":2375,"y":-1275},{"type":"pole","x":2225,"y":-1325},{"type":"classicLaser","x":2477,"y":-1339},{"type":"classicLaser","x":2654,"y":-1310},{"type":"classicLaser","x":2319,"y":-1426},{"type":"sparkBlock","x":2001,"y":-1448,"width":100,"height":100},{"type":"sparkBlock","x":2001,"y":-1548,"width":100,"height":100},{"type":"swimmingPool","x":47,"y":-851,"width":600,"height":400},{"type":"glassBlock","x":-499,"y":-1100,"width":100,"height":100},{"type":"glassBlock","x":-501,"y":-900,"width":100,"height":100},{"type":"basicBlock","x":450,"y":-1452,"width":99,"height":400},{"type":"solarBlock","x":449,"y":-1201,"width":100,"height":100},{"type":"basicBlock","x":398,"y":-900,"width":99,"height":500},{"type":"lightSwitch","x":574,"y":-1226},{"type":"basicBlock","x":151,"y":-1250,"width":99,"height":800},{"type":"basicBlock","x":47,"y":-602,"width":800,"height":99},{"type":"basicBlock","x":-303,"y":-901,"width":99,"height":500},{"type":"bouncingBuzzsaw","x":25,"y":-1376,"width":50},{"type":"bouncingBuzzsaw","x":-23,"y":-1276,"width":50},{"type":"bouncingBuzzsaw","x":-77,"y":-1473,"width":50},{"type":"bouncingBuzzsaw","x":-124,"y":-1376,"width":50},{"type":"bouncingBuzzsaw","x":-174,"y":-1580,"width":50},{"type":"bouncingBuzzsaw","x":76,"y":-1176,"width":50},{"type":"buzzsaw","x":150,"y":-746,"width":101},{"type":"buzzsaw","x":-50,"y":-853,"width":101},{"type":"buzzsaw","x":-198,"y":-704,"width":101},{"type":"glassBlock","x":-501,"y":-700,"width":100,"height":100},{"type":"glassBlock","x":-499,"y":-498,"width":100,"height":100},{"type":"glassBlock","x":-500,"y":-299,"width":100,"height":100},{"type":"glassBlock","x":-500,"y":-101,"width":100,"height":100},{"type":"basicBlock","x":-400,"y":-601,"width":99,"height":1100},{"type":"basicBlock","x":-600,"y":-700,"width":99,"height":1300},{"type":"spike10x","x":-601,"y":-1357,"rotation":0},{"type":"spike10x","x":151,"y":-1659,"rotation":0},{"type":"spike10x","x":450,"y":-1661,"rotation":0},{"type":"spike10x","x":849,"y":-1660,"rotation":0},{"type":"spike10x","x":2001,"y":-1607,"rotation":0},{"type":"checkpoint","x":-344.8494453248811,"y":-1185.6735340729},{"type":"glassBlock","x":-501,"y":0,"width":100,"height":100},{"type":"glassBlock","x":-500,"y":100,"width":100,"height":100},{"type":"glassBlock","x":-501,"y":200,"width":100,"height":100},{"type":"glassBlock","x":-500,"y":301,"width":100,"height":100},{"type":"glassBlock","x":-600,"y":301,"width":100,"height":100},{"type":"glassBlock","x":-599,"y":200,"width":100,"height":100},{"type":"glassBlock","x":-600,"y":1,"width":100,"height":100},{"type":"glassBlock","x":-400,"y":100,"width":100,"height":100},{"type":"glassBlock","x":-401,"y":200,"width":100,"height":100},{"type":"glassBlock","x":-401,"y":301,"width":100,"height":100},{"type":"glassBlock","x":-700,"y":0,"width":100,"height":100},{"type":"glassBlock","x":-699,"y":101,"width":100,"height":100},{"type":"glassBlock","x":-699,"y":201,"width":100,"height":100},{"type":"glassBlock","x":-700,"y":301,"width":100,"height":100},{"type":"glassBlock","x":-300,"y":0,"width":100,"height":100},{"type":"glassBlock","x":-300,"y":100,"width":100,"height":100},{"type":"glassBlock","x":-301.2361331220286,"y":300.22187004754363,"width":100,"height":100},{"type":"spike30x","x":196,"y":190,"rotation":0},{"type":"spike30x","x":488,"y":191,"rotation":0},{"type":"spike30x","x":553,"y":190,"rotation":0},{"type":"spike30x","x":42,"y":345,"rotation":-90},{"type":"spike30x","x":42,"y":549,"rotation":-90},{"type":"elevatorEliminatorUp","x":399,"y":252},{"type":"spike30x","x":242,"y":305,"rotation":-180},{"type":"spike30x","x":457,"y":305,"rotation":-180},{"type":"enlargingBuzzsaw","x":-500,"y":150,"width":101},{"type":"buzzsawHorizontalFast","x":-300,"y":2},{"type":"buzzsawHorizontalFast","x":-696,"y":1},{"type":"buzzsawHorizontalFast","x":-699,"y":302},{"type":"buzzsawHorizontalFast","x":-503,"y":-299},{"type":"buzzsawHorizontalFast","x":-503,"y":-900},{"type":"buzzsawHorizontalFast","x":-599,"y":-696},{"type":"buzzsawHorizontalFast","x":-403,"y":-500},{"type":"elevatorGeneratorUp","x":376,"y":821},{"type":"checkpoint","x":277,"y":565},{"type":"buzzsawOnStick","x":548,"y":477,"rotation":592},{"type":"buzzsawOnStick","x":381,"y":264,"rotation":592},{"type":"buzzsawOnStick","x":228,"y":381,"rotation":576},{"type":"textFade","x":845,"y":546,"rotation":0,"textNum":42},{"type":"textFade","x":1134,"y":431,"rotation":0,"textNum":5},{"type":"textFade","x":1523,"y":356,"rotation":-135,"textNum":5},{"type":"textFade","x":935,"y":74,"rotation":-90,"textNum":5},{"type":"textFade","x":969,"y":-135,"rotation":0,"textNum":5},{"type":"textFade","x":1890,"y":-213,"rotation":-45,"textNum":5},{"type":"textFade","x":2204,"y":-444,"rotation":-135,"textNum":5},{"type":"textFade","x":2025,"y":-621,"rotation":-180,"textNum":5},{"type":"textFade","x":1075,"y":-705,"rotation":-90,"textNum":5},{"type":"textFade","x":1113,"y":-997,"rotation":0,"textNum":5},{"type":"textFade","x":1828,"y":-1034,"rotation":-90,"textNum":5},{"type":"textFade","x":1794,"y":-1211,"rotation":-180,"textNum":5},{"type":"textFade","x":683,"y":-1277,"rotation":-180,"textNum":5},{"type":"textFade","x":285,"y":-1196,"rotation":90,"textNum":5},{"type":"textFade","x":-487,"y":-1262,"rotation":90,"textNum":5},{"type":"textFade","x":309,"y":494,"rotation":-30,"textNum":5},{"type":"blockSpike","x":1236,"y":549,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":1857,"y":-50,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":2050,"y":-252,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":1503,"y":-900,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"basicBlock","x":-949.3502377179082,"y":-1150.1743264659272,"width":600,"height":99},{"type":"checkpoint","x":-714,"y":-1236},{"type":"basicBlock","x":-1050.7765451664027,"y":-950.3645007923932,"width":600,"height":99},{"type":"basicBlock","x":-949,"y":-750,"width":600,"height":99},{"type":"buzzsawOnStick","x":-890,"y":-1150,"rotation":196},{"type":"buzzsawOnStick","x":-1160,"y":-1165,"rotation":226},{"type":"buzzsawOnStick","x":-963,"y":-957,"rotation":250},{"type":"buzzsawOnStick","x":-1113,"y":-748,"rotation":432},{"type":"buzzsawOnStick","x":-779,"y":-760,"rotation":-72},{"type":"buzzsawOnStick","x":-1252,"y":-944,"rotation":180},{"type":"basicBlock","x":-1400,"y":-902,"width":99,"height":900},{"type":"spike10x","x":-1401,"y":-1359,"rotation":0},{"type":"speedBlock","x":-1149,"y":-199,"width":800,"height":100},{"type":"basicBlock","x":-1051,"y":-501,"width":600,"height":99},{"type":"buzzsawOnStick","x":-1275,"y":-496,"rotation":174},{"type":"buzzsawOnStick","x":-938,"y":-498,"rotation":221},{"type":"basicBlock","x":-699,"y":-200,"width":99,"height":99},{"type":"portal","x":209,"y":558},{"type":"portal","x":-798.4664536741216,"y":-396.67731629392983},{"type":"checkpoint","x":-695.2076677316296,"y":-285.23961661341866},{"type":"bouncingBuzzsaw","x":-974,"y":-391,"width":50},{"type":"bouncingBuzzsaw","x":-1122,"y":-396,"width":50},{"type":"bouncingBuzzsaw","x":-1255,"y":-397,"width":50},{"type":"bouncingBuzzsaw","x":-1366,"y":-397,"width":50},{"type":"bouncingBuzzsaw","x":-1485,"y":-395,"width":50},{"type":"iceBlock","x":-2148,"y":-199,"width":1000,"height":100},{"type":"buzzsawOnStick","x":-1804,"y":-209,"rotation":432},{"type":"buzzsawOnStick","x":-1955,"y":-206,"rotation":432},{"type":"buzzsawOnStick","x":-2120,"y":-207,"rotation":432},{"type":"buzzsawOnStick","x":-2300,"y":-204,"rotation":432},{"type":"buzzsawOnStick","x":-2499,"y":-201,"rotation":432},{"type":"basicBlock","x":-1599,"y":-200,"width":99,"height":99},{"type":"bounceBlock","x":-2673,"y":-224,"width":50,"height":50},{"type":"checkpoint","x":-1592,"y":-285},{"type":"basicBlock","x":-2604,"y":-501,"width":99,"height":99},{"type":"circularCannon","x":-2370,"y":-582},{"type":"circularCannon","x":-1746,"y":-1034},{"type":"pole","x":-2226,"y":-928},{"type":"pole","x":-2076,"y":-977},{"type":"pole","x":-2375,"y":-873},{"type":"pole","x":-1925,"y":-1028},{"type":"pole","x":2275,"y":-1475},{"type":"pole","x":2725,"y":-1475},{"type":"pole","x":2875,"y":-1425},{"type":"basicBlock","x":3004,"y":-1302,"width":99,"height":99},{"type":"blockSpike","x":3101,"y":-1302,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"basicBlock","x":3257,"y":-1302,"width":214,"height":99},{"type":"buzzsawOnStick","x":3366,"y":-1318,"rotation":328},{"type":"basicBlock","x":3470,"y":-1302,"width":214,"height":99},{"type":"basicBlock","x":3700,"y":-1509,"width":500,"height":99},{"type":"buzzsawOnStick","x":3537,"y":-1489,"rotation":365},{"type":"rope","x":3701,"y":-1407,"height":110},{"type":"rope","x":3803,"y":-1407,"height":110},{"type":"rope","x":3902,"y":-1407,"height":110},{"type":"speedBlockLeft","x":4299,"y":-1251,"width":600,"height":100},{"type":"bouncingBuzzsaw","x":4175,"y":-1450,"width":50,"rotation":0},{"type":"bouncingBuzzsaw","x":4300,"y":-1425,"width":50,"rotation":0},{"type":"bouncingBuzzsaw","x":4425,"y":-1450,"width":50,"rotation":0},{"type":"elevatorGeneratorUp","x":4725,"y":-1270},{"type":"elevatorEliminatorUp","x":4725,"y":-1979},{"type":"pole","x":4526.585788561525,"y":-1823.5008665511264,"rotation":0},{"type":"pole","x":4376.84575389948,"y":-1874.5233968804157,"rotation":0},{"type":"classicLaser","x":4473.344887348353,"y":-1972.1317157712301,"rotation":0},{"type":"spike30x","x":3596,"y":-1567,"rotation":0},{"type":"spike10x","x":3790,"y":-1566,"rotation":0},{"type":"spike10x","x":3888,"y":-1567,"rotation":0},{"type":"spike","x":3943,"y":-1567,"rotation":0},{"type":"bounceBlock","x":4176,"y":-1675,"width":50,"height":50},{"type":"bounceBlock","x":4124,"y":-1924,"width":50,"height":50},{"type":"appearingBlock","x":4026,"y":-2176,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":3875,"y":-2075,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":3774,"y":-2125,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":3675,"y":-2176,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"sparkBlock","x":3528,"y":-2175,"width":50,"height":50},{"type":"shurikanDispenser","x":4123,"y":-1825},{"type":"shurikanDispenser","x":4225,"y":-2326},{"type":"horizontalBlock","x":3352,"y":-2175,"width":100,"height":50},{"type":"basicBlock","x":3750,"y":-2375,"width":100,"height":50},{"type":"buzzsawOnStick","x":3748,"y":-2373,"rotation":306},{"type":"iceBlock","x":3050,"y":-2175,"width":300,"height":51},{"type":"buzzsawOnStick","x":3124,"y":-2175,"rotation":338},{"type":"buzzsawOnStick","x":2977,"y":-2172,"rotation":61},{"type":"basicBlock","x":2838.4055459272095,"y":-2151.819757365684,"width":120,"height":99,"rotation":0},{"type":"ziplinePole","x":2785.1646447140374,"y":-2235.0086655112646,"rotation":0},{"type":"ziplinePole","x":2437,"y":-2534},{"type":"blockSpike","x":2400,"y":-2449,"spikeUp":1,"timeUp":10,"timeDown":10,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"portal","x":2000,"y":-1900},{"type":"shurikanDispenser","x":2626,"y":-2224},{"type":"shurikanDispenser","x":2525,"y":-2324},{"type":"glassBlock","x":2000,"y":-2000,"width":100,"height":100},{"type":"glassBlock","x":2000,"y":-2100,"width":100,"height":100},{"type":"glassBlock","x":2000,"y":-2200,"width":100,"height":100},{"type":"glassBlock","x":2000,"y":-2300,"width":100,"height":100},{"type":"basicBlock","x":1940,"y":-2100,"width":20,"height":500},{"type":"basicBlock","x":2060,"y":-2100,"width":20,"height":500},{"type":"spike30x","x":2079,"y":-2204,"rotation":90},{"type":"spike30x","x":1921,"y":-2204,"rotation":-90},{"type":"spike10x","x":1921,"y":-2009,"rotation":-90},{"type":"spike10x","x":2079,"y":-2009,"rotation":90},{"type":"spike10x","x":2079,"y":-1911,"rotation":90},{"type":"spike10x","x":1921,"y":-1911,"rotation":-90},{"type":"spike","x":2078,"y":-1857,"rotation":90},{"type":"spike","x":1922,"y":-1857,"rotation":-90},{"type":"buzzsawHorizontalFast","x":2000,"y":-2001},{"type":"buzzsawHorizontalFast","x":2000,"y":-2200},{"type":"fallingBlock","x":2275,"y":-2475,"width":25,"height":25},{"type":"fallingBlock","x":2175,"y":-2475,"width":25,"height":25},{"type":"fallingBlock","x":2075,"y":-2475,"width":25,"height":25},{"type":"basicBlock","x":2175,"y":-2675,"width":250,"height":50},{"type":"buzzsawOnStick","x":2175,"y":-2675,"rotation":216},{"type":"buzzsawOnStick","x":2984,"y":-1282,"rotation":216},{"type":"checkpoint","x":3185,"y":-1390},{"type":"pole","x":2075,"y":-1375},{"type":"pole","x":2174,"y":-1425},{"type":"pole","x":2424,"y":-1525},{"type":"pole","x":2575,"y":-1524},{"type":"textFade","x":2157.188498402556,"y":-1032.5878594249202,"rotation":-45,"textNum":5},{"type":"textFade","x":2493.5463258785944,"y":-1577.507987220447,"rotation":0,"textNum":5},{"type":"textFade","x":3596.6773162939294,"y":-1392.4600638977636,"rotation":0,"textNum":5},{"type":"textFade","x":4628.242811501597,"y":-1410.8626198083066,"rotation":-90,"textNum":5},{"type":"textFade","x":4095.591054313099,"y":-2379.0415335463263,"rotation":135,"textNum":5},{"type":"textFade","x":3525.111821086262,"y":-2272.715654952077,"rotation":-180,"textNum":5},{"type":"textFade","x":2851.3738019169327,"y":-2297.252396166134,"rotation":-135,"textNum":5},{"type":"textFade","x":1999.7444089456867,"y":-2449.584664536741,"rotation":90,"textNum":5},{"type":"checkpoint","x":2804.020797227036,"y":-2236.1178509532056,"rotation":0},{"type":"spawnPoint","x":770.8838821490467,"y":491.369150779896}] \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/levels/levelEdit.json b/gs/html5/vex5/assets/balance/levels/levelEdit.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/levelEdit.json @@ -0,0 +1 @@ +[] diff --git a/gs/html5/vex5/assets/balance/levels/levelhub.json b/gs/html5/vex5/assets/balance/levels/levelhub.json new file mode 100644 index 0000000..94b6a71 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levels/levelhub.json @@ -0,0 +1 @@ +[{"type":"blockedWall","x":969,"y":1004,"width":65,"height":444,"rotation":0,"actNum":9},{"type":"blockedWall","x":2035,"y":960,"width":63.65,"height":443.65,"rotation":0,"actNum":8},{"type":"blockedWall","x":2945,"y":947,"width":63.65,"height":443.65,"rotation":0,"actNum":7},{"type":"blockedWall","x":4035,"y":1210,"width":443.65,"height":63.65,"rotation":-90,"actNum":6},{"type":"lockBlock","x":3395,"y":1009,"width":100.05,"height":100},{"type":"blockedWall","x":3593,"y":1400,"width":63.65,"height":443.65,"rotation":0,"actNum":5},{"type":"checkpoint","x":2879,"y":1569},{"type":"basicBlock","x":1660,"y":2349,"width":800,"height":100},{"type":"blockedWall","x":2252,"y":1465,"width":63.65,"height":443.65,"rotation":0,"actNum":4},{"type":"blockedWall","x":2321,"y":1632,"width":444,"height":65,"rotation":90,"actNum":3},{"type":"basicBlock","x":2821,"y":1206,"width":1200,"height":100},{"type":"checkpoint","x":1895,"y":1568},{"type":"checkpoint","x":1031,"y":1573},{"type":"blockedWall","x":1251,"y":1484,"width":63.65,"height":443.65,"rotation":0,"actNum":2},{"type":"blockedWall","x":981,"y":1484,"width":63.65,"height":443.65,"rotation":0,"actNum":1},{"type":"basicBlock","x":343,"y":1649,"width":500,"height":100},{"type":"basicBlock","x":510,"y":1951,"width":900,"height":200},{"type":"basicBlock","x":3587,"y":1688,"width":99,"height":400},{"type":"basicBlock","x":1000,"y":1825.4,"width":102,"height":450},{"type":"basicBlock","x":806,"y":1726,"width":290,"height":252},{"type":"spike10x","x":376,"y":1842,"rotation":0},{"type":"basicBlock","x":1249,"y":2149,"width":100,"height":1100},{"type":"checkpoint","x":1035,"y":2461},{"type":"basicBlock","x":1539,"y":1764,"width":600,"height":50},{"type":"actBlock","x":806,"y":1670,"actNum":"1"},{"type":"actBlock","x":1130,"y":2564,"actNum":"2"},{"type":"actBlock","x":1770,"y":1671,"actNum":"3"},{"type":"basicBlock","x":1888,"y":1694,"width":99,"height":190},{"type":"basicBlock","x":2234,"y":1789,"width":130,"height":380},{"type":"actBlock","x":2271,"y":2119,"actNum":"4"},{"type":"actBlock","x":3028,"y":1531,"actNum":"5"},{"type":"checkpoint","x":2254,"y":966},{"type":"actBlock","x":4015,"y":1561,"actNum":"6"},{"type":"key","x":3729,"y":1088},{"type":"actBlock","x":3278,"y":1130,"actNum":"7"},{"type":"basicBlock","x":644,"y":1265,"width":1300,"height":100.05},{"type":"actBlock","x":2137,"y":930,"actNum":"8"},{"type":"actBlock","x":1221,"y":1147,"actNum":"9"},{"type":"actBlock","x":172,"y":1040,"actNum":"10"},{"type":"actBlockHard","x":197,"y":1591,"actNum":1},{"type":"basicBlock","x":1035,"y":2593,"width":50,"height":200},{"type":"basicBlock","x":945,"y":2684,"width":708,"height":99},{"type":"actBlockHard","x":622,"y":2329,"actNum":2},{"type":"basicBlock","x":502,"y":2225,"width":99,"height":350},{"type":"basicBlock","x":641,"y":2549,"width":99,"height":300},{"type":"actBlockHard","x":2930,"y":1920,"actNum":4},{"type":"actBlockHard","x":1370,"y":2001,"actNum":3},{"type":"basicBlock","x":2649,"y":1639,"width":700,"height":80},{"type":"actBlockHard","x":3320,"y":2222,"actNum":5},{"type":"actBlockHard","x":4458,"y":1570,"actNum":6},{"type":"basicBlock","x":43,"y":1022,"width":99,"height":460},{"type":"actBlockHard","x":3683,"y":922,"actNum":7},{"type":"actBlockHard","x":2773,"y":922,"actNum":8},{"type":"actBlockHard","x":1771,"y":899,"actNum":9},{"type":"actChallenge","x":3865,"y":2066},{"type":"basicBlock","x":78,"y":1497,"width":99,"height":400},{"type":"blockSpike","x":315,"y":1649,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":412,"y":1649,"spikeUp":0,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":510,"y":1648,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"basicBlock","x":78,"y":1873,"width":99,"height":355},{"type":"rope","x":1133,"y":1870,"height":1110},{"type":"basicBlock","x":946,"y":2193,"width":210,"height":300},{"type":"basicBlock","x":946,"y":2323,"width":210,"height":50},{"type":"rope","x":751,"y":2275,"height":450.00000000000006},{"type":"spike30x","x":866,"y":2629,"rotation":0},{"type":"spike30x","x":781,"y":2628,"rotation":0},{"type":"spike30x","x":698,"y":2544,"rotation":90},{"type":"spike30x","x":1137,"y":1321,"rotation":-180},{"type":"rope","x":954,"y":2446,"height":200},{"type":"rope","x":853,"y":2446,"height":200},{"type":"spike30x","x":674,"y":2059,"rotation":-180},{"type":"fallingSpike","x":986,"y":2357,"rotation":0},{"type":"fallingBlock","x":1324,"y":1624,"width":50,"height":50},{"type":"fallingBlock","x":1374,"y":1624,"width":50,"height":50},{"type":"fallingBlock","x":1424,"y":1624,"width":50,"height":50},{"type":"fallingBlock","x":1474,"y":1624,"width":50,"height":50},{"type":"fallingBlock","x":1524,"y":1624,"width":50,"height":50},{"type":"fallingBlock","x":1573,"y":1624,"width":50,"height":50},{"type":"spike30x","x":1409,"y":1733,"rotation":0},{"type":"spike30x","x":1667,"y":1733,"rotation":0},{"type":"basicBlock","x":2050,"y":1999,"width":99,"height":800},{"type":"swimmingPool","x":1622,"y":2162,"width":800,"height":300},{"type":"bounceBlock","x":1975,"y":1987,"width":50,"height":50},{"type":"bouncingBuzzsaw","x":1523,"y":1977,"width":50},{"type":"bouncingBuzzsaw","x":1625,"y":1924,"width":50},{"type":"bouncingBuzzsaw","x":1725,"y":1874,"width":50},{"type":"spike30x","x":1305,"y":2159,"rotation":90},{"type":"spike30x","x":1992,"y":2159,"rotation":-90},{"type":"glassBlock","x":2134,"y":1749,"width":70,"height":100},{"type":"glassBlock","x":2134,"y":1900,"width":70,"height":100},{"type":"glassBlock","x":2152,"y":2099,"width":100,"height":100},{"type":"basicBlock","x":2598,"y":2240,"width":1000,"height":99},{"type":"pole","x":2428,"y":1971},{"type":"pole","x":2577,"y":1922},{"type":"pole","x":2728,"y":1871},{"type":"basicBlock","x":3048,"y":1899,"width":99,"height":600},{"type":"spike30x","x":2247,"y":2182,"rotation":0},{"type":"spike30x","x":2538,"y":2182,"rotation":0},{"type":"spike30x","x":2828,"y":2182,"rotation":0},{"type":"spike30x","x":2860,"y":2182,"rotation":0},{"type":"bouncingBuzzsaw","x":2501,"y":1776,"width":50},{"type":"bouncingBuzzsaw","x":2653,"y":1775,"width":50},{"type":"bouncingBuzzsaw","x":2802,"y":1775,"width":50},{"type":"buzzsaw","x":2446,"y":1526,"width":101},{"type":"buzzsaw","x":2597,"y":1624,"width":101},{"type":"buzzsawOnStick","x":3584,"y":1712,"rotation":896},{"type":"buzzsawOnStick","x":3577,"y":1960,"rotation":896},{"type":"elevatorEliminatorDown","x":3463,"y":2259},{"type":"elevatorGeneratorUp","x":3173,"y":2260},{"type":"elevatorGeneratorDown","x":3463,"y":1518},{"type":"elevatorEliminatorUp","x":3174,"y":1228},{"type":"buzzsaw","x":3313,"y":1745,"width":101},{"type":"buzzsaw","x":3318,"y":2009,"width":101},{"type":"buzzsaw","x":3317,"y":1868,"width":101},{"type":"basicBlock","x":3671,"y":1206,"width":500,"height":100},{"type":"sparkBlock","x":3686,"y":1538,"width":100,"height":100},{"type":"sparkBlock","x":3837,"y":1539,"width":100,"height":100},{"type":"swimmingPool","x":4226,"y":1663,"width":1200,"height":150},{"type":"basicBlock","x":4336,"y":1788,"width":802,"height":99},{"type":"rope","x":4024,"y":1075,"height":750},{"type":"checkpoint","x":3492,"y":1454},{"type":"basicBlock","x":4786,"y":1499,"width":99,"height":700},{"type":"basicBlock","x":4452,"y":1199,"width":700,"height":100},{"type":"basicBlock","x":4152,"y":902,"width":99,"height":500},{"type":"basicBlock","x":3603,"y":701,"width":1000,"height":99},{"type":"checkpoint","x":3868,"y":1120},{"type":"blockSpike","x":3581,"y":1205,"spikeUp":1,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":0,"rightEnable":0},{"type":"blockSpike","x":3396,"y":1107,"spikeUp":0,"timeUp":20,"timeDown":20,"upEnable":0,"downEnable":0,"leftEnable":0,"rightEnable":1},{"type":"spike30x","x":3956,"y":759,"rotation":-180},{"type":"blockSpike","x":3397,"y":910,"spikeUp":10,"timeUp":20,"timeDown":20,"upEnable":1,"downEnable":0,"leftEnable":1,"rightEnable":1},{"type":"basicBlock","x":3410,"y":701,"width":1000,"height":99},{"type":"pole","x":3178,"y":978},{"type":"pole","x":3027,"y":927},{"type":"pole","x":3181,"y":875},{"type":"bouncingBuzzsaw","x":3124,"y":797,"width":50},{"type":"bouncingBuzzsaw","x":3525,"y":791,"width":50},{"type":"basicBlock","x":2500,"y":701,"width":1000,"height":99},{"type":"buzzsawOnStick","x":2767,"y":1208,"rotation":672},{"type":"basicBlock","x":2248,"y":1206,"width":500,"height":100},{"type":"invisBlock","x":2426,"y":926,"width":50,"height":50},{"type":"pushBlock","x":2761,"y":1106,"width":101,"height":100},{"type":"invisBlock","x":2525,"y":926,"width":50,"height":50},{"type":"invisBlock","x":2625,"y":926,"width":50,"height":50},{"type":"invisBlock","x":2325,"y":925,"width":50,"height":50},{"type":"basicBlock","x":2148,"y":1095,"width":300,"height":200},{"type":"spike10x","x":1989,"y":1053,"rotation":-90},{"type":"spike10x","x":1990,"y":1149,"rotation":-90},{"type":"spike10x","x":1990,"y":1204,"rotation":-90},{"type":"fallingSpike","x":2316,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2332,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2347,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2361,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2375,"y":758,"rotation":-14040},{"type":"fallingSpike","x":2389,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2403,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2417,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2432,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2447,"y":758,"rotation":-14040},{"type":"fallingSpike","x":2460,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2475,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2491,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2506,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2520,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2534,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2549,"y":758,"rotation":-14040},{"type":"fallingSpike","x":2562,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2577,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2591,"y":759,"rotation":-14040},{"type":"fallingSpike","x":2607,"y":758,"rotation":-14040},{"type":"appearingBlock","x":1925,"y":1025,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1825,"y":1074,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1726,"y":1074,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1525,"y":1076,"width":50,"height":50,"initVisible":1,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1427,"y":1073,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"appearingBlock","x":1623,"y":1075,"width":50,"height":50,"initVisible":0,"timeShow":50,"timeHide":50},{"type":"elevatorGeneratorUp","x":1080,"y":1245},{"type":"elevatorEliminatorUp","x":1086,"y":721},{"type":"invisBlock","x":1224,"y":924,"width":50,"height":50},{"type":"invisBlock","x":1274,"y":924,"width":50,"height":50},{"type":"invisBlock","x":1375,"y":924,"width":50,"height":50},{"type":"invisBlock","x":1475,"y":925,"width":50,"height":50},{"type":"invisBlock","x":1524,"y":925,"width":50,"height":50},{"type":"invisBlock","x":1625,"y":874,"width":50,"height":50},{"type":"basicBlock","x":1500,"y":702,"width":1000,"height":99},{"type":"bouncingBuzzsaw","x":1274,"y":786,"width":50},{"type":"bouncingBuzzsaw","x":1476,"y":778,"width":50},{"type":"bouncingBuzzsaw","x":1624,"y":763,"width":20},{"type":"basicBlock","x":498,"y":744,"width":1020,"height":99},{"type":"checkpoint","x":897,"y":1181},{"type":"pushBlock","x":752,"y":1145,"width":100,"height":100},{"type":"buzzsawOnStick","x":674,"y":1250,"rotation":496},{"type":"buzzsawOnStick","x":482,"y":1248,"rotation":496},{"type":"basicBlock","x":153,"y":1167,"width":200,"height":99},{"type":"basicBlock","x":543,"y":1746,"width":99,"height":99},{"type":"basicBlock","x":3587,"y":2115,"width":99,"height":350},{"type":"basicBlock","x":3833,"y":2184,"width":400,"height":99},{"type":"basicBlock","x":3984,"y":2035,"width":99,"height":398},{"type":"spike10x","x":3687,"y":2126,"rotation":0},{"type":"spike10x","x":3785,"y":2126,"rotation":0},{"type":"spike10x","x":3645,"y":2076,"rotation":90},{"type":"spike10x","x":3644,"y":2032,"rotation":90},{"type":"spike10x","x":3926,"y":1892,"rotation":-90},{"type":"spike10x","x":3926,"y":1946,"rotation":-90},{"type":"spike10x","x":3885,"y":1817,"rotation":-180},{"type":"spike10x","x":3785,"y":1817,"rotation":-180},{"type":"spike10x","x":3686,"y":1817,"rotation":-180},{"type":"fallingSpike","x":971,"y":2357,"rotation":0},{"type":"fallingSpike","x":957,"y":2357,"rotation":0},{"type":"fallingSpike","x":943,"y":2357,"rotation":0},{"type":"fallingSpike","x":930,"y":2357,"rotation":0},{"type":"fallingSpike","x":916,"y":2357,"rotation":0},{"type":"fallingSpike","x":903,"y":2357,"rotation":0},{"type":"fallingSpike","x":890,"y":2357,"rotation":0},{"type":"fallingSpike","x":876,"y":2357,"rotation":0},{"type":"fallingSpike","x":863,"y":2357,"rotation":0},{"type":"fallingSpike","x":850,"y":2357,"rotation":0},{"type":"basicBlock","x":3785,"y":1773,"width":300,"height":70},{"type":"spike10x","x":3644,"y":1804,"rotation":90},{"type":"spike10x","x":3926,"y":1806,"rotation":-90},{"type":"spawnPoint","x":230,"y":1831}] diff --git a/gs/html5/vex5/assets/balance/levelsConfig.json b/gs/html5/vex5/assets/balance/levelsConfig.json new file mode 100644 index 0000000..aff1240 --- /dev/null +++ b/gs/html5/vex5/assets/balance/levelsConfig.json @@ -0,0 +1,120 @@ +{ + "hub": { + "file": "levelhub", + "name": "Level Hub" + }, + "11": { + "roomsFiles": ["room01", "room02", "room03", "room04", "room05", "room06", "room07", "room08", "room09", "room10", "room11", "room12", "room13", "room14", "room15", "room16", "room17", "room18", "room19", "room20", "room21", "room22", "room24", "room25", "room26", "room26", "room27", "room28", "room29", "room30"], + "name": "Challenge Room" + }, + "1": { + "file": "level01", + "name": "Act 1", + "nameHard": "Act 1 Hard", + "goldTime": 45, + "silverTime": 55, + "bronzeTime": 65, + "hue":130, + "fileChallengeName": "level01hard" + }, + "2": { + "file": "level02", + "name": "Act 2", + "nameHard": "Act 2 Hard", + "goldTime": 70, + "silverTime": 90, + "bronzeTime": 120, + "hue":170, + "fileChallengeName": "level02hard" + }, + "3": { + "file": "level03", + "name": "Act 3", + "nameHard": "Act 3 Hard", + "goldTime": 80, + "silverTime": 100, + "bronzeTime": 120, + "hue":190, + "fileChallengeName": "level03hard" + }, + "4": { + "file": "level04", + "name": "Act 4", + "nameHard": "Act 4 Hard", + "goldTime": 110, + "silverTime": 130, + "bronzeTime": 150, + "hue":-150, + "fileChallengeName": "level04hard" + }, + "5": { + "file": "level05", + "name": "Act 5", + "nameHard": "Act 5 Hard", + "goldTime": 140, + "silverTime": 180, + "bronzeTime": 210, + "hue":-90, + "fileChallengeName": "level05hard" + }, + "6": { + "file": "level06", + "name": "Act 6", + "nameHard": "Act 6 Hard", + "goldTime": 130, + "silverTime": 150, + "bronzeTime": 180, + "hue":-40, + "fileChallengeName": "level06hard" + }, + "7": { + "file": "level07", + "name": "Act 7", + "nameHard": "Act 7 Hard", + "goldTime": 140, + "silverTime": 180, + "bronzeTime": 200, + "hue":1, + "fileChallengeName": "level07hard" + }, + "8": { + "file": "level08", + "name": "Act 8", + "nameHard": "Act 8 Hard", + "goldTime": 140, + "silverTime": 180, + "bronzeTime": 200, + "hue":30, + "fileChallengeName": "level08hard" + }, + "9": { + "file": "level09", + "name": "Act 9", + "nameHard": "Act 9 Hard", + "goldTime": 120, + "silverTime": 140, + "bronzeTime": 180, + "hue":70, + "fileChallengeName": "level09hard" + }, + "10": { + "file": "level10", + "name": "Vexation", + "nameHard": "Act 10 Hard", + "goldTime": 240, + "silverTime": 300, + "bronzeTime": 360, + "hue":100, + "fileChallengeName": "level10" + }, + "edit": { + "file": "levelEdit", + "name": "Edit", + "nameHard": "Act 10 Hard", + "goldTime": 120, + "silverTime": 180, + "bronzeTime": 240, + "hue":100, + "fileChallengeName": "level10" + } +} diff --git a/gs/html5/vex5/assets/balance/localization.json b/gs/html5/vex5/assets/balance/localization.json new file mode 100644 index 0000000..203186c --- /dev/null +++ b/gs/html5/vex5/assets/balance/localization.json @@ -0,0 +1,115 @@ +{ + "ui_mm_start": "Play Game", + "ui_trophie_title": "Trophies", + "ui_trophie_section1_title": "Standard Acts", + "ui_trophie_section2_title": "Hardcore", + "ui_trophie_section3_title": "Awesome Stuff", + "ui_trophie_section4_title": "Completion", + "ui_trophie_name_1": "Act 1", + "ui_trophie_name_2": "Act 2", + "ui_trophie_name_3": "Act 3", + "ui_trophie_name_4": "Act 4", + "ui_trophie_name_5": "Act 5", + "ui_trophie_name_6": "Act 6", + "ui_trophie_name_7": "Act 7", + "ui_trophie_name_8": "Act 8", + "ui_trophie_name_9": "Act 9", + "ui_trophie_name_10": "Vexation", + "ui_trophie_name_11": "Mine !", + "ui_trophie_name_12": "Thanks Box !", + "ui_trophie_name_13": "It's the Climb !", + "ui_trophie_name_14": "Between a Saw", + "ui_trophie_name_15": "Leap of Faith", + "ui_trophie_name_16": "Keychain", + "ui_trophie_name_17": "Take the Plunge", + "ui_trophie_name_18": "Lights Out !", + "ui_trophie_name_19": "Outside the Box", + "ui_trophie_name_20": "Inside the Box", + "ui_trophie_name_21": "One Step At A Time", + "ui_trophie_name_22": "Double Down", + "ui_trophie_name_23": "Third's the Charm", + "ui_trophie_name_24": "Fantastic Four", + "ui_trophie_name_25": "High Five", + "ui_trophie_name_26": "Demon", + "ui_trophie_name_27": "You're Lucky", + "ui_trophie_name_28": "Eight Times the Champ", + "ui_trophie_name_29": "Nine Lives", + "ui_trophie_name_30": "Perfect !", + "ui_trophie_name_31": "Gasping", + "ui_trophie_name_32": "Time Flies V2.0", + "ui_trophie_name_33": "Heads Up", + "ui_trophie_name_34": "Death Tycoon", + "ui_trophie_name_35": "Olympian", + "ui_trophie_name_36": "Perfectionist", + "ui_trophie_name_37": "Astronomer", + "ui_trophie_name_38": "Winner", + "ui_trophie_name_39": "Challenger", + "ui_trophie_name_40": "Extrem", + "ui_trophie_name_41": "Extrem", + "ui_trophie_name_42": "Extrem", + "ui_trophie_name_43": "Extrem", + "ui_trophie_name_44": "Extrem", + "ui_trophie_name_45": "Extrem", + "ui_trophie_name_46": "Extrem", + "ui_trophie_name_47": "Extrem", + "ui_trophie_name_48": "Extrem", + "ui_trophie_description_1": "Complete Act 1 to any ranking", + "ui_trophie_description_2": "Complete Act 2 to any ranking", + "ui_trophie_description_3": "Complete Act 3 to any ranking", + "ui_trophie_description_4": "Complete Act 4 to any ranking", + "ui_trophie_description_5": "Complete Act 5 to any ranking", + "ui_trophie_description_6": "Complete Act 6 to any ranking", + "ui_trophie_description_7": "Complete Act 7 to any ranking", + "ui_trophie_description_8": "Complete Act 8 to any ranking", + "ui_trophie_description_9": "Complete Act 9 to any ranking", + "ui_trophie_description_10": "Complete the Vexation to any ranking", + "ui_trophie_description_11": "Grab the hidden star on Act 1", + "ui_trophie_description_12": "Grab the hidden star on Act 2", + "ui_trophie_description_13": "Grab the hidden star on Act 3", + "ui_trophie_description_14": "Grab the hidden star on Act 4", + "ui_trophie_description_15": "Grab the hidden star on Act 5", + "ui_trophie_description_16": "Grab the hidden star on Act 6", + "ui_trophie_description_17": "Grab the hidden star on Act 7", + "ui_trophie_description_18": "Grab the hidden star on Act 8", + "ui_trophie_description_19": "Grab the hidden star on Act 9", + "ui_trophie_description_20": "Grab the hidden star on the Vexation", + "ui_trophie_description_21": "Complete Challenge Mode for Act 1", + "ui_trophie_description_22": "Complete Challenge Mode for Act 2", + "ui_trophie_description_23": "Complete Challenge Mode for Act 3", + "ui_trophie_description_24": "Complete Challenge Mode for Act 4", + "ui_trophie_description_25": "Complete Challenge Mode for Act 5", + "ui_trophie_description_26": "Complete Challenge Mode for Act 6", + "ui_trophie_description_27": "Complete Challenge Mode for Act 7", + "ui_trophie_description_28": "Complete Challenge Mode for Act 8", + "ui_trophie_description_29": "Complete Challenge Mode for Act 9", + "ui_trophie_description_30": "Complete any Act with Perfect ranking", + "ui_trophie_description_31": "Surface from swimming with one bubble left", + "ui_trophie_description_32": "Play the game for over one hour", + "ui_trophie_description_33": "Get crushed by a pushable block", + "ui_trophie_description_34": "Get over 100 total deaths", + "ui_trophie_description_35": "Achieve Gold or better on every Act", + "ui_trophie_description_36": "Achieve Perfect or better on every Act", + "ui_trophie_description_37": "Collect every star in the game", + "ui_trophie_description_38": "Complete every Act in Challenge Mode", + "ui_trophie_description_39": "Complete the Challenge room", + "ui_options_title": "Options", + "ui_options_music": "Music", + "ui_options_sound": "Sound", + "ui_options_enable": "ON", + "ui_options_disable": "OFF", + "ui_options_auto_save": "Auto reset when\nbest time passed", + "ui_level_complet_title": "Level Complete", + "ui_gp_hub_name_title": "Your Time:", + "ui_gp_rank_gold": "Gold", + "ui_gp_rank_silver": "Silver", + "ui_gp_rank_bronze": "Bronze", + "ui_gp_deaths_hub": "{0}", + "ui_gp_deaths": "{0}", + "ui_gp_challenge_floor": "FLOOR", + "ui_act_select_title": "Act Select", + "ui_gp_challenge_floors": "Floors:", + "ui_gp_challenge_time": "Your Time:", + "ui_achievement_title": "Achievements unlocked!", + "act_select_hard": "Hard mode", + "hell_locked": "LOCKED" +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/objectConfig.json b/gs/html5/vex5/assets/balance/objectConfig.json new file mode 100644 index 0000000..80120d9 --- /dev/null +++ b/gs/html5/vex5/assets/balance/objectConfig.json @@ -0,0 +1,18 @@ +{ + "TimeNewElevator": 60, + "SpeedElevator": 2, + "ChallegeSteps": 30, + "minSizeView": 640, + "wireSparkSpeed": 0.15, + "TimeCooldown": 120, + "LevelsResetCheckPoints": [7], + "ropeUpVelY": 5, + "ropeDownVelY": 5, + "alertApper": 0.3, + "alertDisapper": 0.3, + "spikeBlockVelocity": 1, + "spikeBlockUp": -10, + "spikeBlockDown": -96, + "widthRoom": 1000, + "heightRoom": 500 +} diff --git a/gs/html5/vex5/assets/balance/rooms/room01.json b/gs/html5/vex5/assets/balance/rooms/room01.json new file mode 100644 index 0000000..f0635b8 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room01.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":350,"width":50,"height":700},{"type":"basicBlock","x":975,"y":350,"width":50,"height":700},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":675,"width":1000,"height":50},{"type":"iceBlock","x":550,"y":602,"width":800,"height":100},{"type":"spike30x","x":193,"y":641,"rotation":0},{"type":"spike30x","x":484,"y":642,"rotation":0},{"type":"spike30x","x":777,"y":641,"rotation":0},{"type":"spike30x","x":809,"y":642,"rotation":0},{"type":"iceBlock","x":466,"y":421,"width":830,"height":100},{"type":"iceBlock","x":534,"y":278,"width":830,"height":100},{"type":"finishPortal","x":926,"y":201},{"type":"basicBlock","x":99,"y":601,"width":99,"height":99},{"type":"checkpoint","x":100,"y":521},{"type":"buzzsawVerticalDown","x":222,"y":359},{"type":"buzzsawVerticalDown","x":582,"y":354},{"type":"buzzsawVerticalDown","x":575,"y":563},{"type":"buzzsawVerticalDown","x":407,"y":234},{"type":"buzzsawVerticalDown","x":793,"y":232},{"type":"spawnPoint","x":138,"y":531}],"width":2000,"height":1700} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room02.json b/gs/html5/vex5/assets/balance/rooms/room02.json new file mode 100644 index 0000000..2133c59 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room02.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":350,"width":50,"height":700},{"type":"basicBlock","x":975,"y":350,"width":50,"height":700},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":675,"width":1000,"height":50},{"type":"checkpoint","x":129,"y":116},{"type":"swimmingPool","x":511,"y":451,"width":950,"height":400},{"type":"basicBlock","x":499,"y":300,"width":99,"height":500},{"type":"basicBlock","x":508,"y":502,"width":700,"height":99},{"type":"basicBlock","x":150,"y":201,"width":200,"height":99},{"type":"basicBlock","x":851,"y":201,"width":200,"height":99},{"type":"finishPortal","x":879,"y":125},{"type":"buzzsawVerticalDown","x":500,"y":480},{"type":"bouncingBuzzsaw","x":281,"y":80,"width":50},{"type":"bouncingBuzzsaw","x":376,"y":124,"width":50},{"type":"bouncingBuzzsaw","x":172,"y":279,"width":50},{"type":"bouncingBuzzsaw","x":80,"y":328,"width":50},{"type":"bouncingBuzzsaw","x":921,"y":328,"width":50},{"type":"bouncingBuzzsaw","x":828,"y":280,"width":50},{"type":"bouncingBuzzsaw","x":724,"y":68,"width":20},{"type":"bouncingBuzzsaw","x":625,"y":126,"width":50},{"type":"buzzsawVerticalDown","x":272,"y":502},{"type":"buzzsawVerticalDown","x":730,"y":503},{"type":"spawnPoint","x":155.0515463917526,"y":129.75945017182133}],"width":2000,"height":1700} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room03.json b/gs/html5/vex5/assets/balance/rooms/room03.json new file mode 100644 index 0000000..7024f4a --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room03.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":350,"width":50,"height":700},{"type":"basicBlock","x":975,"y":350,"width":50,"height":700},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":675,"width":1000,"height":50},{"type":"lockBlock","x":501,"y":300,"width":100,"height":100},{"type":"lockBlock","x":501,"y":400,"width":100,"height":100},{"type":"lockBlock","x":501,"y":500,"width":100,"height":100},{"type":"basicBlock","x":400,"y":400,"width":99,"height":500},{"type":"basicBlock","x":601,"y":400,"width":99,"height":500},{"type":"finishPortal","x":498,"y":619},{"type":"checkpoint","x":105,"y":319},{"type":"basicBlock","x":99,"y":399,"width":99,"height":99},{"type":"spike30x","x":195,"y":59,"rotation":-180},{"type":"spike30x","x":487,"y":59,"rotation":-180},{"type":"spike30x","x":779,"y":59,"rotation":-180},{"type":"rope","x":273,"y":213,"height":400},{"type":"rope","x":719,"y":238,"height":400},{"type":"swimmingPool","x":200,"y":573,"width":300,"height":250},{"type":"key","x":271,"y":500},{"type":"sparkBlock","x":400,"y":403,"width":100,"height":100},{"type":"basicBlock","x":825,"y":529,"width":250,"height":99},{"type":"key","x":915,"y":115},{"type":"key","x":926,"y":614},{"type":"fallingSpike","x":708,"y":587,"rotation":-1080},{"type":"fallingSpike","x":720,"y":586,"rotation":-1080},{"type":"fallingSpike","x":734,"y":586,"rotation":-1080},{"type":"fallingSpike","x":747,"y":587,"rotation":-1080},{"type":"fallingSpike","x":761,"y":587,"rotation":-1080},{"type":"fallingSpike","x":775,"y":587,"rotation":-1080},{"type":"fallingSpike","x":791,"y":587,"rotation":-1080},{"type":"fallingSpike","x":805,"y":587,"rotation":-1080},{"type":"fallingSpike","x":819,"y":587,"rotation":-1080},{"type":"fallingSpike","x":834,"y":587,"rotation":-1080},{"type":"fallingSpike","x":847,"y":587,"rotation":-1080},{"type":"fallingSpike","x":862,"y":586,"rotation":-1080},{"type":"fallingSpike","x":875,"y":586,"rotation":-1080},{"type":"fallingSpike","x":890,"y":587,"rotation":-1080},{"type":"fallingSpike","x":905,"y":585,"rotation":-1080},{"type":"basicBlock","x":825,"y":220,"width":99,"height":350},{"type":"spike30x","x":812,"y":58,"rotation":-180},{"type":"spawnPoint","x":93,"y":305}],"width":2000,"height":1700} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room04.json b/gs/html5/vex5/assets/balance/rooms/room04.json new file mode 100644 index 0000000..d90e985 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room04.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"basicBlock","x":99,"y":402,"width":99,"height":99},{"type":"checkpoint","x":113,"y":319},{"type":"spike30x","x":293,"y":442,"rotation":0},{"type":"spike30x","x":584,"y":442,"rotation":0},{"type":"spike30x","x":810,"y":441,"rotation":0},{"type":"circularCannon","x":264,"y":257},{"type":"circularCannon","x":576,"y":340},{"type":"circularCannon","x":859,"y":136},{"type":"buzzsaw","x":368,"y":117,"width":101},{"type":"buzzsaw","x":420,"y":221,"width":101},{"type":"buzzsaw","x":355,"y":351,"width":101},{"type":"buzzsaw","x":708,"y":363,"width":101},{"type":"buzzsaw","x":761,"y":252,"width":101},{"type":"buzzsaw","x":564,"y":203,"width":101},{"type":"buzzsaw","x":664,"y":138,"width":101},{"type":"finishPortal","x":841,"y":377},{"type":"buzzsaw","x":915,"y":271,"width":101},{"type":"spawnPoint","x":85,"y":332}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room05.json b/gs/html5/vex5/assets/balance/rooms/room05.json new file mode 100644 index 0000000..7a14023 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room05.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"basicBlock","x":49,"y":299,"width":99,"height":99},{"type":"checkpoint","x":68,"y":223},{"type":"elevatorGeneratorUp","x":182,"y":466},{"type":"elevatorGeneratorUp","x":772,"y":466},{"type":"elevatorEliminatorUp","x":187,"y":29},{"type":"elevatorEliminatorUp","x":773,"y":33},{"type":"elevatorEliminatorDown","x":475,"y":469},{"type":"elevatorGeneratorDown","x":474,"y":32},{"type":"spike30x","x":196,"y":443,"rotation":0},{"type":"spike30x","x":488,"y":444,"rotation":0},{"type":"spike30x","x":780,"y":444,"rotation":0},{"type":"spike30x","x":801,"y":444,"rotation":0},{"type":"bouncingBuzzsaw","x":326,"y":101,"width":50},{"type":"bouncingBuzzsaw","x":627,"y":101,"width":50},{"type":"basicBlock","x":901,"y":322,"width":99,"height":50},{"type":"basicBlock","x":902,"y":206,"width":99,"height":50},{"type":"finishPortal","x":919,"y":263},{"type":"spike10x","x":901,"y":172,"rotation":0},{"type":"spike","x":846,"y":186,"rotation":-90},{"type":"spike","x":845,"y":197,"rotation":-90},{"type":"spike","x":847,"y":208,"rotation":-90},{"type":"spawnPoint","x":67,"y":173}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room06.json b/gs/html5/vex5/assets/balance/rooms/room06.json new file mode 100644 index 0000000..7384047 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room06.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"basicBlock","x":901,"y":249,"width":99,"height":200},{"type":"basicBlock","x":99,"y":298,"width":99,"height":99},{"type":"pole","x":224,"y":175},{"type":"pole","x":374,"y":275},{"type":"pole","x":528,"y":226},{"type":"pole","x":628,"y":278},{"type":"spike30x","x":196,"y":443,"rotation":0},{"type":"spike30x","x":488,"y":443,"rotation":0},{"type":"spike30x","x":777,"y":442,"rotation":0},{"type":"spike30x","x":809,"y":441,"rotation":0},{"type":"checkpoint","x":105,"y":217},{"type":"finishPortal","x":907,"y":122},{"type":"pole","x":772,"y":223},{"type":"fallingSpike","x":172,"y":59,"rotation":-720},{"type":"fallingSpike","x":184,"y":59,"rotation":-720},{"type":"fallingSpike","x":197,"y":58,"rotation":-720},{"type":"fallingSpike","x":210,"y":58,"rotation":-720},{"type":"fallingSpike","x":223,"y":58,"rotation":-720},{"type":"fallingSpike","x":236,"y":58,"rotation":-720},{"type":"fallingSpike","x":249,"y":57,"rotation":-720},{"type":"fallingSpike","x":262,"y":58,"rotation":-720},{"type":"fallingSpike","x":276,"y":58,"rotation":-720},{"type":"fallingSpike","x":290,"y":57,"rotation":-720},{"type":"fallingSpike","x":302,"y":57,"rotation":-720},{"type":"fallingSpike","x":316,"y":56,"rotation":-720},{"type":"fallingSpike","x":331,"y":58,"rotation":-720},{"type":"fallingSpike","x":347,"y":59,"rotation":-720},{"type":"fallingSpike","x":363,"y":58,"rotation":-720},{"type":"fallingSpike","x":377,"y":58,"rotation":-720},{"type":"fallingSpike","x":391,"y":58,"rotation":-720},{"type":"fallingSpike","x":408,"y":59,"rotation":-720},{"type":"fallingSpike","x":424,"y":58,"rotation":-720},{"type":"fallingSpike","x":438,"y":59,"rotation":-720},{"type":"fallingSpike","x":454,"y":59,"rotation":-720},{"type":"fallingSpike","x":466,"y":59,"rotation":-720},{"type":"fallingSpike","x":482,"y":59,"rotation":-720},{"type":"fallingSpike","x":500,"y":59,"rotation":-720},{"type":"fallingSpike","x":516,"y":59,"rotation":-720},{"type":"fallingSpike","x":532,"y":59,"rotation":-720},{"type":"fallingSpike","x":549,"y":59,"rotation":-720},{"type":"fallingSpike","x":564,"y":59,"rotation":-720},{"type":"fallingSpike","x":579,"y":59,"rotation":-720},{"type":"fallingSpike","x":593,"y":57,"rotation":-720},{"type":"fallingSpike","x":607,"y":57,"rotation":-720},{"type":"fallingSpike","x":622,"y":57,"rotation":-720},{"type":"fallingSpike","x":636,"y":57,"rotation":-720},{"type":"fallingSpike","x":652,"y":59,"rotation":-720},{"type":"fallingSpike","x":669,"y":59,"rotation":-720},{"type":"fallingSpike","x":685,"y":59,"rotation":-720},{"type":"fallingSpike","x":700,"y":58,"rotation":-720},{"type":"fallingSpike","x":715,"y":59,"rotation":-720},{"type":"fallingSpike","x":732,"y":59,"rotation":-720},{"type":"fallingSpike","x":747,"y":58,"rotation":-720},{"type":"fallingSpike","x":764,"y":59,"rotation":-720},{"type":"fallingSpike","x":783,"y":59,"rotation":-720},{"type":"spawnPoint","x":81,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room07.json b/gs/html5/vex5/assets/balance/rooms/room07.json new file mode 100644 index 0000000..ddb27a2 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room07.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"pushBlock","x":174,"y":325,"width":50,"height":50},{"type":"spike30x","x":196,"y":443,"rotation":0},{"type":"spike30x","x":488,"y":442,"rotation":0},{"type":"spike30x","x":780,"y":441,"rotation":0},{"type":"spike30x","x":813,"y":441,"rotation":0},{"type":"basicBlock","x":99,"y":401,"width":99,"height":99},{"type":"iceBlock","x":499,"y":376,"width":700,"height":50},{"type":"checkpoint","x":105,"y":325},{"type":"basicBlock","x":902,"y":235,"width":99,"height":70},{"type":"finishPortal","x":914,"y":172},{"type":"bouncingBuzzsaw","x":224,"y":176,"width":50},{"type":"bouncingBuzzsaw","x":274,"y":141,"width":50},{"type":"bouncingBuzzsaw","x":323,"y":223,"width":50},{"type":"bouncingBuzzsaw","x":374,"y":136,"width":50},{"type":"bouncingBuzzsaw","x":424,"y":136,"width":50},{"type":"bouncingBuzzsaw","x":475,"y":176,"width":50},{"type":"bouncingBuzzsaw","x":525,"y":184,"width":50},{"type":"bouncingBuzzsaw","x":576,"y":177,"width":50},{"type":"bouncingBuzzsaw","x":627,"y":225,"width":50},{"type":"spawnPoint","x":81,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room08.json b/gs/html5/vex5/assets/balance/rooms/room08.json new file mode 100644 index 0000000..161b999 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room08.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"basicBlock","x":99,"y":440,"width":99,"height":20},{"type":"bounceBlock","x":548,"y":440,"width":805,"height":20},{"type":"bounceBlock","x":452,"y":310,"width":805,"height":20},{"type":"bounceBlock","x":547,"y":179,"width":805,"height":20},{"type":"finishPortal","x":920,"y":109},{"type":"checkpoint","x":94,"y":399},{"type":"buzzsawOnStick","x":324,"y":310,"rotation":40},{"type":"buzzsawOnStick","x":670,"y":179,"rotation":40},{"type":"buzzsawVerticalDown","x":568,"y":241},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room09.json b/gs/html5/vex5/assets/balance/rooms/room09.json new file mode 100644 index 0000000..7cc2602 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room09.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"sparkBlock","x":199,"y":400,"width":100,"height":100},{"type":"sparkBlock","x":349,"y":300,"width":100,"height":100},{"type":"sparkBlock","x":501,"y":199,"width":100,"height":100},{"type":"sparkBlock","x":651,"y":150,"width":100,"height":100},{"type":"buzzsawOnStick","x":355,"y":311,"rotation":56},{"type":"buzzsaw","x":429,"y":454,"width":60},{"type":"buzzsaw","x":572,"y":452,"width":60},{"type":"buzzsaw","x":724,"y":453,"width":60},{"type":"checkpoint","x":80,"y":423},{"type":"finishPortal","x":917,"y":420},{"type":"lockBlock","x":829,"y":400,"width":100,"height":100},{"type":"basicBlock","x":870,"y":301,"width":180,"height":99},{"type":"timedKey","x":204,"y":322},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room10.json b/gs/html5/vex5/assets/balance/rooms/room10.json new file mode 100644 index 0000000..db4d1e4 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room10.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":487,"y":441,"rotation":0},{"type":"spike30x","x":779,"y":441,"rotation":0},{"type":"spike30x","x":811,"y":441,"rotation":0},{"type":"basicBlock","x":901,"y":401,"width":99,"height":99},{"type":"finishPortal","x":914,"y":322},{"type":"basicBlock","x":99,"y":138,"width":99,"height":50},{"type":"glassBlock","x":199,"y":200,"width":100,"height":100},{"type":"glassBlock","x":199,"y":300,"width":100,"height":100},{"type":"glassBlock","x":300,"y":100,"width":100,"height":100},{"type":"glassBlock","x":200,"y":400,"width":100,"height":100},{"type":"glassBlock","x":300,"y":400,"width":100,"height":100},{"type":"glassBlock","x":400,"y":400,"width":100,"height":100},{"type":"glassBlock","x":500,"y":400,"width":100,"height":100},{"type":"glassBlock","x":600,"y":400,"width":100,"height":100},{"type":"glassBlock","x":700,"y":400,"width":100,"height":100},{"type":"glassBlock","x":800,"y":400,"width":100,"height":100},{"type":"glassBlock","x":500,"y":200,"width":100,"height":100},{"type":"glassBlock","x":500,"y":300,"width":100,"height":100},{"type":"glassBlock","x":600,"y":100,"width":100,"height":100},{"type":"glassBlock","x":800,"y":300,"width":100,"height":100},{"type":"glassBlock","x":699,"y":300,"width":100,"height":100},{"type":"glassBlock","x":899,"y":200,"width":100,"height":100},{"type":"glassBlock","x":800,"y":200,"width":100,"height":100},{"type":"glassBlock","x":299,"y":200,"width":100,"height":100},{"type":"glassBlock","x":599,"y":301,"width":100,"height":100},{"type":"buzzsawHorizontalFast","x":299,"y":199},{"type":"buzzsawVerticalDown","x":697,"y":302},{"type":"buzzsawHorizontalFast","x":601,"y":99},{"type":"checkpoint","x":101,"y":91},{"type":"buzzsawHorizontalFast","x":695,"y":305},{"type":"buzzsawVerticalDown","x":897,"y":154},{"type":"spawnPoint","x":95,"y":108}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room11.json b/gs/html5/vex5/assets/balance/rooms/room11.json new file mode 100644 index 0000000..0f7fe02 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room11.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"invisBlock","x":200,"y":376,"width":100,"height":50},{"type":"invisBlock","x":398,"y":375,"width":100,"height":50},{"type":"invisBlock","x":602,"y":375,"width":100,"height":50},{"type":"invisBlock","x":801,"y":375,"width":100,"height":50},{"type":"invisBlock","x":699,"y":223,"width":100,"height":50},{"type":"spike30x","x":197,"y":441,"rotation":0},{"type":"spike30x","x":490,"y":442,"rotation":0},{"type":"spike30x","x":782,"y":442,"rotation":0},{"type":"spike30x","x":815,"y":442,"rotation":0},{"type":"invisBlock","x":499,"y":225,"width":100,"height":50},{"type":"invisBlock","x":299,"y":225,"width":100,"height":50},{"type":"invisBlock","x":99,"y":173,"width":100,"height":50},{"type":"finishPortal","x":101,"y":96},{"type":"invisBlock","x":100,"y":375,"width":100,"height":50},{"type":"checkpoint","x":104,"y":316},{"type":"bouncingBuzzsaw","x":202,"y":98,"width":50},{"type":"bouncingBuzzsaw","x":402,"y":99,"width":50},{"type":"bouncingBuzzsaw","x":600,"y":96,"width":50},{"type":"bouncingBuzzsaw","x":812,"y":92,"width":50},{"type":"bouncingBuzzsaw","x":700,"y":89,"width":50},{"type":"bouncingBuzzsaw","x":502,"y":97,"width":50},{"type":"bouncingBuzzsaw","x":295,"y":97,"width":50},{"type":"bounceBlock","x":898,"y":369,"width":50,"height":40},{"type":"spawnPoint","x":96,"y":297}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room12.json b/gs/html5/vex5/assets/balance/rooms/room12.json new file mode 100644 index 0000000..72dd5d6 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room12.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"solarBlock","x":249,"y":349,"width":100,"height":100},{"type":"checkpoint","x":108,"y":364},{"type":"basicBlock","x":249,"y":223,"width":99,"height":150},{"type":"finishPortal","x":110,"y":111},{"type":"lightSwitch","x":172,"y":321},{"type":"speedBlock","x":500,"y":425,"width":900,"height":50},{"type":"speedBlockLeft","x":549,"y":276,"width":500,"height":50},{"type":"spike10x","x":941,"y":362,"rotation":-90},{"type":"spike10x","x":306,"y":223,"rotation":90},{"type":"reaper","x":579,"y":275,"rotation":0,"width":238.1954887218045},{"type":"pole","x":857,"y":309},{"type":"pole","x":385,"y":173},{"type":"spawnPoint","x":91,"y":396}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room13.json b/gs/html5/vex5/assets/balance/rooms/room13.json new file mode 100644 index 0000000..28c7405 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room13.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"checkpoint","x":90,"y":250},{"type":"finishPortal","x":872,"y":81},{"type":"elevatorGeneratorUp","x":316,"y":452},{"type":"basicBlock","x":500,"y":447,"width":900,"height":50},{"type":"elevatorEliminatorUp","x":321,"y":34},{"type":"basicBlock","x":500,"y":304,"width":900,"height":40},{"type":"pushBlock","x":169,"y":251,"width":50,"height":50},{"type":"elevatorGeneratorUp","x":565,"y":451},{"type":"elevatorEliminatorUp","x":569,"y":43},{"type":"buzzsawOnStick","x":453,"y":302,"rotation":72},{"type":"buzzsawOnStick","x":846,"y":306,"rotation":72},{"type":"spawnPoint","x":102,"y":191}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room14.json b/gs/html5/vex5/assets/balance/rooms/room14.json new file mode 100644 index 0000000..b83574a --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room14.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"appearingBlock","x":176,"y":325,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":276,"y":325,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":374,"y":275,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":476,"y":325,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":575,"y":276,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":677,"y":225,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":775,"y":173,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"basicBlock","x":74,"y":325,"width":50,"height":50},{"type":"checkpoint","x":73,"y":259},{"type":"finishPortal","x":927,"y":422},{"type":"basicBlock","x":874,"y":303,"width":30,"height":350},{"type":"swimmingPool","x":450,"y":400,"width":840,"height":100},{"type":"sparkBlock","x":100,"y":400,"width":100,"height":100},{"type":"buzzsawOnStick","x":783,"y":312,"rotation":24},{"type":"spawnPoint","x":102,"y":191}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room15.json b/gs/html5/vex5/assets/balance/rooms/room15.json new file mode 100644 index 0000000..d99e1c5 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room15.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"sparkBlock","x":248,"y":401,"width":100,"height":100},{"type":"sparkBlock","x":347,"y":401,"width":100,"height":100},{"type":"sparkBlock","x":447,"y":401,"width":100,"height":100},{"type":"buzzsawOnStick","x":355,"y":401,"rotation":64},{"type":"buzzsawOnStick","x":674,"y":325,"rotation":64},{"type":"finishPortal","x":906,"y":421},{"type":"checkpoint","x":108,"y":416},{"type":"spawnPoint","x":86,"y":449}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room16.json b/gs/html5/vex5/assets/balance/rooms/room16.json new file mode 100644 index 0000000..a38ff38 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room16.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"iceBlock","x":550,"y":400,"width":800,"height":100},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":487,"y":442,"rotation":0},{"type":"spike30x","x":778,"y":442,"rotation":0},{"type":"spike30x","x":811,"y":441,"rotation":0},{"type":"finishPortal","x":912,"y":321},{"type":"basicBlock","x":97,"y":401,"width":99,"height":99},{"type":"checkpoint","x":94,"y":318},{"type":"buzzsaw","x":269,"y":281,"width":101},{"type":"buzzsaw","x":484,"y":282,"width":101},{"type":"buzzsaw","x":722,"y":283,"width":101},{"type":"bouncingBuzzsaw","x":371,"y":119,"width":60},{"type":"bouncingBuzzsaw","x":623,"y":121,"width":60},{"type":"spawnPoint","x":96,"y":311}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room17.json b/gs/html5/vex5/assets/balance/rooms/room17.json new file mode 100644 index 0000000..f93672f --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room17.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"rope","x":205,"y":250,"height":450.00000000000006},{"type":"rope","x":351,"y":262,"height":450.00000000000006},{"type":"rope","x":502,"y":256,"height":450.00000000000006},{"type":"rope","x":653,"y":267,"height":450.00000000000006},{"type":"rope","x":798,"y":257,"height":450.00000000000006},{"type":"finishPortal","x":924,"y":255},{"type":"basicBlock","x":98,"y":302,"width":99,"height":99},{"type":"checkpoint","x":97,"y":219},{"type":"spike30x","x":195,"y":59,"rotation":-180},{"type":"spike30x","x":490,"y":58,"rotation":-180},{"type":"spike30x","x":782,"y":58,"rotation":-180},{"type":"spike30x","x":804,"y":56,"rotation":-180},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":492,"y":442,"rotation":0},{"type":"spike30x","x":785,"y":442,"rotation":0},{"type":"spike30x","x":840,"y":444,"rotation":0},{"type":"buzzsawHorizontalFast","x":276,"y":350},{"type":"buzzsawHorizontalFast","x":433,"y":237},{"type":"buzzsawHorizontalFast","x":506,"y":116},{"type":"buzzsawHorizontalFast","x":736,"y":238},{"type":"buzzsawHorizontalFast","x":580,"y":380},{"type":"spawnPoint","x":100,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room18.json b/gs/html5/vex5/assets/balance/rooms/room18.json new file mode 100644 index 0000000..51585a0 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room18.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"rope","x":205,"y":250,"height":450.00000000000006},{"type":"rope","x":351,"y":262,"height":450.00000000000006},{"type":"rope","x":502,"y":256,"height":450.00000000000006},{"type":"rope","x":653,"y":267,"height":450.00000000000006},{"type":"rope","x":798,"y":257,"height":450.00000000000006},{"type":"finishPortal","x":925.0079239302695,"y":324.56418383518223},{"type":"basicBlock","x":98,"y":302,"width":99,"height":99},{"type":"checkpoint","x":97,"y":219},{"type":"spike30x","x":195,"y":59,"rotation":-180},{"type":"spike30x","x":490,"y":58,"rotation":-180},{"type":"spike30x","x":782,"y":58,"rotation":-180},{"type":"spike30x","x":804,"y":56,"rotation":-180},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":492,"y":442,"rotation":0},{"type":"spike30x","x":785,"y":442,"rotation":0},{"type":"spike30x","x":840,"y":444,"rotation":0},{"type":"buzzsawOnStick","x":348.90649762282095,"y":315.43581616481777,"rotation":24},{"type":"buzzsawOnStick","x":649.1283676703645,"y":321.52139461172743,"rotation":24},{"type":"buzzsawOnStick","x":503.0744849445325,"y":138.9540412044374,"rotation":24},{"type":"buzzsawOnStick","x":796.1965134706815,"y":144.02535657686212,"rotation":24},{"type":"spawnPoint","x":100,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room19.json b/gs/html5/vex5/assets/balance/rooms/room19.json new file mode 100644 index 0000000..d82ea8f --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room19.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"rope","x":205,"y":250,"height":450.00000000000006},{"type":"rope","x":351,"y":262,"height":450.00000000000006},{"type":"rope","x":502,"y":256,"height":450.00000000000006},{"type":"rope","x":653,"y":267,"height":450.00000000000006},{"type":"rope","x":798,"y":257,"height":450.00000000000006},{"type":"finishPortal","x":925.0079239302695,"y":324.56418383518223},{"type":"basicBlock","x":98,"y":302,"width":99,"height":99},{"type":"checkpoint","x":97,"y":219},{"type":"spike30x","x":195,"y":59,"rotation":-180},{"type":"spike30x","x":490,"y":58,"rotation":-180},{"type":"spike30x","x":782,"y":58,"rotation":-180},{"type":"spike30x","x":804,"y":56,"rotation":-180},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":492,"y":442,"rotation":0},{"type":"spike30x","x":785,"y":442,"rotation":0},{"type":"spike30x","x":840,"y":444,"rotation":0},{"type":"bouncingBuzzsaw","x":202.3367697594502,"y":128.659793814433,"width":70},{"type":"bouncingBuzzsaw","x":348.59106529209623,"y":248.52233676975948,"width":70},{"type":"bouncingBuzzsaw","x":500.3436426116839,"y":109.96563573883162,"width":70},{"type":"bouncingBuzzsaw","x":649.8969072164949,"y":278.213058419244,"width":70},{"type":"bouncingBuzzsaw","x":795.0515463917526,"y":106.66666666666667,"width":70},{"type":"spawnPoint","x":100,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room20.json b/gs/html5/vex5/assets/balance/rooms/room20.json new file mode 100644 index 0000000..5426627 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room20.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"rope","x":205,"y":250,"height":450.00000000000006},{"type":"rope","x":729.0721649484536,"y":238.62542955326464,"height":450.00000000000006},{"type":"finishPortal","x":925.0079239302695,"y":324.56418383518223},{"type":"basicBlock","x":98,"y":302,"width":99,"height":99},{"type":"checkpoint","x":97,"y":219},{"type":"spike30x","x":195,"y":59,"rotation":-180},{"type":"spike30x","x":490,"y":58,"rotation":-180},{"type":"spike30x","x":782,"y":58,"rotation":-180},{"type":"spike30x","x":804,"y":56,"rotation":-180},{"type":"spike30x","x":196,"y":441,"rotation":0},{"type":"spike30x","x":492,"y":442,"rotation":0},{"type":"spike30x","x":785,"y":442,"rotation":0},{"type":"spike30x","x":840,"y":444,"rotation":0},{"type":"pole","x":381.5807560137457,"y":327.69759450171824},{"type":"pole","x":524.5360824742269,"y":276.0137457044674},{"type":"bouncingBuzzsaw","x":272.7147766323024,"y":116.56357388316152,"width":70},{"type":"bouncingBuzzsaw","x":447.56013745704473,"y":122.0618556701031,"width":40},{"type":"bouncingBuzzsaw","x":607.0103092783505,"y":135.2577319587629,"width":40},{"type":"bouncingBuzzsaw","x":829.1408934707905,"y":178.14432989690724,"width":40},{"type":"bouncingBuzzsaw","x":724.6735395189004,"y":109.96563573883162,"width":70},{"type":"spawnPoint","x":100,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room21.json b/gs/html5/vex5/assets/balance/rooms/room21.json new file mode 100644 index 0000000..f33c07f --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room21.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"appearingBlock","x":176,"y":325,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":276.0137457044674,"y":274.9140893470791,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":774.1580756013747,"y":323.298969072165,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"basicBlock","x":74,"y":325,"width":50,"height":50},{"type":"checkpoint","x":73,"y":259},{"type":"finishPortal","x":872.0274914089348,"y":142.9553264604811},{"type":"spike30x","x":195.7388316151203,"y":442.0618556701031,"rotation":0},{"type":"spike30x","x":487.1477663230241,"y":443.1615120274914,"rotation":0},{"type":"spike30x","x":777.4570446735396,"y":442.0618556701031,"rotation":0},{"type":"spike30x","x":810.4467353951891,"y":440.9621993127148,"rotation":0},{"type":"appearingBlock","x":874.2268041237114,"y":272.7147766323024,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"pole","x":423.36769759450175,"y":227.62886597938146},{"type":"pole","x":569.6219931271478,"y":174.84536082474227},{"type":"spawnPoint","x":73.67697594501719,"y":224.32989690721652}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room22.json b/gs/html5/vex5/assets/balance/rooms/room22.json new file mode 100644 index 0000000..3900b7b --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room22.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"appearingBlock","x":176,"y":325,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":276.0137457044674,"y":274.9140893470791,"width":50,"height":50,"initVisible":0,"timeShow":60,"timeHide":60},{"type":"appearingBlock","x":774.1580756013747,"y":323.298969072165,"width":50,"height":50,"initVisible":1,"timeShow":60,"timeHide":60},{"type":"basicBlock","x":74,"y":325,"width":50,"height":50},{"type":"checkpoint","x":73,"y":259},{"type":"finishPortal","x":920.9508716323297,"y":170.3961965134707},{"type":"spike30x","x":195.7388316151203,"y":442.0618556701031,"rotation":0},{"type":"spike30x","x":487.1477663230241,"y":443.1615120274914,"rotation":0},{"type":"spike30x","x":777.4570446735396,"y":442.0618556701031,"rotation":0},{"type":"spike30x","x":810.4467353951891,"y":440.9621993127148,"rotation":0},{"type":"invisBlockDown","x":424.9762282091918,"y":323.5499207606973,"width":50,"height":50},{"type":"invisBlockDown","x":525.3882725832013,"y":272.8367670364501,"width":50,"height":50},{"type":"invisBlockDown","x":674.4849445324882,"y":321.52139461172743,"width":50,"height":50},{"type":"invisBlockDown","x":874.2947702060222,"y":272.8367670364501,"width":50,"height":50},{"type":"spawnPoint","x":73.67697594501719,"y":224.32989690721652}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room24.json b/gs/html5/vex5/assets/balance/rooms/room24.json new file mode 100644 index 0000000..d652793 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room24.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"checkpoint","x":73.67697594501719,"y":368.38487972508597},{"type":"finishPortal","x":914.9140893470791,"y":360.6872852233677},{"type":"speedBlockLeft","x":524.5360824742269,"y":426.6666666666667,"width":851,"height":50},{"type":"basicBlock","x":52.78350515463918,"y":435.46391752577324,"width":99,"height":70},{"type":"bouncingBuzzsaw","x":224.32989690721652,"y":122.0618556701031,"width":50},{"type":"bouncingBuzzsaw","x":324.3986254295533,"y":172.64604810996565,"width":50},{"type":"bouncingBuzzsaw","x":424.46735395189006,"y":224.32989690721652,"width":50},{"type":"bouncingBuzzsaw","x":525.6357388316152,"y":127.56013745704469,"width":50},{"type":"bouncingBuzzsaw","x":623.5051546391753,"y":224.32989690721652,"width":50},{"type":"bouncingBuzzsaw","x":724.6735395189004,"y":274.9140893470791,"width":50},{"type":"spawnPoint","x":70.37800687285224,"y":385.979381443299}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room25.json b/gs/html5/vex5/assets/balance/rooms/room25.json new file mode 100644 index 0000000..5980dd2 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room25.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"checkpoint","x":80,"y":423},{"type":"finishPortal","x":911.8225039619651,"y":228.20919175911254},{"type":"lockBlock","x":828.6529318541997,"y":197.7812995245642,"width":100,"height":100},{"type":"basicBlock","x":869.2234548335975,"y":296.1648177496038,"width":180,"height":99},{"type":"timedKey","x":177.4960380348653,"y":372.23454833597464},{"type":"sparkBlock","x":300.2218700475436,"y":399.61965134706816,"width":100,"height":100},{"type":"sparkBlock","x":400.63391442155313,"y":300.2218700475436,"width":100,"height":100},{"type":"sparkBlock","x":400.63391442155313,"y":399.61965134706816,"width":100,"height":100},{"type":"swimmingPool","x":699.8415213946117,"y":376.2916006339144,"width":500,"height":150},{"type":"basicBlock","x":828.6529318541997,"y":99.39778129952457,"width":99,"height":99},{"type":"pole","x":573.0586370839936,"y":224.15213946117274},{"type":"pole","x":674.4849445324882,"y":175.46751188589542},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room26.json b/gs/html5/vex5/assets/balance/rooms/room26.json new file mode 100644 index 0000000..168aea2 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room26.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"checkpoint","x":80,"y":423},{"type":"finishPortal","x":912.8367670364502,"y":415.8478605388273},{"type":"lockBlock","x":897.622820919176,"y":304.2789223454834,"width":100,"height":100},{"type":"basicBlock","x":276.8938193343899,"y":301.23613312202855,"width":50,"height":300},{"type":"timedKey","x":526.4025356576863,"y":186.6244057052298},{"type":"bounceBlock","x":226.18066561014263,"y":423.9619651347068,"width":50,"height":50},{"type":"basicBlock","x":424.9762282091918,"y":199.80982567353408,"width":50,"height":300},{"type":"basicBlock","x":576.1014263074485,"y":302.2503961965135,"width":50,"height":300},{"type":"basicBlock","x":725.1980982567354,"y":197.7812995245642,"width":50,"height":300},{"type":"basicBlock","x":825.6101426307449,"y":301.23613312202855,"width":50,"height":300},{"type":"glassBlock","x":350.93502377179084,"y":200.82408874801902,"width":100,"height":100},{"type":"glassBlock","x":349.92076069730587,"y":301.23613312202855,"width":100,"height":100},{"type":"glassBlock","x":650.1426307448495,"y":299.20760697305866,"width":100,"height":100},{"type":"glassBlock","x":650.1426307448495,"y":200.82408874801902,"width":100,"height":100},{"type":"glassBlock","x":901.6798732171158,"y":201.83835182250397,"width":100,"height":100},{"type":"bounceBlock","x":526.4025356576863,"y":424.9762282091918,"width":50,"height":50},{"type":"bounceBlock","x":774.8969889064977,"y":424.9762282091918,"width":50,"height":50},{"type":"buzzsawHorizontalFast","x":343.8351822503962,"y":301.23613312202855},{"type":"buzzsawHorizontalFast","x":651.1283676703645,"y":301.25039619651346},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room27.json b/gs/html5/vex5/assets/balance/rooms/room27.json new file mode 100644 index 0000000..9b1891d --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room27.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"checkpoint","x":80,"y":423},{"type":"finishPortal","x":917.1134020618557,"y":134.15807560137458},{"type":"basicBlock","x":276.8938193343899,"y":301.23613312202855,"width":50,"height":300},{"type":"bounceBlock","x":226.52920962199315,"y":425.5670103092784,"width":50,"height":50},{"type":"basicBlock","x":427.766323024055,"y":200.13745704467357,"width":50,"height":300},{"type":"basicBlock","x":525.6357388316152,"y":301.30584192439864,"width":50,"height":300},{"type":"glassBlock","x":350.93502377179084,"y":200.82408874801902,"width":100,"height":100},{"type":"basicBlock","x":900.618556701031,"y":300.2061855670103,"width":99,"height":300},{"type":"spike30x","x":696.0824742268042,"y":440.9621993127148,"rotation":0},{"type":"spike30x","x":718.0756013745705,"y":440.9621993127148,"rotation":0},{"type":"pole","x":719.1752577319588,"y":125.36082474226805},{"type":"glassBlock","x":350.79037800687286,"y":300.2061855670103,"width":100,"height":100},{"type":"buzzsawOnStick","x":428.8796680497925,"y":254.93775933609956,"rotation":64},{"type":"buzzsawOnStick","x":720.2749140893471,"y":271.6151202749141,"rotation":64},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room28.json b/gs/html5/vex5/assets/balance/rooms/room28.json new file mode 100644 index 0000000..5e1980c --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room28.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"basicBlock","x":99,"y":440,"width":99,"height":20},{"type":"bounceBlock","x":548,"y":440,"width":805,"height":20},{"type":"bounceBlock","x":452,"y":310,"width":805,"height":20},{"type":"finishPortal","x":920,"y":109},{"type":"checkpoint","x":94,"y":399},{"type":"basicBlock","x":199.80982567353408,"y":163.2963549920761,"width":99,"height":30},{"type":"pole","x":375.2773375594295,"y":125.76862123613313},{"type":"pole","x":524.3740095087163,"y":125.76862123613313},{"type":"pole","x":673.4706814580032,"y":125.76862123613313},{"type":"pole","x":820.5388272583201,"y":125.76862123613313},{"type":"bouncingBuzzsaw","x":455.4041204437401,"y":122.72583201267828,"width":50},{"type":"bouncingBuzzsaw","x":600.4437400950872,"y":122.72583201267828,"width":50},{"type":"bouncingBuzzsaw","x":751.5689381933439,"y":122.72583201267828,"width":50},{"type":"bouncingBuzzsaw","x":299.20760697305866,"y":120.6973058637084,"width":50},{"type":"reaper","x":520.3169572107765,"y":310.364500792393,"rotation":0,"width":194.52631578947367},{"type":"spawnPoint","x":109,"y":380}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room29.json b/gs/html5/vex5/assets/balance/rooms/room29.json new file mode 100644 index 0000000..12cb7ff --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room29.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":350,"width":50,"height":700},{"type":"basicBlock","x":975,"y":350,"width":50,"height":700},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":675,"width":1000,"height":50},{"type":"checkpoint","x":891.8213058419245,"y":119.86254295532648},{"type":"swimmingPool","x":473.9518900343643,"y":450.8591065292096,"width":950,"height":400},{"type":"basicBlock","x":500.3436426116839,"y":294.70790378006876,"width":99,"height":500},{"type":"basicBlock","x":500.3436426116839,"y":500.3436426116839,"width":700,"height":99},{"type":"basicBlock","x":150,"y":201,"width":200,"height":99},{"type":"basicBlock","x":851,"y":201,"width":200,"height":99},{"type":"finishPortal","x":151.75257731958763,"y":122.0618556701031},{"type":"buzzsawOnStick","x":497.04467353951895,"y":307.90378006872857,"rotation":104},{"type":"buzzsawOnStick","x":208.9347079037801,"y":347.491408934708,"rotation":104},{"type":"buzzsawOnStick","x":784.0549828178695,"y":340.89347079037805,"rotation":104},{"type":"buzzsawOnStick","x":505.84192439862545,"y":503.6426116838488,"rotation":104},{"type":"spawnPoint","x":835.7388316151204,"y":128.659793814433}],"width":2000,"height":1700} \ No newline at end of file diff --git a/gs/html5/vex5/assets/balance/rooms/room30.json b/gs/html5/vex5/assets/balance/rooms/room30.json new file mode 100644 index 0000000..3a21717 --- /dev/null +++ b/gs/html5/vex5/assets/balance/rooms/room30.json @@ -0,0 +1 @@ +{"objects":[{"type":"basicBlock","x":25,"y":250,"width":50,"height":500},{"type":"basicBlock","x":975,"y":250,"width":50,"height":500},{"type":"basicBlock","x":500,"y":25,"width":1000,"height":50},{"type":"basicBlock","x":500,"y":475,"width":1000,"height":50},{"type":"pushBlock","x":174,"y":325,"width":50,"height":50},{"type":"spike30x","x":196,"y":443,"rotation":0},{"type":"spike30x","x":488,"y":442,"rotation":0},{"type":"spike30x","x":780,"y":441,"rotation":0},{"type":"spike30x","x":813,"y":441,"rotation":0},{"type":"basicBlock","x":99,"y":401,"width":99,"height":99},{"type":"iceBlock","x":499,"y":376,"width":700,"height":50},{"type":"checkpoint","x":105,"y":325},{"type":"basicBlock","x":551.7591125198098,"y":234.2947702060222,"width":99,"height":70},{"type":"finishPortal","x":823.581616481775,"y":119.68304278922346},{"type":"buzzsawOnStick","x":553.7876386687798,"y":234.2947702060222,"rotation":72},{"type":"pole","x":673.4706814580032,"y":172.42472266244056},{"type":"bouncingBuzzsaw","x":276.8938193343899,"y":146.053882725832,"width":50},{"type":"bouncingBuzzsaw","x":323.5499207606973,"y":172.4247226624406,"width":50},{"type":"spawnPoint","x":81,"y":215}],"width":2000,"height":1500} \ No newline at end of file diff --git a/gs/html5/vex5/assets/blank b/gs/html5/vex5/assets/blank new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gs/html5/vex5/assets/blank @@ -0,0 +1 @@ + diff --git a/gs/html5/vex5/assets/coco/transition.json b/gs/html5/vex5/assets/coco/transition.json new file mode 100644 index 0000000..1b5dabe --- /dev/null +++ b/gs/html5/vex5/assets/coco/transition.json @@ -0,0 +1,481 @@ +{ + "hierarchy": { + "name": "transition", + "children": [ + { + "name": "base1" + }, + { + "name": "base2" + }, + { + "name": "base3" + }, + { + "name": "base4" + }, + { + "name": "base5" + }, + { + "name": "base6" + }, + { + "name": "base7" + }, + { + "name": "base8" + }, + { + "name": "base9" + }, + { + "name": "base10" + }, + { + "name": "base11" + }, + { + "name": "base12" + }, + { + "name": "base13" + }, + { + "name": "base14" + }, + { + "name": "base15" + }, + { + "name": "base16" + }, + { + "name": "base17" + }, + { + "name": "base18" + }, + { + "name": "base19" + }, + { + "name": "base20" + }, + { + "name": "base21" + }, + { + "name": "base22" + }, + { + "name": "base23" + }, + { + "name": "base24" + }, + { + "name": "base25" + }, + { + "name": "base26" + }, + { + "name": "base27" + }, + { + "name": "base28" + }, + { + "name": "base30" + }, + { + "name": "base31" + }, + { + "name": "base32" + }, + { + "name": "base33" + }, + { + "name": "base34" + }, + { + "name": "base35" + }, + { + "name": "base36" + }, + { + "name": "logo" + } + ], + "animations": [ + "transition_out", + "transition_in", + "transition_stand" + ] + }, + "properties": { + "base1": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -445, + "y": -287 + }, + "angle": 45, + "type": "sprite" + }, + "base2": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -297, + "y": -289 + }, + "angle": 45, + "type": "sprite" + }, + "base3": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -149, + "y": -288 + }, + "angle": 45, + "type": "sprite" + }, + "base4": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": -288 + }, + "angle": 45, + "type": "sprite" + }, + "base5": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 148, + "y": -289 + }, + "angle": 45, + "type": "sprite" + }, + "base6": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 296, + "y": -288 + }, + "angle": 45, + "type": "sprite" + }, + "base7": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 444, + "y": -288 + }, + "angle": 45, + "type": "sprite" + }, + "base8": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -445, + "y": -139 + }, + "angle": 45, + "type": "sprite" + }, + "base9": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -297, + "y": -140 + }, + "angle": 45, + "type": "sprite" + }, + "base10": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -149, + "y": -139 + }, + "angle": 45, + "type": "sprite" + }, + "base11": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": -139 + }, + "angle": 45, + "type": "sprite" + }, + "base12": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 148, + "y": -140 + }, + "angle": 45, + "type": "sprite" + }, + "base13": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 296, + "y": -139 + }, + "angle": 45, + "type": "sprite" + }, + "base14": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 444, + "y": -140 + }, + "angle": 45, + "type": "sprite" + }, + "base15": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -445, + "y": 8 + }, + "angle": 45, + "type": "sprite" + }, + "base16": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -297, + "y": 8 + }, + "angle": 45, + "type": "sprite" + }, + "base17": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -149, + "y": 9 + }, + "angle": 45, + "type": "sprite" + }, + "base18": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -1, + "y": 9 + }, + "angle": 45, + "type": "sprite" + }, + "base19": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 146, + "y": 8 + }, + "angle": 45, + "type": "sprite" + }, + "base20": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 294, + "y": 9 + }, + "angle": 45, + "type": "sprite" + }, + "base21": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 442, + "y": 9 + }, + "angle": 45, + "type": "sprite" + }, + "base22": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -446, + "y": 156 + }, + "angle": 45, + "type": "sprite" + }, + "base23": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -298, + "y": 156 + }, + "angle": 45, + "type": "sprite" + }, + "base24": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -150, + "y": 157 + }, + "angle": 45, + "type": "sprite" + }, + "base25": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -1, + "y": 157 + }, + "angle": 45, + "type": "sprite" + }, + "base26": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 147, + "y": 156 + }, + "angle": 45, + "type": "sprite" + }, + "base27": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 295, + "y": 157 + }, + "angle": 45, + "type": "sprite" + }, + "base28": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 443, + "y": 155 + }, + "angle": 45, + "type": "sprite" + }, + "base30": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -446, + "y": 306 + }, + "angle": 45, + "type": "sprite" + }, + "base31": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -297, + "y": 305 + }, + "angle": 45, + "type": "sprite" + }, + "base32": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": -149, + "y": 306 + }, + "angle": 45, + "type": "sprite" + }, + "base33": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": 306 + }, + "angle": 45, + "type": "sprite" + }, + "base34": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 148, + "y": 305 + }, + "angle": 45, + "type": "sprite" + }, + "base35": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 297, + "y": 306 + }, + "angle": 45, + "type": "sprite" + }, + "base36": { + "file": "transition_asset.png", + "image": "SIMPLE", + "position": { + "x": 445, + "y": 304 + }, + "angle": 45, + "type": "sprite" + }, + "logo": { + "file": "mm_logo.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": 0 + }, + "type": "sprite" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/coco/transition/transition_in.json b/gs/html5/vex5/assets/coco/transition/transition_in.json new file mode 100644 index 0000000..689bd64 --- /dev/null +++ b/gs/html5/vex5/assets/coco/transition/transition_in.json @@ -0,0 +1,631 @@ +{ + "name": "transition_in", + "speed": 1, + "mode": "normal", + "data": { + "base1": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 1 + } + ] + }, + "base2": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 0 + }, + { + "frame": 250, + "value": 1 + } + ] + }, + "base3": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base4": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base5": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base6": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 625, + "value": 0 + }, + { + "frame": 750, + "value": 1 + } + ] + }, + "base7": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base8": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 0 + }, + { + "frame": 250, + "value": 1 + } + ] + }, + "base9": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base10": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base11": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base12": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 625, + "value": 0 + }, + { + "frame": 750, + "value": 1 + } + ] + }, + "base13": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base14": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base15": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base16": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base17": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base18": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 625, + "value": 0 + }, + { + "frame": 750, + "value": 1 + } + ] + }, + "base19": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base20": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base21": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base22": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base23": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base24": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 625, + "value": 0 + }, + { + "frame": 750, + "value": 1 + } + ] + }, + "base25": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base26": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base27": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base28": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 0 + }, + { + "frame": 250, + "value": 1 + } + ] + }, + "base30": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base31": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 625, + "value": 0 + }, + { + "frame": 750, + "value": 1 + } + ] + }, + "base32": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 500, + "value": 0 + }, + { + "frame": 625, + "value": 1 + } + ] + }, + "base33": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 375, + "value": 0 + }, + { + "frame": 500, + "value": 1 + } + ] + }, + "base34": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 250, + "value": 0 + }, + { + "frame": 375, + "value": 1 + } + ] + }, + "base35": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 0 + }, + { + "frame": 250, + "value": 1 + } + ] + }, + "base36": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 0, + "value": 0 + }, + { + "frame": 125, + "value": 1 + } + ] + }, + "logo": { + "scaleX": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 700, + "value": 0 + }, + { + "frame": 850, + "value": 1.2 + }, + { + "frame": 975, + "value": 0.9 + }, + { + "frame": 1100, + "value": 1 + } + ], + "scaleY": [ + { + "frame": 0, + "value": 0 + }, + { + "frame": 700, + "value": 0 + }, + { + "frame": 850, + "value": 1.2 + }, + { + "frame": 975, + "value": 0.9 + }, + { + "frame": 1100, + "value": 1 + } + ], + "angle": [ + { + "frame": 700, + "value": -10 + }, + { + "frame": 900, + "value": 6 + }, + { + "frame": 975, + "value": -3 + }, + { + "frame": 1100, + "value": 0 + } + ] + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/coco/transition/transition_out.json b/gs/html5/vex5/assets/coco/transition/transition_out.json new file mode 100644 index 0000000..cfb8869 --- /dev/null +++ b/gs/html5/vex5/assets/coco/transition/transition_out.json @@ -0,0 +1,583 @@ +{ + "name": "transition_out", + "speed": 1, + "mode": "normal", + "data": { + "base1": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 625, + "value": 1 + }, + { + "frame": 750, + "value": 0 + } + ] + }, + "base2": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 500, + "value": 1 + }, + { + "frame": 625, + "value": 0 + } + ] + }, + "base3": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base4": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base5": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base6": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 0 + } + ] + }, + "base7": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base8": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 500, + "value": 1 + }, + { + "frame": 625, + "value": 0 + } + ] + }, + "base9": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base10": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base11": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base12": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 0 + } + ] + }, + "base13": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base14": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base15": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base16": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base17": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base18": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 0 + } + ] + }, + "base19": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base20": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base21": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base22": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base23": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base24": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 0 + } + ] + }, + "base25": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base26": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base27": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base28": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 500, + "value": 1 + }, + { + "frame": 625, + "value": 0 + } + ] + }, + "base30": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base31": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 0 + } + ] + }, + "base32": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 125, + "value": 1 + }, + { + "frame": 250, + "value": 0 + } + ] + }, + "base33": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 250, + "value": 1 + }, + { + "frame": 375, + "value": 0 + } + ] + }, + "base34": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 375, + "value": 1 + }, + { + "frame": 500, + "value": 0 + } + ] + }, + "base35": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 500, + "value": 1 + }, + { + "frame": 625, + "value": 0 + } + ] + }, + "base36": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 625, + "value": 1 + }, + { + "frame": 750, + "value": 0 + } + ] + }, + "logo": { + "scaleX": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 50, + "value": 1.2 + }, + { + "frame": 175, + "value": 0 + } + ], + "scaleY": [ + { + "frame": 0, + "value": 1 + }, + { + "frame": 50, + "value": 1.2 + }, + { + "frame": 175, + "value": 0 + } + ], + "angle": [ + { + "frame": 0, + "value": 0 + } + ] + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/coco/transition/transition_stand.json b/gs/html5/vex5/assets/coco/transition/transition_stand.json new file mode 100644 index 0000000..66f4a9e --- /dev/null +++ b/gs/html5/vex5/assets/coco/transition/transition_stand.json @@ -0,0 +1,307 @@ +{ + "name": "transition_stand", + "speed": 1, + "mode": "normal", + "data": { + "base1": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base2": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base3": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base4": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base5": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base6": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base7": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base8": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base9": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base10": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base11": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base12": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base13": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base14": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base15": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base16": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base17": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base18": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base19": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base20": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base21": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base22": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base23": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base24": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base25": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base26": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base27": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base28": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base30": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base31": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base32": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base33": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base34": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base35": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "base36": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ] + }, + "logo": { + "scaleX": [ + { + "frame": 0, + "value": 1 + } + ], + "scaleY": [ + { + "frame": 0, + "value": 1 + } + ], + "angle": [ + { + "frame": 0, + "value": 0 + } + ] + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/css/app.css b/gs/html5/vex5/assets/css/app.css new file mode 100644 index 0000000..1429c5b --- /dev/null +++ b/gs/html5/vex5/assets/css/app.css @@ -0,0 +1,95 @@ +/*Stylesheet*/ +body, html { + width: 100%; + height: 100%; +} + +body { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-touch-callout: none; + -webkit-text-size-adjust: none; + -webkit-user-select: none; + margin: 0; + padding: 0; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + font-weight: normal; + color: #ccc; + background: #00517d; + position: relative; + overflow:hidden; +} +#orientation { + margin: 0 auto; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-image: url(../images/rotate.png); + background-repeat: no-repeat; + background-position: center; + background-color: rgb(0, 0, 0); + background-size:60%; + z-index: 999; + display: none; +} +#content { + height: 100%; +} + +#loader, +#loader:after { + border-radius: 50%; + width: 10em; + height: 10em; +} +#loader { + margin: 60px auto; + font-size: 10px; + position: absolute; + z-index: 99; + left: 50%; + top: 50%; + margin-left: -5em; + margin-top: -5em; + text-indent: -9999em; + border-top: 1.1em solid rgba(255, 255, 255, 0.2); + border-right: 1.1em solid rgba(255, 255, 255, 0.2); + border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); + border-left: 1.1em solid #ffffff; + -webkit-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); + -webkit-animation: load8 1.1s infinite linear; + animation: load8 1.1s infinite linear; +} +#selectmode { + margin: 60px auto; + font-size: 10px; + position: absolute; + z-index: 100; + left: 50%; + top: 50%; +} + +@-webkit-keyframes load8 { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes load8 { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} diff --git a/gs/html5/vex5/assets/css/milocha.css b/gs/html5/vex5/assets/css/milocha.css new file mode 100644 index 0000000..e420d4f --- /dev/null +++ b/gs/html5/vex5/assets/css/milocha.css @@ -0,0 +1,15 @@ +/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 14, 2018 */ + + + +@font-face { + font-family: 'milocha'; + src: url('../fonts/milocha/milocha.eot'); + src: url('../fonts/milocha/milocha.eot?#iefix') format('embedded-opentype'), + url('../fonts/milocha/milocha.woff') format('woff'), + url('../fonts/milocha/milocha.ttf') format('truetype'), + url('../fonts/milocha/milocha.svg#milocharegular') format('svg'); + font-weight: normal; + font-style: normal; + +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/filters/BlurX.js b/gs/html5/vex5/assets/filters/BlurX.js new file mode 100644 index 0000000..b8a8b15 --- /dev/null +++ b/gs/html5/vex5/assets/filters/BlurX.js @@ -0,0 +1,53 @@ +/** +* A horizontal blur filter by Mat Groves http://matgroves.com/ @Doormat23 +*/ +Phaser.Filter.BlurX = function (game) { + + Phaser.Filter.call(this, game); + + this.uniforms.blur = { type: '1f', value: 1 / 512 }; + + this.fragmentSrc = [ + + "precision mediump float;", + "varying vec2 vTextureCoord;", + "varying vec4 vColor;", + "uniform float blur;", + "uniform sampler2D uSampler;", + + "void main(void) {", + + "vec4 sum = vec4(0.0);", + + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;", + + "gl_FragColor = sum;", + + "}" + ]; + +}; + +Phaser.Filter.BlurX.prototype = Object.create(Phaser.Filter.prototype); +Phaser.Filter.BlurX.prototype.constructor = Phaser.Filter.BlurX; + +Object.defineProperty(Phaser.Filter.BlurX.prototype, 'blur', { + + get: function() { + return this.uniforms.blur.value / (1/7000); + }, + + set: function(value) { + this.dirty = true; + this.uniforms.blur.value = (1/7000) * value; + } + +}); diff --git a/gs/html5/vex5/assets/filters/BlurY.js b/gs/html5/vex5/assets/filters/BlurY.js new file mode 100644 index 0000000..9c7d7d5 --- /dev/null +++ b/gs/html5/vex5/assets/filters/BlurY.js @@ -0,0 +1,54 @@ +/** +* A vertical blur filter by Mat Groves http://matgroves.com/ @Doormat23 +*/ +Phaser.Filter.BlurY = function (game) { + + Phaser.Filter.call(this, game); + + this.uniforms.blur = { type: '1f', value: 1 / 512 }; + + this.fragmentSrc = [ + + "precision mediump float;", + "varying vec2 vTextureCoord;", + "varying vec4 vColor;", + "uniform float blur;", + "uniform sampler2D uSampler;", + + "void main(void) {", + + "vec4 sum = vec4(0.0);", + + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;", + + "gl_FragColor = sum;", + + "}" + + ]; + +}; + +Phaser.Filter.BlurY.prototype = Object.create(Phaser.Filter.prototype); +Phaser.Filter.BlurY.prototype.constructor = Phaser.Filter.BlurY; + +Object.defineProperty(Phaser.Filter.BlurY.prototype, 'blur', { + + get: function() { + return this.uniforms.blur.value / (1/7000); + }, + + set: function(value) { + this.dirty = true; + this.uniforms.blur.value = (1/7000) * value; + } + +}); diff --git a/gs/html5/vex5/assets/filters/ColorMatrixFilter.js b/gs/html5/vex5/assets/filters/ColorMatrixFilter.js new file mode 100644 index 0000000..564f719 --- /dev/null +++ b/gs/html5/vex5/assets/filters/ColorMatrixFilter.js @@ -0,0 +1,559 @@ +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + +/** + * The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA + * color and alpha values of every pixel on your displayObject to produce a result + * with a new set of RGBA color and alpha values. It's pretty powerful! + * + * @class ColorMatrixFilter + * @extends AbstractFilter + * @constructor + */ +PIXI.ColorMatrixFilter = function() +{ + PIXI.AbstractFilter.call( this ); + + this.passes = [this]; + + // set the uniforms + this.uniforms = { + m: { + type: '1fv', value: [ + 1, 0, 0, 0, 0, + 0, 1, 0, 0, 0, + 0, 0, 1, 0, 0, + 0, 0, 0, 1, 0 + ] + } + }; + + this.fragmentSrc = [ + 'precision mediump float;', + 'varying vec2 vTextureCoord;', + 'uniform float m[25];', + 'uniform sampler2D uSampler;', + + 'void main(void)', + '{', + '', + ' vec4 c = texture2D(uSampler, vTextureCoord);', + '', + ' gl_FragColor.r = (m[0] * c.r);', + ' gl_FragColor.r += (m[1] * c.g);', + ' gl_FragColor.r += (m[2] * c.b);', + ' gl_FragColor.r += (m[3] * c.a);', + ' gl_FragColor.r += m[4];', + ' gl_FragColor.g = (m[5] * c.r);', + ' gl_FragColor.g += (m[6] * c.g);', + ' gl_FragColor.g += (m[7] * c.b);', + ' gl_FragColor.g += (m[8] * c.a);', + ' gl_FragColor.g += m[9];', + ' gl_FragColor.b = (m[10] * c.r);', + ' gl_FragColor.b += (m[11] * c.g);', + ' gl_FragColor.b += (m[12] * c.b);', + ' gl_FragColor.b += (m[13] * c.a);', + ' gl_FragColor.b += m[14];', + ' gl_FragColor.a = (m[15] * c.r);', + ' gl_FragColor.a += (m[16] * c.g);', + ' gl_FragColor.a += (m[17] * c.b);', + ' gl_FragColor.a += (m[18] * c.a);', + ' gl_FragColor.a += m[19];', + '', + '}' + + ]; +}; + +PIXI.ColorMatrixFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); +PIXI.ColorMatrixFilter.prototype.constructor = PIXI.ColorMatrixFilter; +/** + * Transforms current matrix and set the new one + * + * @param matrix {number[]} (mat 5x4) + * @param multiply {boolean} if true, current matrix and matrix are multiplied. If false, just set the current matrix with @param matrix + */ +PIXI.ColorMatrixFilter.prototype._loadMatrix = function (matrix, multiply) +{ + multiply = !!multiply; + + var newMatrix = matrix; + + if (multiply) { + this._multiply(newMatrix, this.uniforms.m.value, matrix); + newMatrix = this._colorMatrix(newMatrix); + } + + // set the new matrix + this.uniforms.m.value = newMatrix; +}; + +/** + * Multiplies two mat5's + * + * @param out {number[]} (mat 5x4) the receiving matrix + * @param a {number[]} (mat 5x4) the first operand + * @param b {number[]} (mat 5x4) the second operand + * @returns out {number[]} (mat 5x4) + */ +PIXI.ColorMatrixFilter.prototype._multiply = function (out, a, b) +{ + + // Red Channel + out[0] = (a[0] * b[0]) + (a[1] * b[5]) + (a[2] * b[10]) + (a[3] * b[15]); + out[1] = (a[0] * b[1]) + (a[1] * b[6]) + (a[2] * b[11]) + (a[3] * b[16]); + out[2] = (a[0] * b[2]) + (a[1] * b[7]) + (a[2] * b[12]) + (a[3] * b[17]); + out[3] = (a[0] * b[3]) + (a[1] * b[8]) + (a[2] * b[13]) + (a[3] * b[18]); + out[4] = (a[0] * b[4]) + (a[1] * b[9]) + (a[2] * b[14]) + (a[3] * b[19]); + + // Green Channel + out[5] = (a[5] * b[0]) + (a[6] * b[5]) + (a[7] * b[10]) + (a[8] * b[15]); + out[6] = (a[5] * b[1]) + (a[6] * b[6]) + (a[7] * b[11]) + (a[8] * b[16]); + out[7] = (a[5] * b[2]) + (a[6] * b[7]) + (a[7] * b[12]) + (a[8] * b[17]); + out[8] = (a[5] * b[3]) + (a[6] * b[8]) + (a[7] * b[13]) + (a[8] * b[18]); + out[9] = (a[5] * b[4]) + (a[6] * b[9]) + (a[7] * b[14]) + (a[8] * b[19]); + + // Blue Channel + out[10] = (a[10] * b[0]) + (a[11] * b[5]) + (a[12] * b[10]) + (a[13] * b[15]); + out[11] = (a[10] * b[1]) + (a[11] * b[6]) + (a[12] * b[11]) + (a[13] * b[16]); + out[12] = (a[10] * b[2]) + (a[11] * b[7]) + (a[12] * b[12]) + (a[13] * b[17]); + out[13] = (a[10] * b[3]) + (a[11] * b[8]) + (a[12] * b[13]) + (a[13] * b[18]); + out[14] = (a[10] * b[4]) + (a[11] * b[9]) + (a[12] * b[14]) + (a[13] * b[19]); + + // Alpha Channel + out[15] = (a[15] * b[0]) + (a[16] * b[5]) + (a[17] * b[10]) + (a[18] * b[15]); + out[16] = (a[15] * b[1]) + (a[16] * b[6]) + (a[17] * b[11]) + (a[18] * b[16]); + out[17] = (a[15] * b[2]) + (a[16] * b[7]) + (a[17] * b[12]) + (a[18] * b[17]); + out[18] = (a[15] * b[3]) + (a[16] * b[8]) + (a[17] * b[13]) + (a[18] * b[18]); + out[19] = (a[15] * b[4]) + (a[16] * b[9]) + (a[17] * b[14]) + (a[18] * b[19]); + + return out; +}; + +/** + * Create a Float32 Array and normalize the offset component to 0-1 + * + * @param matrix {number[]} (mat 5x4) + * @return m {number[]} (mat 5x4) with all values between 0-1 + */ +PIXI.ColorMatrixFilter.prototype._colorMatrix = function (matrix) +{ + // Create a Float32 Array and normalize the offset component to 0-1 + var m = new Float32Array(matrix); + m[4] /= 255; + m[9] /= 255; + m[14] /= 255; + m[19] /= 255; + + return m; +}; + +/** + * Adjusts brightness + * + * @param b {number} value of the brigthness (0 is black) + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.brightness = function (b, multiply) +{ + var matrix = [ + b, 0, 0, 0, 0, + 0, b, 0, 0, 0, + 0, 0, b, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Set the matrices in grey scales + * + * @param scale {number} value of the grey (0 is black) + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.greyscale = function (scale, multiply) +{ + var matrix = [ + scale, scale, scale, 0, 0, + scale, scale, scale, 0, 0, + scale, scale, scale, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; +//Americanized alias +PIXI.ColorMatrixFilter.prototype.grayscale = PIXI.ColorMatrixFilter.prototype.greyscale; + +/** + * Set the black and white matrice + * Multiply the current matrix + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.blackAndWhite = function (multiply) +{ + var matrix = [ + 0.3, 0.6, 0.1, 0, 0, + 0.3, 0.6, 0.1, 0, 0, + 0.3, 0.6, 0.1, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Set the hue property of the color + * + * @param rotation {number} in degrees + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.hue = function (rotation, multiply) +{ + rotation = (rotation || 0) / 180 * Math.PI; + var cos = Math.cos(rotation), + sin = Math.sin(rotation); + + // luminanceRed, luminanceGreen, luminanceBlue + var lumR = 0.213, // or 0.3086 + lumG = 0.715, // or 0.6094 + lumB = 0.072; // or 0.0820 + + var matrix = [ + lumR + cos * (1 - lumR) + sin * (-lumR), lumG + cos * (-lumG) + sin * (-lumG), lumB + cos * (-lumB) + sin * (1 - lumB), 0, 0, + lumR + cos * (-lumR) + sin * (0.143), lumG + cos * (1 - lumG) + sin * (0.140), lumB + cos * (-lumB) + sin * (-0.283), 0, 0, + lumR + cos * (-lumR) + sin * (-(1 - lumR)), lumG + cos * (-lumG) + sin * (lumG), lumB + cos * (1 - lumB) + sin * (lumB), 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + + +/** + * Set the contrast matrix, increase the separation between dark and bright + * Increase contrast : shadows darker and highlights brighter + * Decrease contrast : bring the shadows up and the highlights down + * + * @param amount {number} value of the contrast + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.contrast = function (amount, multiply) +{ + var v = (amount || 0) + 1; + var o = -128 * (v - 1); + + var matrix = [ + v, 0, 0, 0, o, + 0, v, 0, 0, o, + 0, 0, v, 0, o, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Set the saturation matrix, increase the separation between colors + * Increase saturation : increase contrast, brightness, and sharpness + * + * @param amount {number} + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.saturate = function (amount, multiply) +{ + var x = (amount || 0) * 2 / 3 + 1; + var y = ((x - 1) * -0.5); + + var matrix = [ + x, y, y, 0, 0, + y, x, y, 0, 0, + y, y, x, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Desaturate image (remove color) + * + * Call the saturate function + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.desaturate = function (multiply) // jshint unused:false +{ + this.saturate(-1); +}; + +/** + * Negative image (inverse of classic rgb matrix) + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.negative = function (multiply) +{ + var matrix = [ + 0, 1, 1, 0, 0, + 1, 0, 1, 0, 0, + 1, 1, 0, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Sepia image + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.sepia = function (multiply) +{ + var matrix = [ + 0.393, 0.7689999, 0.18899999, 0, 0, + 0.349, 0.6859999, 0.16799999, 0, 0, + 0.272, 0.5339999, 0.13099999, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Color motion picture process invented in 1916 (thanks Dominic Szablewski) + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.technicolor = function (multiply) +{ + var matrix = [ + 1.9125277891456083, -0.8545344976951645, -0.09155508482755585, 0, 11.793603434377337, + -0.3087833385928097, 1.7658908555458428, -0.10601743074722245, 0, -70.35205161461398, + -0.231103377548616, -0.7501899197440212, 1.847597816108189, 0, 30.950940869491138, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Polaroid filter + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.polaroid = function (multiply) +{ + var matrix = [ + 1.438, -0.062, -0.062, 0, 0, + -0.122, 1.378, -0.122, 0, 0, + -0.016, -0.016, 1.483, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Filter who transforms : Red -> Blue and Blue -> Red + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.toBGR = function (multiply) +{ + var matrix = [ + 0, 0, 1, 0, 0, + 0, 1, 0, 0, 0, + 1, 0, 0, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Color reversal film introduced by Eastman Kodak in 1935. (thanks Dominic Szablewski) + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.kodachrome = function (multiply) +{ + var matrix = [ + 1.1285582396593525, -0.3967382283601348, -0.03992559172921793, 0, 63.72958762196502, + -0.16404339962244616, 1.0835251566291304, -0.05498805115633132, 0, 24.732407896706203, + -0.16786010706155763, -0.5603416277695248, 1.6014850761964943, 0, 35.62982807460946, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/** + * Brown delicious browni filter (thanks Dominic Szablewski) + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.browni = function (multiply) +{ + var matrix = [ + 0.5997023498159715, 0.34553243048391263, -0.2708298674538042, 0, 47.43192855600873, + -0.037703249837783157, 0.8609577587992641, 0.15059552388459913, 0, -36.96841498319127, + 0.24113635128153335, -0.07441037908422492, 0.44972182064877153, 0, -7.562075277591283, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/* + * Vintage filter (thanks Dominic Szablewski) + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.vintage = function (multiply) +{ + var matrix = [ + 0.6279345635605994, 0.3202183420819367, -0.03965408211312453, 0, 9.651285835294123, + 0.02578397704808868, 0.6441188644374771, 0.03259127616149294, 0, 7.462829176470591, + 0.0466055556782719, -0.0851232987247891, 0.5241648018700465, 0, 5.159190588235296, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/* + * We don't know exactly what it does, kind of gradient map, but funny to play with! + * + * @param desaturation {number} + * @param toned {number} + * @param lightColor {string} (example : "0xFFE580") + * @param darkColor {string} (example : "0xFFE580") + * + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.colorTone = function (desaturation, toned, lightColor, darkColor, multiply) +{ + desaturation = desaturation || 0.2; + toned = toned || 0.15; + lightColor = lightColor || 0xFFE580; + darkColor = darkColor || 0x338000; + + var lR = ((lightColor >> 16) & 0xFF) / 255; + var lG = ((lightColor >> 8) & 0xFF) / 255; + var lB = (lightColor & 0xFF) / 255; + + var dR = ((darkColor >> 16) & 0xFF) / 255; + var dG = ((darkColor >> 8) & 0xFF) / 255; + var dB = (darkColor & 0xFF) / 255; + + var matrix = [ + 0.3, 0.59, 0.11, 0, 0, + lR, lG, lB, desaturation, 0, + dR, dG, dB, toned, 0, + lR - dR, lG - dG, lB - dB, 0, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/* + * Night effect + * + * @param intensity {number} + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.night = function (intensity, multiply) +{ + intensity = intensity || 0.1; + var matrix = [ + intensity * ( -2.0), -intensity, 0, 0, 0, + -intensity, 0, intensity, 0, 0, + 0, intensity, intensity * 2.0, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + + +/* + * Predator effect + * + * Erase the current matrix by setting a new indepent one + * + * @param amount {number} how much the predator feels his future victim + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.predator = function (amount, multiply) +{ + var matrix = [ + 11.224130630493164 * amount, -4.794486999511719 * amount, -2.8746118545532227 * amount, 0 * amount, 0.40342438220977783 * amount, + -3.6330697536468506 * amount, 9.193157196044922 * amount, -2.951810836791992 * amount, 0 * amount, -1.316135048866272 * amount, + -3.2184197902679443 * amount, -4.2375030517578125 * amount, 7.476448059082031 * amount, 0 * amount, 0.8044459223747253 * amount, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/* + * LSD effect + * + * Multiply the current matrix + * + * @param amount {number} How crazy is your effect + * @param multiply {boolean} refer to ._loadMatrix() method + */ +PIXI.ColorMatrixFilter.prototype.lsd = function (multiply) +{ + var matrix = [ + 2, -0.4, 0.5, 0, 0, + -0.5, 2, -0.4, 0, 0, + -0.4, -0.5, 3, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, multiply); +}; + +/* + * Erase the current matrix by setting the default one + * + */ +PIXI.ColorMatrixFilter.prototype.reset = function () +{ + var matrix = [ + 1, 0, 0, 0, 0, + 0, 1, 0, 0, 0, + 0, 0, 1, 0, 0, + 0, 0, 0, 1, 0 + ]; + + this._loadMatrix(matrix, false); +}; + + +Object.defineProperties(PIXI.ColorMatrixFilter.prototype, { + /** + * Sets the matrix of the color matrix filter + * + * @member {number[]} + * @memberof PIXI.filters.ColorMatrixFilter# + * @default [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0] + */ + matrix: { + get: function () + { + return this.uniforms.m.value; + }, + set: function (value) + { + this.uniforms.m.value = value; + } + } +}); diff --git a/gs/html5/vex5/assets/filters/Gray.js b/gs/html5/vex5/assets/filters/Gray.js new file mode 100644 index 0000000..9133697 --- /dev/null +++ b/gs/html5/vex5/assets/filters/Gray.js @@ -0,0 +1,50 @@ +/** +* @author Mat Groves http://matgroves.com/ @Doormat23 +*/ + +/** +* This turns your displayObjects to grayscale. +* @class Gray +* @contructor +*/ +Phaser.Filter.Gray = function (game) { + + Phaser.Filter.call(this, game); + + this.uniforms.gray = { type: '1f', value: 1.0 }; + + this.fragmentSrc = [ + + "precision mediump float;", + + "varying vec2 vTextureCoord;", + "varying vec4 vColor;", + "uniform sampler2D uSampler;", + "uniform float gray;", + + "void main(void) {", + "gl_FragColor = texture2D(uSampler, vTextureCoord);", + "gl_FragColor.rgb = mix(gl_FragColor.rgb, vec3(0.2126 * gl_FragColor.r + 0.7152 * gl_FragColor.g + 0.0722 * gl_FragColor.b), gray);", + "}" + ]; + +}; + +Phaser.Filter.Gray.prototype = Object.create(Phaser.Filter.prototype); +Phaser.Filter.Gray.prototype.constructor = Phaser.Filter.Gray; + +/** +* The strength of the gray. 1 will make the object black and white, 0 will make the object its normal color +* @property gray +*/ +Object.defineProperty(Phaser.Filter.Gray.prototype, 'gray', { + + get: function() { + return this.uniforms.gray.value; + }, + + set: function(value) { + this.uniforms.gray.value = value; + } + +}); diff --git a/gs/html5/vex5/assets/fonts/milocha/milocha.woff b/gs/html5/vex5/assets/fonts/milocha/milocha.woff new file mode 100644 index 0000000..322be53 Binary files /dev/null and b/gs/html5/vex5/assets/fonts/milocha/milocha.woff differ diff --git a/gs/html5/vex5/assets/images/L_R-circle-button.png b/gs/html5/vex5/assets/images/L_R-circle-button.png new file mode 100644 index 0000000..384998b Binary files /dev/null and b/gs/html5/vex5/assets/images/L_R-circle-button.png differ diff --git a/gs/html5/vex5/assets/images/blank b/gs/html5/vex5/assets/images/blank new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gs/html5/vex5/assets/images/blank @@ -0,0 +1 @@ + diff --git a/gs/html5/vex5/assets/images/blocks/arrow-animation.png b/gs/html5/vex5/assets/images/blocks/arrow-animation.png new file mode 100644 index 0000000..163ce01 Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/arrow-animation.png differ diff --git a/gs/html5/vex5/assets/images/blocks/basic-block-colors.png b/gs/html5/vex5/assets/images/blocks/basic-block-colors.png new file mode 100644 index 0000000..1743baf Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/basic-block-colors.png differ diff --git a/gs/html5/vex5/assets/images/blocks/blocked-wall.png b/gs/html5/vex5/assets/images/blocks/blocked-wall.png new file mode 100644 index 0000000..80f5eea Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/blocked-wall.png differ diff --git a/gs/html5/vex5/assets/images/blocks/box_1.png b/gs/html5/vex5/assets/images/blocks/box_1.png new file mode 100644 index 0000000..290b2be Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/box_1.png differ diff --git a/gs/html5/vex5/assets/images/blocks/cable.png b/gs/html5/vex5/assets/images/blocks/cable.png new file mode 100644 index 0000000..00d7521 Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/cable.png differ diff --git a/gs/html5/vex5/assets/images/blocks/elevator_down.png b/gs/html5/vex5/assets/images/blocks/elevator_down.png new file mode 100644 index 0000000..385ec87 Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/elevator_down.png differ diff --git a/gs/html5/vex5/assets/images/blocks/elevator_up.png b/gs/html5/vex5/assets/images/blocks/elevator_up.png new file mode 100644 index 0000000..b2a11d6 Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/elevator_up.png differ diff --git a/gs/html5/vex5/assets/images/blocks/left-slope.png b/gs/html5/vex5/assets/images/blocks/left-slope.png new file mode 100644 index 0000000..d5dd91c Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/left-slope.png differ diff --git a/gs/html5/vex5/assets/images/blocks/slope-colors.png b/gs/html5/vex5/assets/images/blocks/slope-colors.png new file mode 100644 index 0000000..08a7f17 Binary files /dev/null and b/gs/html5/vex5/assets/images/blocks/slope-colors.png differ diff --git a/gs/html5/vex5/assets/images/brand-logo.png b/gs/html5/vex5/assets/images/brand-logo.png new file mode 100644 index 0000000..4a96abf Binary files /dev/null and b/gs/html5/vex5/assets/images/brand-logo.png differ diff --git a/gs/html5/vex5/assets/images/breathe-block.png b/gs/html5/vex5/assets/images/breathe-block.png new file mode 100644 index 0000000..a2cc899 Binary files /dev/null and b/gs/html5/vex5/assets/images/breathe-block.png differ diff --git a/gs/html5/vex5/assets/images/btnBothPressed.png b/gs/html5/vex5/assets/images/btnBothPressed.png new file mode 100644 index 0000000..42dd5bd Binary files /dev/null and b/gs/html5/vex5/assets/images/btnBothPressed.png differ diff --git a/gs/html5/vex5/assets/images/btnLeftPressed.png b/gs/html5/vex5/assets/images/btnLeftPressed.png new file mode 100644 index 0000000..b0eb143 Binary files /dev/null and b/gs/html5/vex5/assets/images/btnLeftPressed.png differ diff --git a/gs/html5/vex5/assets/images/btnNonePressed.png b/gs/html5/vex5/assets/images/btnNonePressed.png new file mode 100644 index 0000000..87b5cbe Binary files /dev/null and b/gs/html5/vex5/assets/images/btnNonePressed.png differ diff --git a/gs/html5/vex5/assets/images/btnRightPressed.png b/gs/html5/vex5/assets/images/btnRightPressed.png new file mode 100644 index 0000000..9d8dbb7 Binary files /dev/null and b/gs/html5/vex5/assets/images/btnRightPressed.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/achievement-progress-bar.png b/gs/html5/vex5/assets/images/buttons/achievements/achievement-progress-bar.png new file mode 100644 index 0000000..5a44285 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/achievement-progress-bar.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act1-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act1-achievement.png new file mode 100644 index 0000000..e00f78d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act1-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act10-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act10-achievement.png new file mode 100644 index 0000000..66242b5 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act10-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act2-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act2-achievement.png new file mode 100644 index 0000000..bf8f5a3 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act2-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act3-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act3-achievement.png new file mode 100644 index 0000000..09dc8cf Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act3-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act4-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act4-achievement.png new file mode 100644 index 0000000..c037400 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act4-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act5-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act5-achievement.png new file mode 100644 index 0000000..36436d1 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act5-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act6-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act6-achievement.png new file mode 100644 index 0000000..641fb37 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act6-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act7-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act7-achievement.png new file mode 100644 index 0000000..b5c424d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act7-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act8-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act8-achievement.png new file mode 100644 index 0000000..f4efc59 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act8-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/act9-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/act9-achievement.png new file mode 100644 index 0000000..0eb475e Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/act9-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome1-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome1-achievement.png new file mode 100644 index 0000000..15f2d34 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome1-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome2-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome2-achievement.png new file mode 100644 index 0000000..844c4b6 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome2-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome3-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome3-achievement.png new file mode 100644 index 0000000..5fe94de Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome3-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome4-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome4-achievement.png new file mode 100644 index 0000000..484534b Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome4-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome5-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome5-achievement.png new file mode 100644 index 0000000..494b621 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome5-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome6-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome6-achievement.png new file mode 100644 index 0000000..a4ee638 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome6-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/awesome7-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/awesome7-achievement.png new file mode 100644 index 0000000..ef1fef6 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/awesome7-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge1-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge1-achievement.png new file mode 100644 index 0000000..f79c79e Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge1-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge2-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge2-achievement.png new file mode 100644 index 0000000..f79c79e Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge2-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge3-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge3-achievement.png new file mode 100644 index 0000000..798bb67 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge3-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge4-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge4-achievement.png new file mode 100644 index 0000000..28afeae Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge4-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge5-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge5-achievement.png new file mode 100644 index 0000000..fa43ce7 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge5-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge6-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge6-achievement.png new file mode 100644 index 0000000..328a681 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge6-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge7-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge7-achievement.png new file mode 100644 index 0000000..937993f Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge7-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge8-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge8-achievement.png new file mode 100644 index 0000000..f7b603d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge8-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/challenge9-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/challenge9-achievement.png new file mode 100644 index 0000000..a480dcc Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/challenge9-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/complete1-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/complete1-achievement.png new file mode 100644 index 0000000..b800840 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/complete1-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/complete2-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/complete2-achievement.png new file mode 100644 index 0000000..484534b Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/complete2-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/complete3-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/complete3-achievement.png new file mode 100644 index 0000000..0aa8792 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/complete3-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/complete4-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/complete4-achievement.png new file mode 100644 index 0000000..1e4427a Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/complete4-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star1-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star1-achievement.png new file mode 100644 index 0000000..5096bc6 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star1-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star10-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star10-achievement.png new file mode 100644 index 0000000..c11d671 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star10-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star2-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star2-achievement.png new file mode 100644 index 0000000..9a41204 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star2-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star3-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star3-achievement.png new file mode 100644 index 0000000..e706cf9 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star3-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star4-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star4-achievement.png new file mode 100644 index 0000000..e360b24 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star4-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star5-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star5-achievement.png new file mode 100644 index 0000000..bd3dea4 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star5-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star6-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star6-achievement.png new file mode 100644 index 0000000..97e81f0 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star6-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star7-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star7-achievement.png new file mode 100644 index 0000000..06ad5ff Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star7-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star8-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star8-achievement.png new file mode 100644 index 0000000..06381ae Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star8-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/achievements/star9-achievement.png b/gs/html5/vex5/assets/images/buttons/achievements/star9-achievement.png new file mode 100644 index 0000000..272d92e Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/achievements/star9-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act-select-logo.png b/gs/html5/vex5/assets/images/buttons/act-select-logo.png new file mode 100644 index 0000000..e7314d5 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act-select-logo.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act1-button.png b/gs/html5/vex5/assets/images/buttons/act1-button.png new file mode 100644 index 0000000..a91ee3f Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act1-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act10-button.png b/gs/html5/vex5/assets/images/buttons/act10-button.png new file mode 100644 index 0000000..412fa29 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act10-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act2-button.png b/gs/html5/vex5/assets/images/buttons/act2-button.png new file mode 100644 index 0000000..3baf6b3 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act2-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act3-button.png b/gs/html5/vex5/assets/images/buttons/act3-button.png new file mode 100644 index 0000000..80ed75d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act3-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act4-button.png b/gs/html5/vex5/assets/images/buttons/act4-button.png new file mode 100644 index 0000000..a855de7 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act4-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act5-button.png b/gs/html5/vex5/assets/images/buttons/act5-button.png new file mode 100644 index 0000000..9abfec3 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act5-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act6-button.png b/gs/html5/vex5/assets/images/buttons/act6-button.png new file mode 100644 index 0000000..e7a26be Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act6-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act7-button.png b/gs/html5/vex5/assets/images/buttons/act7-button.png new file mode 100644 index 0000000..018f332 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act7-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act8-button.png b/gs/html5/vex5/assets/images/buttons/act8-button.png new file mode 100644 index 0000000..4559550 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act8-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/act9-button.png b/gs/html5/vex5/assets/images/buttons/act9-button.png new file mode 100644 index 0000000..1941079 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/act9-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/awesome-stuff-button.png b/gs/html5/vex5/assets/images/buttons/awesome-stuff-button.png new file mode 100644 index 0000000..53d6459 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/awesome-stuff-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/back-button.png b/gs/html5/vex5/assets/images/buttons/back-button.png new file mode 100644 index 0000000..9200fbd Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/back-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/bottom-label-bg.png b/gs/html5/vex5/assets/images/buttons/bottom-label-bg.png new file mode 100644 index 0000000..dde6c48 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/bottom-label-bg.png differ diff --git a/gs/html5/vex5/assets/images/buttons/challenge-acts-button.png b/gs/html5/vex5/assets/images/buttons/challenge-acts-button.png new file mode 100644 index 0000000..f508973 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/challenge-acts-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/clear-all-button.png b/gs/html5/vex5/assets/images/buttons/clear-all-button.png new file mode 100644 index 0000000..db2a79d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/clear-all-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/close-button.png b/gs/html5/vex5/assets/images/buttons/close-button.png new file mode 100644 index 0000000..d94c767 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/close-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/completion-button.png b/gs/html5/vex5/assets/images/buttons/completion-button.png new file mode 100644 index 0000000..242527a Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/completion-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-achievement.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-achievement.png new file mode 100644 index 0000000..07fe096 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-achievement.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-leaderboard.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-leaderboard.png new file mode 100644 index 0000000..9ffa430 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-leaderboard.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-more-games.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-more-games.png new file mode 100644 index 0000000..119d448 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-more-games.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-options.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-options.png new file mode 100644 index 0000000..ccb2a89 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-options.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-play-game.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-play-game.png new file mode 100644 index 0000000..4db5693 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-play-game.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mainmenu/menu-trophy.png b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-trophy.png new file mode 100644 index 0000000..882629d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mainmenu/menu-trophy.png differ diff --git a/gs/html5/vex5/assets/images/buttons/mute-button.png b/gs/html5/vex5/assets/images/buttons/mute-button.png new file mode 100644 index 0000000..2fc3b17 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/mute-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/options-logo.png b/gs/html5/vex5/assets/images/buttons/options-logo.png new file mode 100644 index 0000000..dfceeb5 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/options-logo.png differ diff --git a/gs/html5/vex5/assets/images/buttons/options-noclear.png b/gs/html5/vex5/assets/images/buttons/options-noclear.png new file mode 100644 index 0000000..8491192 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/options-noclear.png differ diff --git a/gs/html5/vex5/assets/images/buttons/pause-button.png b/gs/html5/vex5/assets/images/buttons/pause-button.png new file mode 100644 index 0000000..36e1937 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/pause-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/quality-button.png b/gs/html5/vex5/assets/images/buttons/quality-button.png new file mode 100644 index 0000000..4378666 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/quality-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/quit-logo.png b/gs/html5/vex5/assets/images/buttons/quit-logo.png new file mode 100644 index 0000000..0ef771a Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/quit-logo.png differ diff --git a/gs/html5/vex5/assets/images/buttons/reset-logo.png b/gs/html5/vex5/assets/images/buttons/reset-logo.png new file mode 100644 index 0000000..0440749 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/reset-logo.png differ diff --git a/gs/html5/vex5/assets/images/buttons/slide-drag.png b/gs/html5/vex5/assets/images/buttons/slide-drag.png new file mode 100644 index 0000000..1cdd011 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/slide-drag.png differ diff --git a/gs/html5/vex5/assets/images/buttons/slider.png b/gs/html5/vex5/assets/images/buttons/slider.png new file mode 100644 index 0000000..82bd665 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/slider.png differ diff --git a/gs/html5/vex5/assets/images/buttons/stage-button-bg.png b/gs/html5/vex5/assets/images/buttons/stage-button-bg.png new file mode 100644 index 0000000..a6ce96a Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/stage-button-bg.png differ diff --git a/gs/html5/vex5/assets/images/buttons/standard-acts-button.png b/gs/html5/vex5/assets/images/buttons/standard-acts-button.png new file mode 100644 index 0000000..dea0a4d Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/standard-acts-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/tick-button.png b/gs/html5/vex5/assets/images/buttons/tick-button.png new file mode 100644 index 0000000..ef55599 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/tick-button.png differ diff --git a/gs/html5/vex5/assets/images/buttons/tick_white_box.png b/gs/html5/vex5/assets/images/buttons/tick_white_box.png new file mode 100644 index 0000000..ea39d09 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/tick_white_box.png differ diff --git a/gs/html5/vex5/assets/images/buttons/trophy-logo.png b/gs/html5/vex5/assets/images/buttons/trophy-logo.png new file mode 100644 index 0000000..e829096 Binary files /dev/null and b/gs/html5/vex5/assets/images/buttons/trophy-logo.png differ diff --git a/gs/html5/vex5/assets/images/circle-button.png b/gs/html5/vex5/assets/images/circle-button.png new file mode 100644 index 0000000..87e47b9 Binary files /dev/null and b/gs/html5/vex5/assets/images/circle-button.png differ diff --git a/gs/html5/vex5/assets/images/crouch-button.png b/gs/html5/vex5/assets/images/crouch-button.png new file mode 100644 index 0000000..1fc4369 Binary files /dev/null and b/gs/html5/vex5/assets/images/crouch-button.png differ diff --git a/gs/html5/vex5/assets/images/dark-overlay.png b/gs/html5/vex5/assets/images/dark-overlay.png new file mode 100644 index 0000000..749c590 Binary files /dev/null and b/gs/html5/vex5/assets/images/dark-overlay.png differ diff --git a/gs/html5/vex5/assets/images/fonts/grob24.fnt b/gs/html5/vex5/assets/images/fonts/grob24.fnt new file mode 100644 index 0000000..db3357c --- /dev/null +++ b/gs/html5/vex5/assets/images/fonts/grob24.fnt @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gs/html5/vex5/assets/images/fonts/grob24.png b/gs/html5/vex5/assets/images/fonts/grob24.png new file mode 100644 index 0000000..a8f4f59 Binary files /dev/null and b/gs/html5/vex5/assets/images/fonts/grob24.png differ diff --git a/gs/html5/vex5/assets/images/fonts/grobred32.fnt b/gs/html5/vex5/assets/images/fonts/grobred32.fnt new file mode 100644 index 0000000..24c5e2c --- /dev/null +++ b/gs/html5/vex5/assets/images/fonts/grobred32.fnt @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gs/html5/vex5/assets/images/fonts/grobred32.png b/gs/html5/vex5/assets/images/fonts/grobred32.png new file mode 100644 index 0000000..c032eb6 Binary files /dev/null and b/gs/html5/vex5/assets/images/fonts/grobred32.png differ diff --git a/gs/html5/vex5/assets/images/gui/game-top-bg.png b/gs/html5/vex5/assets/images/gui/game-top-bg.png new file mode 100644 index 0000000..65ecaa5 Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/game-top-bg.png differ diff --git a/gs/html5/vex5/assets/images/gui/level-name-bg.png b/gs/html5/vex5/assets/images/gui/level-name-bg.png new file mode 100644 index 0000000..874f9b0 Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/level-name-bg.png differ diff --git a/gs/html5/vex5/assets/images/gui/rank-time-bg.png b/gs/html5/vex5/assets/images/gui/rank-time-bg.png new file mode 100644 index 0000000..28549f9 Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/rank-time-bg.png differ diff --git a/gs/html5/vex5/assets/images/gui/rank-time-static-text.png b/gs/html5/vex5/assets/images/gui/rank-time-static-text.png new file mode 100644 index 0000000..a3cb6b8 Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/rank-time-static-text.png differ diff --git a/gs/html5/vex5/assets/images/gui/simple-transition.png b/gs/html5/vex5/assets/images/gui/simple-transition.png new file mode 100644 index 0000000..cc4320c Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/simple-transition.png differ diff --git a/gs/html5/vex5/assets/images/gui/timer-bg.png b/gs/html5/vex5/assets/images/gui/timer-bg.png new file mode 100644 index 0000000..cbf0cd9 Binary files /dev/null and b/gs/html5/vex5/assets/images/gui/timer-bg.png differ diff --git a/gs/html5/vex5/assets/images/hell_xl.png b/gs/html5/vex5/assets/images/hell_xl.png new file mode 100644 index 0000000..7eed57c Binary files /dev/null and b/gs/html5/vex5/assets/images/hell_xl.png differ diff --git a/gs/html5/vex5/assets/images/items/checkpoint-swimming.png b/gs/html5/vex5/assets/images/items/checkpoint-swimming.png new file mode 100644 index 0000000..4b1e5ef Binary files /dev/null and b/gs/html5/vex5/assets/images/items/checkpoint-swimming.png differ diff --git a/gs/html5/vex5/assets/images/items/checkpoint-text.png b/gs/html5/vex5/assets/images/items/checkpoint-text.png new file mode 100644 index 0000000..d7cbc4e Binary files /dev/null and b/gs/html5/vex5/assets/images/items/checkpoint-text.png differ diff --git a/gs/html5/vex5/assets/images/items/finish-portal.png b/gs/html5/vex5/assets/images/items/finish-portal.png new file mode 100644 index 0000000..6b713fd Binary files /dev/null and b/gs/html5/vex5/assets/images/items/finish-portal.png differ diff --git a/gs/html5/vex5/assets/images/items/portal.png b/gs/html5/vex5/assets/images/items/portal.png new file mode 100644 index 0000000..3ba7480 Binary files /dev/null and b/gs/html5/vex5/assets/images/items/portal.png differ diff --git a/gs/html5/vex5/assets/images/items/wind-fan.png b/gs/html5/vex5/assets/images/items/wind-fan.png new file mode 100644 index 0000000..5b8ca21 Binary files /dev/null and b/gs/html5/vex5/assets/images/items/wind-fan.png differ diff --git a/gs/html5/vex5/assets/images/jump-button.png b/gs/html5/vex5/assets/images/jump-button.png new file mode 100644 index 0000000..aef38e8 Binary files /dev/null and b/gs/html5/vex5/assets/images/jump-button.png differ diff --git a/gs/html5/vex5/assets/images/obstacles/shurikan-dispenser.png b/gs/html5/vex5/assets/images/obstacles/shurikan-dispenser.png new file mode 100644 index 0000000..611fa29 Binary files /dev/null and b/gs/html5/vex5/assets/images/obstacles/shurikan-dispenser.png differ diff --git a/gs/html5/vex5/assets/images/obstacles/shurikan-horizontal.png b/gs/html5/vex5/assets/images/obstacles/shurikan-horizontal.png new file mode 100644 index 0000000..f268dd6 Binary files /dev/null and b/gs/html5/vex5/assets/images/obstacles/shurikan-horizontal.png differ diff --git a/gs/html5/vex5/assets/images/obstacles/spike10x_high.png b/gs/html5/vex5/assets/images/obstacles/spike10x_high.png new file mode 100644 index 0000000..114eba4 Binary files /dev/null and b/gs/html5/vex5/assets/images/obstacles/spike10x_high.png differ diff --git a/gs/html5/vex5/assets/images/parallaxBackground.png b/gs/html5/vex5/assets/images/parallaxBackground.png new file mode 100644 index 0000000..1439433 Binary files /dev/null and b/gs/html5/vex5/assets/images/parallaxBackground.png differ diff --git a/gs/html5/vex5/assets/images/player/parts/player-arm.png b/gs/html5/vex5/assets/images/player/parts/player-arm.png new file mode 100644 index 0000000..3c56331 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/parts/player-arm.png differ diff --git a/gs/html5/vex5/assets/images/player/parts/player-body.png b/gs/html5/vex5/assets/images/player/parts/player-body.png new file mode 100644 index 0000000..0d4f62d Binary files /dev/null and b/gs/html5/vex5/assets/images/player/parts/player-body.png differ diff --git a/gs/html5/vex5/assets/images/player/parts/player-head.png b/gs/html5/vex5/assets/images/player/parts/player-head.png new file mode 100644 index 0000000..2934593 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/parts/player-head.png differ diff --git a/gs/html5/vex5/assets/images/player/parts/player-leg.png b/gs/html5/vex5/assets/images/player/parts/player-leg.png new file mode 100644 index 0000000..d182358 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/parts/player-leg.png differ diff --git a/gs/html5/vex5/assets/images/player/player-crouch.json b/gs/html5/vex5/assets/images/player/player-crouch.json new file mode 100644 index 0000000..964412a --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-crouch.json @@ -0,0 +1,132 @@ +{"frames": [ + +{ + "filename": "player_crouch0000.png", + "frame": {"x":2,"y":283,"w":17,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":3,"w":17,"h":33}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0001.png", + "frame": {"x":2,"y":215,"w":18,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":4,"w":18,"h":32}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0002.png", + "frame": {"x":2,"y":153,"w":20,"h":29}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":7,"w":20,"h":29}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0003.png", + "frame": {"x":2,"y":97,"w":22,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":10,"w":22,"h":26}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0004.png", + "frame": {"x":2,"y":46,"w":25,"h":24}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":12,"w":25,"h":24}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0005.png", + "frame": {"x":2,"y":72,"w":25,"h":23}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":13,"w":25,"h":23}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0006.png", + "frame": {"x":2,"y":2,"w":27,"h":20}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":16,"w":27,"h":20}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0007.png", + "frame": {"x":2,"y":24,"w":27,"h":20}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":16,"w":27,"h":20}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0008.png", + "frame": {"x":2,"y":2,"w":27,"h":20}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":16,"w":27,"h":20}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0009.png", + "frame": {"x":2,"y":72,"w":25,"h":23}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":13,"w":25,"h":23}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0010.png", + "frame": {"x":2,"y":46,"w":25,"h":24}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":12,"w":25,"h":24}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0011.png", + "frame": {"x":2,"y":125,"w":22,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":10,"w":22,"h":26}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0012.png", + "frame": {"x":2,"y":184,"w":20,"h":29}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":7,"w":20,"h":29}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0013.png", + "frame": {"x":2,"y":249,"w":18,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":4,"w":18,"h":32}, + "sourceSize": {"w":35,"h":36} +}, +{ + "filename": "player_crouch0014.png", + "frame": {"x":2,"y":318,"w":17,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":3,"w":17,"h":33}, + "sourceSize": {"w":35,"h":36} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-crouch.png", + "format": "RGBA8888", + "size": {"w":31,"h":353}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:2b948a00d27331e1b5df783e6f9277f7:2c04d2a0b7407eefc15bcc649baa5b99:abd29e2b9ef0d9339fe083b5f01961d2$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-crouch.png b/gs/html5/vex5/assets/images/player/player-crouch.png new file mode 100644 index 0000000..1030157 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-crouch.png differ diff --git a/gs/html5/vex5/assets/images/player/player-fall-floor.json b/gs/html5/vex5/assets/images/player/player-fall-floor.json new file mode 100644 index 0000000..af8e802 --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-fall-floor.json @@ -0,0 +1,60 @@ +{"frames": [ + +{ + "filename": "fall0000.png", + "frame": {"x":2,"y":2,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}, +{ + "filename": "fall0001.png", + "frame": {"x":2,"y":47,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}, +{ + "filename": "fall0002.png", + "frame": {"x":2,"y":92,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}, +{ + "filename": "fall0003.png", + "frame": {"x":2,"y":137,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}, +{ + "filename": "fall0004.png", + "frame": {"x":2,"y":182,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}, +{ + "filename": "fall0005.png", + "frame": {"x":2,"y":227,"w":24,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":24,"h":43}, + "sourceSize": {"w":24,"h":43} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-fall.png", + "format": "RGBA8888", + "size": {"w":28,"h":272}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:0e366e3c6ccf78262ccc157c226b51b9:c58d1aa41ad9882017416ec055138754:77b4a1c83213b6a2f215ec8453890268$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-fall-floor.png b/gs/html5/vex5/assets/images/player/player-fall-floor.png new file mode 100644 index 0000000..0037500 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-fall-floor.png differ diff --git a/gs/html5/vex5/assets/images/player/player-fall.png b/gs/html5/vex5/assets/images/player/player-fall.png new file mode 100644 index 0000000..9918e99 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-fall.png differ diff --git a/gs/html5/vex5/assets/images/player/player-hang.png b/gs/html5/vex5/assets/images/player/player-hang.png new file mode 100644 index 0000000..5bc1fcf Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-hang.png differ diff --git a/gs/html5/vex5/assets/images/player/player-jump-back-flip.png b/gs/html5/vex5/assets/images/player/player-jump-back-flip.png new file mode 100644 index 0000000..9633959 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-jump-back-flip.png differ diff --git a/gs/html5/vex5/assets/images/player/player-jump-down.json b/gs/html5/vex5/assets/images/player/player-jump-down.json new file mode 100644 index 0000000..28073b0 --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-jump-down.json @@ -0,0 +1,92 @@ +{"frames": [ + +{ + "filename": "falldown0000.png", + "frame": {"x":2,"y":125,"w":21,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":21,"h":40}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0001.png", + "frame": {"x":2,"y":167,"w":21,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":21,"h":40}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0002.png", + "frame": {"x":2,"y":2,"w":22,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":22,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0003.png", + "frame": {"x":2,"y":43,"w":22,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":22,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0004.png", + "frame": {"x":2,"y":84,"w":22,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0005.png", + "frame": {"x":2,"y":293,"w":21,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0006.png", + "frame": {"x":2,"y":334,"w":21,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0007.png", + "frame": {"x":2,"y":375,"w":21,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":21,"h":39}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0008.png", + "frame": {"x":2,"y":209,"w":21,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":21,"h":40}, + "sourceSize": {"w":24,"h":41} +}, +{ + "filename": "falldown0009.png", + "frame": {"x":2,"y":251,"w":21,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":21,"h":40}, + "sourceSize": {"w":24,"h":41} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-jump-down.png", + "format": "RGBA8888", + "size": {"w":26,"h":416}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:fe9e3d6ce9cc2355448029fc1fd9560d:1f6c0244d187c6a50af64db1f3f4fb3a:26267732f0525c4e76579595c83673e9$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-jump-down.png b/gs/html5/vex5/assets/images/player/player-jump-down.png new file mode 100644 index 0000000..39dce08 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-jump-down.png differ diff --git a/gs/html5/vex5/assets/images/player/player-jump-front-flip.png b/gs/html5/vex5/assets/images/player/player-jump-front-flip.png new file mode 100644 index 0000000..7835a58 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-jump-front-flip.png differ diff --git a/gs/html5/vex5/assets/images/player/player-jump.json b/gs/html5/vex5/assets/images/player/player-jump.json new file mode 100644 index 0000000..cba5d8e --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-jump.json @@ -0,0 +1,84 @@ +{"frames": [ + +{ + "filename": "jump0000.png", + "frame": {"x":2,"y":273,"w":18,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":6,"w":18,"h":34}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0001.png", + "frame": {"x":2,"y":309,"w":18,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":8,"w":18,"h":32}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0002.png", + "frame": {"x":2,"y":164,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":20,"h":34}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0003.png", + "frame": {"x":2,"y":236,"w":19,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":19,"h":35}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0004.png", + "frame": {"x":2,"y":200,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":20,"h":34}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0005.png", + "frame": {"x":2,"y":127,"w":21,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":4,"w":21,"h":35}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0006.png", + "frame": {"x":2,"y":2,"w":23,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":23,"h":39}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0007.png", + "frame": {"x":2,"y":43,"w":22,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":22,"h":40}, + "sourceSize": {"w":26,"h":42} +}, +{ + "filename": "jump0008.png", + "frame": {"x":2,"y":85,"w":21,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":40}, + "sourceSize": {"w":26,"h":42} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-jump.png", + "format": "RGBA8888", + "size": {"w":27,"h":343}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:0054e37d1a693b1aed5320c929e110e5:9a06e01e2e1f6a4614391a36d92f267e:b0467466f8249d69521c5f032940b598$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-jump.png b/gs/html5/vex5/assets/images/player/player-jump.png new file mode 100644 index 0000000..a29a422 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-jump.png differ diff --git a/gs/html5/vex5/assets/images/player/player-kick.png b/gs/html5/vex5/assets/images/player/player-kick.png new file mode 100644 index 0000000..7b024e7 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-kick.png differ diff --git a/gs/html5/vex5/assets/images/player/player-pulley.png b/gs/html5/vex5/assets/images/player/player-pulley.png new file mode 100644 index 0000000..9bb3fc3 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-pulley.png differ diff --git a/gs/html5/vex5/assets/images/player/player-push.png b/gs/html5/vex5/assets/images/player/player-push.png new file mode 100644 index 0000000..652b6d2 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-push.png differ diff --git a/gs/html5/vex5/assets/images/player/player-run.json b/gs/html5/vex5/assets/images/player/player-run.json new file mode 100644 index 0000000..c89b57a --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-run.json @@ -0,0 +1,164 @@ +{"frames": [ + +{ + "filename": "player_run0000.png", + "frame": {"x":34,"y":145,"w":26,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":6,"w":26,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0001.png", + "frame": {"x":2,"y":237,"w":29,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":29,"h":31}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0002.png", + "frame": {"x":2,"y":170,"w":30,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":4,"w":30,"h":30}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0003.png", + "frame": {"x":2,"y":270,"w":28,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":3,"w":28,"h":31}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0004.png", + "frame": {"x":33,"y":215,"w":27,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":27,"h":31}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0005.png", + "frame": {"x":33,"y":248,"w":25,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":3,"w":25,"h":35}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0006.png", + "frame": {"x":36,"y":2,"w":24,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":6,"w":24,"h":35}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0007.png", + "frame": {"x":36,"y":110,"w":22,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":8,"w":22,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0008.png", + "frame": {"x":36,"y":39,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":7,"w":24,"h":34}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0009.png", + "frame": {"x":2,"y":202,"w":29,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":29,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0010.png", + "frame": {"x":2,"y":36,"w":32,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":5,"w":32,"h":31}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0011.png", + "frame": {"x":2,"y":102,"w":32,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":4,"w":32,"h":30}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0012.png", + "frame": {"x":2,"y":2,"w":32,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":32,"h":32}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0013.png", + "frame": {"x":2,"y":134,"w":30,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":30,"h":34}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0014.png", + "frame": {"x":32,"y":285,"w":25,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":6,"w":25,"h":34}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0015.png", + "frame": {"x":36,"y":75,"w":23,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":8,"w":23,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0016.png", + "frame": {"x":2,"y":303,"w":22,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":7,"w":22,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run0017.png", + "frame": {"x":34,"y":180,"w":26,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":6,"w":26,"h":33}, + "sourceSize": {"w":33,"h":41} +}, +{ + "filename": "player_run006.png", + "frame": {"x":2,"y":69,"w":32,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":4,"w":32,"h":31}, + "sourceSize": {"w":33,"h":40} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-run.png", + "format": "RGBA8888", + "size": {"w":62,"h":344}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:08b34abb30ed6f31e0fde2f8b71594e2:92ddc91c2160c19e49a162c7bcefceb4:4c10bb4ad5b3d50e04eb8bc89b61204d$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-run.png b/gs/html5/vex5/assets/images/player/player-run.png new file mode 100644 index 0000000..0020658 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-run.png differ diff --git a/gs/html5/vex5/assets/images/player/player-scale.png b/gs/html5/vex5/assets/images/player/player-scale.png new file mode 100644 index 0000000..a20cc9e Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-scale.png differ diff --git a/gs/html5/vex5/assets/images/player/player-slide.png b/gs/html5/vex5/assets/images/player/player-slide.png new file mode 100644 index 0000000..7ceb8df Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-slide.png differ diff --git a/gs/html5/vex5/assets/images/player/player-spawn.png b/gs/html5/vex5/assets/images/player/player-spawn.png new file mode 100644 index 0000000..bc7a33f Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-spawn.png differ diff --git a/gs/html5/vex5/assets/images/player/player-stand.png b/gs/html5/vex5/assets/images/player/player-stand.png new file mode 100644 index 0000000..072c8fb Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-stand.png differ diff --git a/gs/html5/vex5/assets/images/player/player-stop-swim.json b/gs/html5/vex5/assets/images/player/player-stop-swim.json new file mode 100644 index 0000000..04cc385 --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-stop-swim.json @@ -0,0 +1,292 @@ +{"frames": [ + +{ + "filename": "player_stop_swim0000.png", + "frame": {"x":347,"y":2,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0001.png", + "frame": {"x":373,"y":2,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0002.png", + "frame": {"x":424,"y":2,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0003.png", + "frame": {"x":215,"y":2,"w":21,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":21,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0004.png", + "frame": {"x":611,"y":2,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":20,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0005.png", + "frame": {"x":306,"y":2,"w":19,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":19,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0006.png", + "frame": {"x":633,"y":2,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":20,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0007.png", + "frame": {"x":47,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0008.png", + "frame": {"x":71,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0009.png", + "frame": {"x":95,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0010.png", + "frame": {"x":119,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0011.png", + "frame": {"x":496,"y":2,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0012.png", + "frame": {"x":655,"y":2,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":20,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0013.png", + "frame": {"x":26,"y":2,"w":19,"h":36}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":19,"h":36}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0014.png", + "frame": {"x":327,"y":2,"w":18,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":1,"w":18,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0015.png", + "frame": {"x":763,"y":2,"w":18,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":18,"h":33}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0016.png", + "frame": {"x":519,"y":2,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0017.png", + "frame": {"x":448,"y":2,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":22,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0018.png", + "frame": {"x":542,"y":2,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0019.png", + "frame": {"x":565,"y":2,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0020.png", + "frame": {"x":677,"y":2,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":20,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0021.png", + "frame": {"x":699,"y":2,"w":19,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":19,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0022.png", + "frame": {"x":720,"y":2,"w":19,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":19,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0023.png", + "frame": {"x":238,"y":2,"w":21,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":21,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0024.png", + "frame": {"x":472,"y":2,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0025.png", + "frame": {"x":143,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0026.png", + "frame": {"x":167,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0027.png", + "frame": {"x":191,"y":2,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":22,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0028.png", + "frame": {"x":2,"y":2,"w":22,"h":36}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":22,"h":36}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0029.png", + "frame": {"x":261,"y":2,"w":21,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":21,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0030.png", + "frame": {"x":284,"y":2,"w":20,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":20,"h":35}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0031.png", + "frame": {"x":741,"y":2,"w":20,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":20,"h":33}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0032.png", + "frame": {"x":588,"y":2,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":21,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0033.png", + "frame": {"x":399,"y":2,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":23,"h":34}, + "sourceSize": {"w":25,"h":37} +}, +{ + "filename": "player_stop_swim0034.png", + "frame": {"x":347,"y":2,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":25,"h":37} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-stop-swim.png", + "format": "RGBA8888", + "size": {"w":783,"h":40}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:bc094aa3d141a170da2682cbd134c6ca:fd02815246b2cf4418a682001a960434:10abd14a6291c382c46b6c4e3399927a$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-stop-swim.png b/gs/html5/vex5/assets/images/player/player-stop-swim.png new file mode 100644 index 0000000..9908d5c Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-stop-swim.png differ diff --git a/gs/html5/vex5/assets/images/player/player-swim-bottom.png b/gs/html5/vex5/assets/images/player/player-swim-bottom.png new file mode 100644 index 0000000..0cea0fd Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-swim-bottom.png differ diff --git a/gs/html5/vex5/assets/images/player/player-swim-top.json b/gs/html5/vex5/assets/images/player/player-swim-top.json new file mode 100644 index 0000000..3f0082f --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player-swim-top.json @@ -0,0 +1,220 @@ +{"frames": [ + +{ + "filename": "swim0000.png", + "frame": {"x":2,"y":2,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0001.png", + "frame": {"x":2,"y":255,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":22,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0002.png", + "frame": {"x":2,"y":403,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":21,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0003.png", + "frame": {"x":2,"y":110,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":23,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0004.png", + "frame": {"x":2,"y":146,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":23,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0005.png", + "frame": {"x":2,"y":755,"w":19,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":1,"w":19,"h":35}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0006.png", + "frame": {"x":2,"y":38,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0007.png", + "frame": {"x":2,"y":182,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":23,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0008.png", + "frame": {"x":2,"y":291,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":1,"w":22,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0009.png", + "frame": {"x":2,"y":439,"w":21,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":2,"w":21,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0010.png", + "frame": {"x":2,"y":218,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":22,"h":35}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0011.png", + "frame": {"x":2,"y":638,"w":20,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":2,"w":20,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swim0012.png", + "frame": {"x":2,"y":74,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":24,"h":34}, + "sourceSize": {"w":26,"h":36} +}, +{ + "filename": "swimxpo0000.png", + "frame": {"x":2,"y":517,"w":20,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":4,"w":20,"h":39}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0001.png", + "frame": {"x":2,"y":599,"w":20,"h":37}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":6,"w":20,"h":37}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0002.png", + "frame": {"x":2,"y":327,"w":21,"h":37}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":6,"w":21,"h":37}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0003.png", + "frame": {"x":2,"y":835,"w":18,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":4,"w":18,"h":39}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0004.png", + "frame": {"x":2,"y":475,"w":20,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":3,"w":20,"h":40}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0005.png", + "frame": {"x":2,"y":957,"w":14,"h":40}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":3,"w":14,"h":40}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0006.png", + "frame": {"x":2,"y":792,"w":18,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":18,"h":41}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0007.png", + "frame": {"x":2,"y":715,"w":19,"h":38}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":5,"w":19,"h":38}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0008.png", + "frame": {"x":2,"y":366,"w":21,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":7,"w":21,"h":35}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0009.png", + "frame": {"x":2,"y":876,"w":17,"h":38}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":5,"w":17,"h":38}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0010.png", + "frame": {"x":2,"y":674,"w":19,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":4,"w":19,"h":39}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0011.png", + "frame": {"x":2,"y":916,"w":16,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":4,"w":16,"h":39}, + "sourceSize": {"w":26,"h":43} +}, +{ + "filename": "swimxpo0012.png", + "frame": {"x":2,"y":558,"w":20,"h":39}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":4,"w":20,"h":39}, + "sourceSize": {"w":26,"h":43} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player-swim-top.png", + "format": "RGBA8888", + "size": {"w":28,"h":999}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:f506fff5c329f783d63a501dd637830d:2e5a9e616edbb6e84c2e8e4112323d90:e1af418abd0e8e29bb9584e0d8d73fea$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player-swim-top.png b/gs/html5/vex5/assets/images/player/player-swim-top.png new file mode 100644 index 0000000..22f6c0c Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-swim-top.png differ diff --git a/gs/html5/vex5/assets/images/player/player-swing.png b/gs/html5/vex5/assets/images/player/player-swing.png new file mode 100644 index 0000000..f2723a6 Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player-swing.png differ diff --git a/gs/html5/vex5/assets/images/player/player_rope.json b/gs/html5/vex5/assets/images/player/player_rope.json new file mode 100644 index 0000000..7b170c0 --- /dev/null +++ b/gs/html5/vex5/assets/images/player/player_rope.json @@ -0,0 +1,228 @@ +{"frames": [ + +{ + "filename": "player-rope_down_0.png", + "frame": {"x":2,"y":287,"w":24,"h":28}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":9,"w":24,"h":28}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_0.png", + "frame": {"x":2,"y":830,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":6,"w":22,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_1.png", + "frame": {"x":2,"y":317,"w":23,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":6,"w":23,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_10.png", + "frame": {"x":2,"y":391,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":23,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_11.png", + "frame": {"x":2,"y":427,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":23,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_12.png", + "frame": {"x":2,"y":866,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":22,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_13.png", + "frame": {"x":2,"y":571,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_14.png", + "frame": {"x":2,"y":608,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_15.png", + "frame": {"x":2,"y":645,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_16.png", + "frame": {"x":2,"y":682,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_17.png", + "frame": {"x":2,"y":719,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_18.png", + "frame": {"x":2,"y":756,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_19.png", + "frame": {"x":2,"y":354,"w":23,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":23,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_2.png", + "frame": {"x":2,"y":2,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_20.png", + "frame": {"x":2,"y":902,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":22,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_21.png", + "frame": {"x":2,"y":463,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":23,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_22.png", + "frame": {"x":2,"y":499,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":23,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_23.png", + "frame": {"x":2,"y":535,"w":23,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":23,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_24.png", + "frame": {"x":2,"y":793,"w":22,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":6,"w":22,"h":35}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_25.png", + "frame": {"x":2,"y":938,"w":22,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":6,"w":22,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_3.png", + "frame": {"x":2,"y":182,"w":24,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":33}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_4.png", + "frame": {"x":2,"y":38,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":6,"w":24,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_5.png", + "frame": {"x":2,"y":74,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_6.png", + "frame": {"x":2,"y":217,"w":24,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":33}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_7.png", + "frame": {"x":2,"y":252,"w":24,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":33}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_8.png", + "frame": {"x":2,"y":110,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":34}, + "sourceSize": {"w":41,"h":42} +}, +{ + "filename": "player-rope_up_9.png", + "frame": {"x":2,"y":146,"w":24,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":7,"w":24,"h":34}, + "sourceSize": {"w":41,"h":42} +}], +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "player_rope.png", + "format": "RGBA8888", + "size": {"w":28,"h":974}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:1c626d6f708aa42ccc2fb41a20f1ea0d:c0f57939214f1bd24d75b6b9f17f08dd:eedd140e18422180a0eef6f1a3893c09$" +} +} diff --git a/gs/html5/vex5/assets/images/player/player_rope.png b/gs/html5/vex5/assets/images/player/player_rope.png new file mode 100644 index 0000000..7c88a3e Binary files /dev/null and b/gs/html5/vex5/assets/images/player/player_rope.png differ diff --git a/gs/html5/vex5/assets/images/press-down-hard.png b/gs/html5/vex5/assets/images/press-down-hard.png new file mode 100644 index 0000000..5e70c92 Binary files /dev/null and b/gs/html5/vex5/assets/images/press-down-hard.png differ diff --git a/gs/html5/vex5/assets/images/press-down-normal.png b/gs/html5/vex5/assets/images/press-down-normal.png new file mode 100644 index 0000000..b58cdd1 Binary files /dev/null and b/gs/html5/vex5/assets/images/press-down-normal.png differ diff --git a/gs/html5/vex5/assets/images/press-down.png b/gs/html5/vex5/assets/images/press-down.png new file mode 100644 index 0000000..24b2f90 Binary files /dev/null and b/gs/html5/vex5/assets/images/press-down.png differ diff --git a/gs/html5/vex5/assets/images/space-button.png b/gs/html5/vex5/assets/images/space-button.png new file mode 100644 index 0000000..554479c Binary files /dev/null and b/gs/html5/vex5/assets/images/space-button.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/act-down-arrow.png b/gs/html5/vex5/assets/images/text/act-block/act-down-arrow.png new file mode 100644 index 0000000..d02aaa8 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/act-down-arrow.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/challenge-icon.png b/gs/html5/vex5/assets/images/text/act-block/challenge-icon.png new file mode 100644 index 0000000..ef06da1 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/challenge-icon.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/click_hell_text.png b/gs/html5/vex5/assets/images/text/act-block/click_hell_text.png new file mode 100644 index 0000000..c2a1947 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/click_hell_text.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/completed-icon.png b/gs/html5/vex5/assets/images/text/act-block/completed-icon.png new file mode 100644 index 0000000..8cdda9e Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/completed-icon.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/completed-text.png b/gs/html5/vex5/assets/images/text/act-block/completed-text.png new file mode 100644 index 0000000..8519133 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/completed-text.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/enter-level-text.png b/gs/html5/vex5/assets/images/text/act-block/enter-level-text.png new file mode 100644 index 0000000..5b32f64 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/enter-level-text.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/fastest-time-text.png b/gs/html5/vex5/assets/images/text/act-block/fastest-time-text.png new file mode 100644 index 0000000..3aec4c1 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/fastest-time-text.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/hell-text.png b/gs/html5/vex5/assets/images/text/act-block/hell-text.png new file mode 100644 index 0000000..2297f9a Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/hell-text.png differ diff --git a/gs/html5/vex5/assets/images/text/act-block/star-icon.png b/gs/html5/vex5/assets/images/text/act-block/star-icon.png new file mode 100644 index 0000000..f0f2282 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/act-block/star-icon.png differ diff --git a/gs/html5/vex5/assets/images/text/hell_white_normal.png b/gs/html5/vex5/assets/images/text/hell_white_normal.png new file mode 100644 index 0000000..748b648 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/hell_white_normal.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/bronze-text.png b/gs/html5/vex5/assets/images/text/ranks/bronze-text.png new file mode 100644 index 0000000..0b783a4 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/bronze-text.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/clear-text.png b/gs/html5/vex5/assets/images/text/ranks/clear-text.png new file mode 100644 index 0000000..c2405f7 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/clear-text.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/gold-text.png b/gs/html5/vex5/assets/images/text/ranks/gold-text.png new file mode 100644 index 0000000..93b2cd8 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/gold-text.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/none-text.png b/gs/html5/vex5/assets/images/text/ranks/none-text.png new file mode 100644 index 0000000..ffba064 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/none-text.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/perfect-text.png b/gs/html5/vex5/assets/images/text/ranks/perfect-text.png new file mode 100644 index 0000000..072c0f5 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/perfect-text.png differ diff --git a/gs/html5/vex5/assets/images/text/ranks/silver-text.png b/gs/html5/vex5/assets/images/text/ranks/silver-text.png new file mode 100644 index 0000000..a9f42ec Binary files /dev/null and b/gs/html5/vex5/assets/images/text/ranks/silver-text.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-1.png b/gs/html5/vex5/assets/images/text/text-fade-1.png new file mode 100644 index 0000000..9819960 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-1.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-10.png b/gs/html5/vex5/assets/images/text/text-fade-10.png new file mode 100644 index 0000000..cebeb43 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-10.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-11.png b/gs/html5/vex5/assets/images/text/text-fade-11.png new file mode 100644 index 0000000..ed67e96 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-11.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-12.png b/gs/html5/vex5/assets/images/text/text-fade-12.png new file mode 100644 index 0000000..d4f7829 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-12.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-13-mobile.png b/gs/html5/vex5/assets/images/text/text-fade-13-mobile.png new file mode 100644 index 0000000..200ea3f Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-13-mobile.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-13.png b/gs/html5/vex5/assets/images/text/text-fade-13.png new file mode 100644 index 0000000..5950ea6 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-13.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-14.png b/gs/html5/vex5/assets/images/text/text-fade-14.png new file mode 100644 index 0000000..9049465 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-14.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-15.png b/gs/html5/vex5/assets/images/text/text-fade-15.png new file mode 100644 index 0000000..d7d71c0 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-15.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-16.png b/gs/html5/vex5/assets/images/text/text-fade-16.png new file mode 100644 index 0000000..3144993 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-16.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-17.png b/gs/html5/vex5/assets/images/text/text-fade-17.png new file mode 100644 index 0000000..6ff6238 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-17.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-18.png b/gs/html5/vex5/assets/images/text/text-fade-18.png new file mode 100644 index 0000000..589a433 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-18.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-19.png b/gs/html5/vex5/assets/images/text/text-fade-19.png new file mode 100644 index 0000000..5f2dbd3 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-19.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-2.png b/gs/html5/vex5/assets/images/text/text-fade-2.png new file mode 100644 index 0000000..fb7802f Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-2.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-20.png b/gs/html5/vex5/assets/images/text/text-fade-20.png new file mode 100644 index 0000000..5b66b1e Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-20.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-21.png b/gs/html5/vex5/assets/images/text/text-fade-21.png new file mode 100644 index 0000000..b7a2468 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-21.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-22.png b/gs/html5/vex5/assets/images/text/text-fade-22.png new file mode 100644 index 0000000..329767c Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-22.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-23.png b/gs/html5/vex5/assets/images/text/text-fade-23.png new file mode 100644 index 0000000..abe062d Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-23.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-24.png b/gs/html5/vex5/assets/images/text/text-fade-24.png new file mode 100644 index 0000000..37230eb Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-24.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-25.png b/gs/html5/vex5/assets/images/text/text-fade-25.png new file mode 100644 index 0000000..b2c4a2b Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-25.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-26.png b/gs/html5/vex5/assets/images/text/text-fade-26.png new file mode 100644 index 0000000..e9c407e Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-26.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-27.png b/gs/html5/vex5/assets/images/text/text-fade-27.png new file mode 100644 index 0000000..2a99c9d Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-27.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-28.png b/gs/html5/vex5/assets/images/text/text-fade-28.png new file mode 100644 index 0000000..134e71f Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-28.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-29.png b/gs/html5/vex5/assets/images/text/text-fade-29.png new file mode 100644 index 0000000..9d40a12 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-29.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-30.png b/gs/html5/vex5/assets/images/text/text-fade-30.png new file mode 100644 index 0000000..9a221ec Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-30.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-31.png b/gs/html5/vex5/assets/images/text/text-fade-31.png new file mode 100644 index 0000000..d981ee5 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-31.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-32.png b/gs/html5/vex5/assets/images/text/text-fade-32.png new file mode 100644 index 0000000..dbe246b Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-32.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-33.png b/gs/html5/vex5/assets/images/text/text-fade-33.png new file mode 100644 index 0000000..675c959 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-33.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-34.png b/gs/html5/vex5/assets/images/text/text-fade-34.png new file mode 100644 index 0000000..79d9b9a Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-34.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-35.png b/gs/html5/vex5/assets/images/text/text-fade-35.png new file mode 100644 index 0000000..745a57f Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-35.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-36.png b/gs/html5/vex5/assets/images/text/text-fade-36.png new file mode 100644 index 0000000..4156fcf Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-36.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-37.png b/gs/html5/vex5/assets/images/text/text-fade-37.png new file mode 100644 index 0000000..a18a20e Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-37.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-38.png b/gs/html5/vex5/assets/images/text/text-fade-38.png new file mode 100644 index 0000000..98d43cc Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-38.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-39.png b/gs/html5/vex5/assets/images/text/text-fade-39.png new file mode 100644 index 0000000..380c8b2 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-39.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-4.png b/gs/html5/vex5/assets/images/text/text-fade-4.png new file mode 100644 index 0000000..bfaff4c Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-4.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-40.png b/gs/html5/vex5/assets/images/text/text-fade-40.png new file mode 100644 index 0000000..9136fe2 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-40.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-41.png b/gs/html5/vex5/assets/images/text/text-fade-41.png new file mode 100644 index 0000000..897f912 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-41.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-42.png b/gs/html5/vex5/assets/images/text/text-fade-42.png new file mode 100644 index 0000000..9ab516a Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-42.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-43.png b/gs/html5/vex5/assets/images/text/text-fade-43.png new file mode 100644 index 0000000..113a946 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-43.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-44.png b/gs/html5/vex5/assets/images/text/text-fade-44.png new file mode 100644 index 0000000..f9875b4 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-44.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-45.png b/gs/html5/vex5/assets/images/text/text-fade-45.png new file mode 100644 index 0000000..4d65b8e Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-45.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-5.png b/gs/html5/vex5/assets/images/text/text-fade-5.png new file mode 100644 index 0000000..f78aa69 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-5.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-6.png b/gs/html5/vex5/assets/images/text/text-fade-6.png new file mode 100644 index 0000000..3d4f052 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-6.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-7.png b/gs/html5/vex5/assets/images/text/text-fade-7.png new file mode 100644 index 0000000..f8eecd6 Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-7.png differ diff --git a/gs/html5/vex5/assets/images/text/text-fade-8.png b/gs/html5/vex5/assets/images/text/text-fade-8.png new file mode 100644 index 0000000..4050f6a Binary files /dev/null and b/gs/html5/vex5/assets/images/text/text-fade-8.png differ diff --git a/gs/html5/vex5/assets/images/vex-logo.png b/gs/html5/vex5/assets/images/vex-logo.png new file mode 100644 index 0000000..3353431 Binary files /dev/null and b/gs/html5/vex5/assets/images/vex-logo.png differ diff --git a/gs/html5/vex5/assets/images/windows/achievement-unlocked.png b/gs/html5/vex5/assets/images/windows/achievement-unlocked.png new file mode 100644 index 0000000..ae55690 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/achievement-unlocked.png differ diff --git a/gs/html5/vex5/assets/images/windows/achievements-window.png b/gs/html5/vex5/assets/images/windows/achievements-window.png new file mode 100644 index 0000000..0235560 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/achievements-window.png differ diff --git a/gs/html5/vex5/assets/images/windows/act-select-small.png b/gs/html5/vex5/assets/images/windows/act-select-small.png new file mode 100644 index 0000000..cf25d81 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/act-select-small.png differ diff --git a/gs/html5/vex5/assets/images/windows/act-select-window.png b/gs/html5/vex5/assets/images/windows/act-select-window.png new file mode 100644 index 0000000..7d6c30f Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/act-select-window.png differ diff --git a/gs/html5/vex5/assets/images/windows/options-window.png b/gs/html5/vex5/assets/images/windows/options-window.png new file mode 100644 index 0000000..76aeb87 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/options-window.png differ diff --git a/gs/html5/vex5/assets/images/windows/pause-window-small.png b/gs/html5/vex5/assets/images/windows/pause-window-small.png new file mode 100644 index 0000000..075d9b9 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/pause-window-small.png differ diff --git a/gs/html5/vex5/assets/images/windows/stuck-window.png b/gs/html5/vex5/assets/images/windows/stuck-window.png new file mode 100644 index 0000000..15b7134 Binary files /dev/null and b/gs/html5/vex5/assets/images/windows/stuck-window.png differ diff --git a/gs/html5/vex5/assets/sounds/achievementUnlocked.ogg b/gs/html5/vex5/assets/sounds/achievementUnlocked.ogg new file mode 100644 index 0000000..7929312 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/achievementUnlocked.ogg differ diff --git a/gs/html5/vex5/assets/sounds/blockDestroy.ogg b/gs/html5/vex5/assets/sounds/blockDestroy.ogg new file mode 100644 index 0000000..24ac41a Binary files /dev/null and b/gs/html5/vex5/assets/sounds/blockDestroy.ogg differ diff --git a/gs/html5/vex5/assets/sounds/bounce1.ogg b/gs/html5/vex5/assets/sounds/bounce1.ogg new file mode 100644 index 0000000..2d60f39 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/bounce1.ogg differ diff --git a/gs/html5/vex5/assets/sounds/buttonClick.ogg b/gs/html5/vex5/assets/sounds/buttonClick.ogg new file mode 100644 index 0000000..3aa3207 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/buttonClick.ogg differ diff --git a/gs/html5/vex5/assets/sounds/cannonEnter.ogg b/gs/html5/vex5/assets/sounds/cannonEnter.ogg new file mode 100644 index 0000000..33cc7c2 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/cannonEnter.ogg differ diff --git a/gs/html5/vex5/assets/sounds/cannonFire.ogg b/gs/html5/vex5/assets/sounds/cannonFire.ogg new file mode 100644 index 0000000..7b6bcaf Binary files /dev/null and b/gs/html5/vex5/assets/sounds/cannonFire.ogg differ diff --git a/gs/html5/vex5/assets/sounds/connect.ogg b/gs/html5/vex5/assets/sounds/connect.ogg new file mode 100644 index 0000000..6da3d6d Binary files /dev/null and b/gs/html5/vex5/assets/sounds/connect.ogg differ diff --git a/gs/html5/vex5/assets/sounds/connectHang.ogg b/gs/html5/vex5/assets/sounds/connectHang.ogg new file mode 100644 index 0000000..a9a0455 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/connectHang.ogg differ diff --git a/gs/html5/vex5/assets/sounds/death1.ogg b/gs/html5/vex5/assets/sounds/death1.ogg new file mode 100644 index 0000000..284473e Binary files /dev/null and b/gs/html5/vex5/assets/sounds/death1.ogg differ diff --git a/gs/html5/vex5/assets/sounds/death2.ogg b/gs/html5/vex5/assets/sounds/death2.ogg new file mode 100644 index 0000000..e67314e Binary files /dev/null and b/gs/html5/vex5/assets/sounds/death2.ogg differ diff --git a/gs/html5/vex5/assets/sounds/ding.ogg b/gs/html5/vex5/assets/sounds/ding.ogg new file mode 100644 index 0000000..64a38d9 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/ding.ogg differ diff --git a/gs/html5/vex5/assets/sounds/downgrade.ogg b/gs/html5/vex5/assets/sounds/downgrade.ogg new file mode 100644 index 0000000..fb0546e Binary files /dev/null and b/gs/html5/vex5/assets/sounds/downgrade.ogg differ diff --git a/gs/html5/vex5/assets/sounds/electricity.ogg b/gs/html5/vex5/assets/sounds/electricity.ogg new file mode 100644 index 0000000..4174053 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/electricity.ogg differ diff --git a/gs/html5/vex5/assets/sounds/fall.ogg b/gs/html5/vex5/assets/sounds/fall.ogg new file mode 100644 index 0000000..10a4d45 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/fall.ogg differ diff --git a/gs/html5/vex5/assets/sounds/fallingBlock.ogg b/gs/html5/vex5/assets/sounds/fallingBlock.ogg new file mode 100644 index 0000000..343cf7d Binary files /dev/null and b/gs/html5/vex5/assets/sounds/fallingBlock.ogg differ diff --git a/gs/html5/vex5/assets/sounds/footstep.ogg b/gs/html5/vex5/assets/sounds/footstep.ogg new file mode 100644 index 0000000..2e46dcd Binary files /dev/null and b/gs/html5/vex5/assets/sounds/footstep.ogg differ diff --git a/gs/html5/vex5/assets/sounds/glassSmash.ogg b/gs/html5/vex5/assets/sounds/glassSmash.ogg new file mode 100644 index 0000000..912932a Binary files /dev/null and b/gs/html5/vex5/assets/sounds/glassSmash.ogg differ diff --git a/gs/html5/vex5/assets/sounds/kickBlock.ogg b/gs/html5/vex5/assets/sounds/kickBlock.ogg new file mode 100644 index 0000000..6243050 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/kickBlock.ogg differ diff --git a/gs/html5/vex5/assets/sounds/land.ogg b/gs/html5/vex5/assets/sounds/land.ogg new file mode 100644 index 0000000..ef1749a Binary files /dev/null and b/gs/html5/vex5/assets/sounds/land.ogg differ diff --git a/gs/html5/vex5/assets/sounds/laserFire.ogg b/gs/html5/vex5/assets/sounds/laserFire.ogg new file mode 100644 index 0000000..e0d2bd2 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/laserFire.ogg differ diff --git a/gs/html5/vex5/assets/sounds/menuSong.ogg b/gs/html5/vex5/assets/sounds/menuSong.ogg new file mode 100644 index 0000000..c80cd5e Binary files /dev/null and b/gs/html5/vex5/assets/sounds/menuSong.ogg differ diff --git a/gs/html5/vex5/assets/sounds/poleSwing.ogg b/gs/html5/vex5/assets/sounds/poleSwing.ogg new file mode 100644 index 0000000..35d0eaa Binary files /dev/null and b/gs/html5/vex5/assets/sounds/poleSwing.ogg differ diff --git a/gs/html5/vex5/assets/sounds/poleWoosh.ogg b/gs/html5/vex5/assets/sounds/poleWoosh.ogg new file mode 100644 index 0000000..a5d525e Binary files /dev/null and b/gs/html5/vex5/assets/sounds/poleWoosh.ogg differ diff --git a/gs/html5/vex5/assets/sounds/slide.ogg b/gs/html5/vex5/assets/sounds/slide.ogg new file mode 100644 index 0000000..c801c2d Binary files /dev/null and b/gs/html5/vex5/assets/sounds/slide.ogg differ diff --git a/gs/html5/vex5/assets/sounds/splash1.ogg b/gs/html5/vex5/assets/sounds/splash1.ogg new file mode 100644 index 0000000..ae6e139 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/splash1.ogg differ diff --git a/gs/html5/vex5/assets/sounds/starPickup.ogg b/gs/html5/vex5/assets/sounds/starPickup.ogg new file mode 100644 index 0000000..b6d9e12 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/starPickup.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong1.ogg b/gs/html5/vex5/assets/sounds/vexSong1.ogg new file mode 100644 index 0000000..e2e7540 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong1.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong10.ogg b/gs/html5/vex5/assets/sounds/vexSong10.ogg new file mode 100644 index 0000000..7253e39 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong10.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong11.ogg b/gs/html5/vex5/assets/sounds/vexSong11.ogg new file mode 100644 index 0000000..3494200 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong11.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong12.ogg b/gs/html5/vex5/assets/sounds/vexSong12.ogg new file mode 100644 index 0000000..b5fa4d0 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong12.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong13.ogg b/gs/html5/vex5/assets/sounds/vexSong13.ogg new file mode 100644 index 0000000..864a43f Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong13.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong14.ogg b/gs/html5/vex5/assets/sounds/vexSong14.ogg new file mode 100644 index 0000000..8c546f2 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong14.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong2.ogg b/gs/html5/vex5/assets/sounds/vexSong2.ogg new file mode 100644 index 0000000..0ecb7e4 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong2.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong3.ogg b/gs/html5/vex5/assets/sounds/vexSong3.ogg new file mode 100644 index 0000000..9d6a70d Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong3.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong4.ogg b/gs/html5/vex5/assets/sounds/vexSong4.ogg new file mode 100644 index 0000000..4b284b3 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong4.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong5.ogg b/gs/html5/vex5/assets/sounds/vexSong5.ogg new file mode 100644 index 0000000..8ec4727 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong5.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong6.ogg b/gs/html5/vex5/assets/sounds/vexSong6.ogg new file mode 100644 index 0000000..37adfc7 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong6.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong7.ogg b/gs/html5/vex5/assets/sounds/vexSong7.ogg new file mode 100644 index 0000000..c88cb37 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong7.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong8.ogg b/gs/html5/vex5/assets/sounds/vexSong8.ogg new file mode 100644 index 0000000..7a42259 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong8.ogg differ diff --git a/gs/html5/vex5/assets/sounds/vexSong9.ogg b/gs/html5/vex5/assets/sounds/vexSong9.ogg new file mode 100644 index 0000000..c3af25c Binary files /dev/null and b/gs/html5/vex5/assets/sounds/vexSong9.ogg differ diff --git a/gs/html5/vex5/assets/sounds/wallSlide.ogg b/gs/html5/vex5/assets/sounds/wallSlide.ogg new file mode 100644 index 0000000..699605f Binary files /dev/null and b/gs/html5/vex5/assets/sounds/wallSlide.ogg differ diff --git a/gs/html5/vex5/assets/sounds/ziplineFull.ogg b/gs/html5/vex5/assets/sounds/ziplineFull.ogg new file mode 100644 index 0000000..a551fb3 Binary files /dev/null and b/gs/html5/vex5/assets/sounds/ziplineFull.ogg differ diff --git a/gs/html5/vex5/assets/ui/ui_act_select.json b/gs/html5/vex5/assets/ui/ui_act_select.json new file mode 100644 index 0000000..8b14a10 --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_act_select.json @@ -0,0 +1,693 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "container", + "children": [ + { + "name": "title" + }, + { + "name": "close" + }, + { + "name": "act1", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act2", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act3", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act4", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act5", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act6", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act7", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act8", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act9", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_unlock" + } + ] + } + ] + }, + { + "name": "act10", + "children": [ + { + "name": "empty_container", + "children": [ + { + "name": "trophy_unlock" + }, + { + "name": "star_unlock" + } + ] + } + ] + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "container": { + "file": "as_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "CENTER", + "offset": { + "x": 2.7, + "y": 4 + } + } + }, + "container/title": { + "font": { + "name": "milocha", + "fontSize": 44 + }, + "text": "Act Select", + "align": "center", + "position": { + "x": -261.9, + "y": -131.9 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/close": { + "file": "as_close_button.png", + "image": "SIMPLE", + "position": { + "x": 265.8, + "y": -141.3 + }, + "type": "button" + }, + "container/act1": { + "file": "as_act1_base.png", + "image": "SIMPLE", + "position": { + "x": -226.4, + "y": -20.6 + }, + "type": "sprite" + }, + "container/act1/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.5, + "y": 10.3 + }, + "type": "sprite" + }, + "container/act1/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act1/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.9, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act1/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act2": { + "file": "as_act2_base.png", + "image": "SIMPLE", + "position": { + "x": -115.5, + "y": -22.6 + }, + "type": "sprite" + }, + "container/act2/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.5, + "y": 12.8 + }, + "type": "sprite" + }, + "container/act2/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act2/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act2/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act3": { + "file": "as_act3_base.png", + "image": "SIMPLE", + "position": { + "x": -4.7, + "y": -22.6 + }, + "type": "sprite" + }, + "container/act3/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.9, + "y": 12.4 + }, + "type": "sprite" + }, + "container/act3/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act3/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act3/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act4": { + "file": "as_act4_base.png", + "image": "SIMPLE", + "position": { + "x": 106.2, + "y": -22.6 + }, + "type": "sprite" + }, + "container/act4/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -2.2, + "y": 12.8 + }, + "type": "sprite" + }, + "container/act4/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act4/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act4/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act5": { + "file": "as_act5_base.png", + "image": "SIMPLE", + "position": { + "x": 217.1, + "y": -21.3 + }, + "type": "sprite" + }, + "container/act5/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -2.1, + "y": 10.9 + }, + "type": "sprite" + }, + "container/act5/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act5/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act5/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act6": { + "file": "as_act6_base.png", + "image": "SIMPLE", + "position": { + "x": -226.7, + "y": 75.9 + }, + "type": "sprite" + }, + "container/act6/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.5, + "y": 10.9 + }, + "type": "sprite" + }, + "container/act6/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act6/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act6/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act7": { + "file": "as_act7_base.png", + "image": "SIMPLE", + "position": { + "x": -115.9, + "y": 75.9 + }, + "type": "sprite" + }, + "container/act7/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.8, + "y": 11 + }, + "type": "sprite" + }, + "container/act7/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act7/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act7/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act8": { + "file": "as_act8_base.png", + "image": "SIMPLE", + "position": { + "x": -5, + "y": 75.9 + }, + "type": "sprite" + }, + "container/act8/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -1.5, + "y": 11.3 + }, + "type": "sprite" + }, + "container/act8/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act8/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act8/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act9": { + "file": "as_act9_base.png", + "image": "SIMPLE", + "position": { + "x": 105.8, + "y": 75.9 + }, + "type": "sprite" + }, + "container/act9/empty_container": { + "file": "act_lock_container.png", + "image": "SIMPLE", + "position": { + "x": -2.3, + "y": 11.2 + }, + "type": "sprite" + }, + "container/act9/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 7.7 + }, + "type": "sprite" + }, + "container/act9/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": 6.8 + }, + "type": "sprite" + }, + "container/act9/empty_container/hardcore_unlock": { + "file": "act_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": 0.4, + "y": -11.5 + }, + "type": "sprite" + }, + "container/act10": { + "file": "as_act10_base.png", + "image": "SIMPLE", + "position": { + "x": 216.6, + "y": 75.9 + }, + "type": "sprite" + }, + "container/act10/empty_container": { + "file": "act_lock_container_10.png", + "image": "SIMPLE", + "position": { + "x": -2.1, + "y": 11.2 + }, + "type": "sprite" + }, + "container/act10/empty_container/trophy_unlock": { + "file": "act_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -11.2, + "y": 1 + }, + "type": "sprite" + }, + "container/act10/empty_container/star_unlock": { + "file": "act_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": 11.5, + "y": -0.6 + }, + "type": "sprite" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_gameplay.json b/gs/html5/vex5/assets/ui/ui_gameplay.json new file mode 100644 index 0000000..4486e56 --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_gameplay.json @@ -0,0 +1,841 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "level_container", + "children": [ + { + "name": "level" + }, + { + "name": "total_deaths" + } + ] + }, + { + "name": "time_container", + "children": [ + { + "name": "time" + }, + { + "name": "progress_container", + "children": [ + { + "name": "time_coin" + }, + { + "name": "coin" + }, + { + "name": "progress_percentage" + }, + { + "name": "progress_bar_bg", + "children": [ + { + "name": "progress_bar" + } + ] + } + ] + }, + { + "name": "pause" + } + ] + }, + { + "name": "tnt_container", + "children": [ + { + "name": "title" + }, + { + "name": "tnt_text" + }, + { + "name": "bg_bar" + }, + { + "name": "bar" + } + ] + }, + { + "name": "floor_container", + "children": [ + { + "name": "title" + }, + { + "name": "floor_text" + } + ] + }, + { + "name": "challenge_container", + "children": [ + { + "name": "level" + }, + { + "name": "total_deaths" + } + ] + }, + { + "name": "level_hub_container", + "children": [ + { + "name": "trophy_lock" + }, + { + "name": "trophy_unlock" + }, + { + "name": "star_lock" + }, + { + "name": "star_unlock" + }, + { + "name": "hardcore_lock" + }, + { + "name": "hardcore_unlock" + }, + { + "name": "act" + }, + { + "name": "your_time_text" + }, + { + "name": "your_time" + }, + { + "name": "gold_time_text" + }, + { + "name": "gold_time" + }, + { + "name": "silver_time" + }, + { + "name": "bronze_time" + }, + { + "name": "silver_time_text" + }, + { + "name": "bronze_time_text" + } + ] + }, + { + "name": "challenge_room_container", + "children": [ + { + "name": "trophy_lock" + }, + { + "name": "trophy_unlock" + }, + { + "name": "title" + }, + { + "name": "floors_text" + }, + { + "name": "floors" + }, + { + "name": "your_time" + }, + { + "name": "your_time_text" + } + ] + }, + { + "name": "achievement_container", + "children": [ + { + "name": "title" + }, + { + "name": "description" + }, + { + "name": "image" + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "level_container": { + "file": "gp_level_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_LEFT", + "offset": { + "x": 2.8, + "y": 1.2 + } + } + }, + "level_container/level": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "Act 1", + "align": "center", + "position": { + "x": -60.8, + "y": -24.3 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "level_container/total_deaths": { + "font": { + "name": "milocha", + "fontSize": 18 + }, + "text": "x199", + "align": "center", + "position": { + "x": -29.2, + "y": 12.9 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "time_container": { + "file": "gp_time_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_RIGHT", + "offset": { + "x": 0.6, + "y": 0.6 + } + } + }, + "time_container/time": { + "font": { + "name": "milocha", + "fontSize": 26 + }, + "text": "00:00:00", + "align": "center", + "position": { + "x": 7.3, + "y": -9.1 + }, + "type": "text" + }, + "time_container/progress_container": { + "file": "gp_time_container1.png", + "image": "SIMPLE", + "position": { + "x": 8.3, + "y": 30.1 + }, + "type": "sprite" + }, + "time_container/progress_container/time_coin": { + "font": { + "name": "milocha", + "fontSize": 20 + }, + "text": "00:00:00", + "align": "center", + "position": { + "x": 10.9, + "y": -3.5 + }, + "type": "text" + }, + "time_container/progress_container/coin": { + "file": "gold.png", + "image": "SIMPLE", + "position": { + "x": -47, + "y": -4.8 + }, + "type": "sprite" + }, + "time_container/progress_container/progress_percentage": { + "font": { + "name": "milocha", + "fontSize": 22 + }, + "text": "100%", + "align": "center", + "position": { + "x": 33.7, + "y": -4.4 + }, + "type": "text" + }, + "time_container/progress_container/progress_bar_bg": { + "file": "gp_bar_bg.png", + "image": "SIMPLE", + "position": { + "x": -24.9, + "y": -6.7 + }, + "scale": { + "x": 0.8, + "y": 1 + }, + "type": "sprite" + }, + "time_container/progress_container/progress_bar_bg/progress_bar": { + "file": "gp_bar.png", + "image": "SIMPLE", + "position": { + "x": -40.5, + "y": 0 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "sprite" + }, + "time_container/pause": { + "file": "gp_pause_button.png", + "image": "SIMPLE", + "position": { + "x": 34.9, + "y": 77.5 + }, + "type": "button" + }, + "tnt_container": { + "file": "gp_tnt.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_CENTER", + "offset": { + "x": 0, + "y": 0.8 + } + } + }, + "tnt_container/title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "TNT", + "align": "center", + "position": { + "x": 0, + "y": -19.3 + }, + "type": "text" + }, + "tnt_container/tnt_text": { + "font": { + "name": "milocha", + "fontSize": 20 + }, + "text": "10%", + "align": "center", + "position": { + "x": 39.7, + "y": 11.9 + }, + "type": "text" + }, + "tnt_container/bg_bar": { + "file": "gp_tnt_bar0.png", + "image": "SIMPLE", + "position": { + "x": -19.5, + "y": 10.3 + }, + "type": "sprite" + }, + "tnt_container/bar": { + "file": "gp_tnt_bar1.png", + "image": "SIMPLE", + "position": { + "x": 21, + "y": 10.3 + }, + "anchor": { + "x": 1, + "y": 0.5 + }, + "type": "sprite" + }, + "floor_container": { + "file": "cr_floor_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_CENTER", + "offset": { + "x": 0, + "y": 0.9 + } + } + }, + "floor_container/title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "FLOOR", + "align": "center", + "position": { + "x": -3.7, + "y": -20.8 + }, + "type": "text" + }, + "floor_container/floor_text": { + "font": { + "name": "milocha", + "fontSize": 20 + }, + "text": "01/30", + "align": "center", + "position": { + "x": -3.7, + "y": 11.1 + }, + "type": "text" + }, + "challenge_container": { + "file": "cr_level_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_LEFT", + "offset": { + "x": 2.6, + "y": 1.8 + } + } + }, + "challenge_container/level": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "Challenge Room", + "align": "center", + "position": { + "x": -101.9, + "y": -22.5 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "challenge_container/total_deaths": { + "font": { + "name": "milocha", + "fontSize": 18 + }, + "text": "x199", + "align": "center", + "position": { + "x": -56.5, + "y": 14.8 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "level_hub_container": { + "file": "lvl_hub_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "BOTTOM_LEFT", + "offset": { + "x": 1.1, + "y": 6.7 + } + } + }, + "level_hub_container/trophy_lock": { + "file": "lvl_hub_trophy_lock.png", + "image": "SIMPLE", + "position": { + "x": -198.4, + "y": 19.5 + }, + "type": "sprite" + }, + "level_hub_container/trophy_unlock": { + "file": "lvl_hub_trophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -198.4, + "y": 19.5 + }, + "type": "sprite" + }, + "level_hub_container/star_lock": { + "file": "lvl_hub_star_lock.png", + "image": "SIMPLE", + "position": { + "x": -139.1, + "y": 19.3 + }, + "type": "sprite" + }, + "level_hub_container/star_unlock": { + "file": "lvl_hub_star_unlock.png", + "image": "SIMPLE", + "position": { + "x": -139.1, + "y": 19.3 + }, + "type": "sprite" + }, + "level_hub_container/hardcore_lock": { + "file": "lvl_hub_hardcore_lock.png", + "image": "SIMPLE", + "position": { + "x": -79.6, + "y": 17 + }, + "type": "sprite" + }, + "level_hub_container/hardcore_unlock": { + "file": "lvl_hub_hardcore_unlock.png", + "image": "SIMPLE", + "position": { + "x": -79.6, + "y": 17 + }, + "type": "sprite" + }, + "level_hub_container/act": { + "font": { + "name": "milocha", + "fontSize": 31 + }, + "text": "Act 1", + "align": "center", + "position": { + "x": -222.6, + "y": -31.1 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "color": "#f8d53a", + "type": "text" + }, + "level_hub_container/your_time_text": { + "font": { + "name": "milocha", + "fontSize": 33 + }, + "text": "Your Time:", + "align": "center", + "position": { + "x": -29.2, + "y": -32.7 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "level_hub_container/your_time": { + "font": { + "name": "milocha", + "fontSize": 33 + }, + "text": "01:20", + "align": "center", + "position": { + "x": 133.4, + "y": -31.7 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "level_hub_container/gold_time_text": { + "font": { + "name": "milocha", + "fontSize": 19 + }, + "text": "Gold", + "align": "center", + "stroke": "#613f00", + "strokeThickness": 4, + "position": { + "x": 45.4, + "y": 8.7 + }, + "color": "#ffe000", + "type": "text" + }, + "level_hub_container/gold_time": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "00:25", + "align": "center", + "position": { + "x": 45.4, + "y": 29.8 + }, + "type": "text" + }, + "level_hub_container/silver_time": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "00:25", + "align": "center", + "position": { + "x": 109.9, + "y": 29.8 + }, + "type": "text" + }, + "level_hub_container/bronze_time": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "00:25", + "align": "center", + "position": { + "x": 175.6, + "y": 29.8 + }, + "type": "text" + }, + "level_hub_container/silver_time_text": { + "font": { + "name": "milocha", + "fontSize": 19 + }, + "text": "Silver", + "align": "center", + "stroke": "#07323a", + "strokeThickness": 4, + "position": { + "x": 109.9, + "y": 8.7 + }, + "color": "#a6d4d9", + "type": "text" + }, + "level_hub_container/bronze_time_text": { + "font": { + "name": "milocha", + "fontSize": 19 + }, + "text": "Bronze", + "align": "center", + "stroke": "#4a1f00", + "strokeThickness": 4, + "position": { + "x": 175.6, + "y": 8.7 + }, + "color": "#ff8800", + "type": "text" + }, + "challenge_room_container": { + "file": "cr_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "BOTTOM_LEFT", + "offset": { + "x": 1.5, + "y": 1.6 + } + } + }, + "challenge_room_container/trophy_lock": { + "file": "cr_tophy_lock.png", + "image": "SIMPLE", + "position": { + "x": -190.3, + "y": 18.6 + }, + "type": "sprite" + }, + "challenge_room_container/trophy_unlock": { + "file": "cr_tophy_unlock.png", + "image": "SIMPLE", + "position": { + "x": -190.3, + "y": 22.5 + }, + "type": "sprite" + }, + "challenge_room_container/title": { + "font": { + "name": "milocha", + "fontSize": 31 + }, + "text": "CHALLENGE ROOM", + "align": "center", + "position": { + "x": -220.9, + "y": -26 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "color": "#f8d53a", + "type": "text" + }, + "challenge_room_container/floors_text": { + "font": { + "name": "milocha", + "fontSize": 19 + }, + "text": "Floors:", + "align": "center", + "position": { + "x": 50, + "y": 9.4 + }, + "color": "#f8d53a", + "type": "text" + }, + "challenge_room_container/floors": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "05/30", + "align": "center", + "position": { + "x": 50, + "y": 30.5 + }, + "type": "text" + }, + "challenge_room_container/your_time": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "00:25", + "align": "center", + "position": { + "x": 164.7, + "y": 30.5 + }, + "type": "text" + }, + "challenge_room_container/your_time_text": { + "font": { + "name": "milocha", + "fontSize": 19 + }, + "text": "Your Time:", + "align": "center", + "position": { + "x": 164.7, + "y": 9.4 + }, + "color": "#f8d53a", + "type": "text" + }, + "achievement_container": { + "file": "gp_achievement_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "BOTTOM_RIGHT", + "offset": { + "x": 3.4, + "y": -390.6 + } + } + }, + "achievement_container/title": { + "font": { + "name": "milocha", + "fontSize": 14 + }, + "text": "Achievements unlocked!", + "align": "center", + "position": { + "x": 0.1, + "y": -28.3 + }, + "type": "text" + }, + "achievement_container/description": { + "font": { + "name": "milocha", + "fontSize": 14 + }, + "text": "Thanks\nBox !", + "align": "left", + "position": { + "x": 0.9, + "y": 5.2 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "achievement_container/image": { + "file": "trop_star2_unlock.png", + "image": "SIMPLE", + "position": { + "x": -38.3, + "y": 5 + }, + "type": "sprite" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_lvl_complete.json b/gs/html5/vex5/assets/ui/ui_lvl_complete.json new file mode 100644 index 0000000..10dc7f1 --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_lvl_complete.json @@ -0,0 +1,131 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "container", + "children": [ + { + "name": "title" + }, + { + "name": "close" + }, + { + "name": "play" + }, + { + "name": "trophies" + }, + { + "name": "reload" + }, + { + "name": "image" + }, + { + "name": "time" + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "container": { + "file": "gp_difficulty_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "CENTER", + "offset": { + "x": -2.8, + "y": 23.1 + } + } + }, + "container/title": { + "font": { + "name": "milocha", + "fontSize": 45, + "lineHeight": 45 + }, + "text": "Level Complete", + "align": "center", + "position": { + "x": -14, + "y": -144 + }, + "type": "text" + }, + "container/close": { + "file": "op_close_button.png", + "image": "SIMPLE", + "position": { + "x": 167.1, + "y": -147.7 + }, + "type": "button" + }, + "container/play": { + "file": "pa_play_button.png", + "image": "SIMPLE", + "position": { + "x": 2, + "y": 3 + }, + "type": "button" + }, + "container/trophies": { + "file": "pa_trophies_button.png", + "image": "SIMPLE", + "position": { + "x": -56, + "y": 105.6 + }, + "type": "button" + }, + "container/reload": { + "file": "pa_reload_button.png", + "image": "SIMPLE", + "position": { + "x": 65, + "y": 103.6 + }, + "type": "button" + }, + "container/image": { + "file": "perfect.png", + "image": "SIMPLE", + "position": { + "x": -120.3, + "y": -72.9 + }, + "scale": { + "x": 1.2, + "y": 1.2 + }, + "type": "sprite" + }, + "container/time": { + "font": { + "name": "milocha", + "fontSize": 44, + "lineHeight": 44 + }, + "text": "00:00:00", + "align": "center", + "position": { + "x": 2, + "y": -71 + }, + "type": "text" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_main_menu.json b/gs/html5/vex5/assets/ui/ui_main_menu.json new file mode 100644 index 0000000..0191e47 --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_main_menu.json @@ -0,0 +1,106 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "decor" + }, + { + "name": "logo" + }, + { + "name": "play" + }, + { + "name": "trophies" + }, + { + "name": "settings" + }, + { + "name": "challenge" + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "decor": { + "file": "mm_decor.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "BOTTOM_CENTER", + "offset": { + "x": 0, + "y": 0.7 + } + } + }, + "logo": { + "file": "mm_logo.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "TOP_CENTER", + "offset": { + "x": 0, + "y": -104 + } + } + }, + "play": { + "file": "mm_play_buttton.png", + "image": "SIMPLE", + "type": "button", + "alignment": { + "type": "BOTTOM_CENTER", + "offset": { + "x": 0, + "y": -69 + } + } + }, + "trophies": { + "file": "mm_trophy_button.png", + "image": "SIMPLE", + "type": "button", + "alignment": { + "type": "BOTTOM_CENTER", + "offset": { + "x": -193, + "y": -93.5 + } + } + }, + "settings": { + "file": "mm_settings_button.png", + "image": "SIMPLE", + "type": "button", + "alignment": { + "type": "TOP_RIGHT", + "offset": { + "x": "-2%", + "y": -13 + } + } + }, + "challenge": { + "file": "mm_challenge_room_button.png", + "image": "SIMPLE", + "type": "button", + "alignment": { + "type": "BOTTOM_CENTER", + "offset": { + "x": 190, + "y": -94.5 + } + } + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_options.json b/gs/html5/vex5/assets/ui/ui_options.json new file mode 100644 index 0000000..5769ddc --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_options.json @@ -0,0 +1,197 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "container", + "children": [ + { + "name": "title" + }, + { + "name": "close" + }, + { + "name": "sfx_title" + }, + { + "name": "sfx_button", + "children": [ + { + "name": "sfx_text" + } + ] + }, + { + "name": "check_box" + }, + { + "name": "check" + }, + { + "name": "auto_save_text" + }, + { + "name": "music_title" + }, + { + "name": "music_button", + "children": [ + { + "name": "music_text" + } + ] + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "container": { + "file": "op_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "CENTER", + "offset": { + "x": 6.2, + "y": 5.9 + } + } + }, + "container/title": { + "font": { + "name": "milocha", + "fontSize": 43 + }, + "text": "Options", + "align": "center", + "position": { + "x": -192.8, + "y": -165.8 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/close": { + "file": "op_close_button.png", + "image": "SIMPLE", + "position": { + "x": 210.6, + "y": -173.3 + }, + "type": "button" + }, + "container/sfx_title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "SFX", + "align": "center", + "position": { + "x": 0, + "y": -107.9 + }, + "type": "text" + }, + "container/sfx_button": { + "file": "pa_on_button.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": -66.2 + }, + "type": "button" + }, + "container/sfx_button/sfx_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "ON", + "align": "center", + "position": { + "x": 0, + "y": -0.5 + }, + "type": "text" + }, + "container/check_box": { + "file": "pa_check_box.png", + "image": "SIMPLE", + "position": { + "x": 91.1, + "y": 121.5 + }, + "type": "sprite" + }, + "container/check": { + "file": "pa_check.png", + "image": "SIMPLE", + "position": { + "x": 91.1, + "y": 121.5 + }, + "type": "sprite" + }, + "container/auto_save_text": { + "font": { + "name": "milocha", + "fontSize": 22 + }, + "text": "Auto reset when\nbest time passed", + "align": "center", + "position": { + "x": -25.7, + "y": 121.5 + }, + "type": "text" + }, + "container/music_title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "SFX", + "align": "center", + "position": { + "x": 0, + "y": -1.3 + }, + "type": "text" + }, + "container/music_button": { + "file": "pa_on_button.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": 40.4 + }, + "type": "button" + }, + "container/music_button/music_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "ON", + "align": "center", + "position": { + "x": 0, + "y": -0.5 + }, + "type": "text" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_pause.json b/gs/html5/vex5/assets/ui/ui_pause.json new file mode 100644 index 0000000..809734e --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_pause.json @@ -0,0 +1,241 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "container", + "children": [ + { + "name": "title" + }, + { + "name": "close" + }, + { + "name": "play" + }, + { + "name": "home" + }, + { + "name": "trophies" + }, + { + "name": "reload" + }, + { + "name": "sfx_title" + }, + { + "name": "sfx_button", + "children": [ + { + "name": "sfx_text" + } + ] + }, + { + "name": "check_box" + }, + { + "name": "check" + }, + { + "name": "auto_save_text" + }, + { + "name": "music_title" + }, + { + "name": "music_button", + "children": [ + { + "name": "music_text" + } + ] + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "container": { + "file": "pa_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "CENTER", + "offset": { + "x": -2.8, + "y": 23.1 + } + } + }, + "container/title": { + "font": { + "name": "milocha", + "fontSize": 64 + }, + "text": "PAUSE", + "align": "center", + "position": { + "x": 4.6, + "y": -220.7 + }, + "type": "text" + }, + "container/close": { + "file": "op_close_button.png", + "image": "SIMPLE", + "position": { + "x": 193.7, + "y": -229.4 + }, + "type": "button" + }, + "container/play": { + "file": "pa_play_button.png", + "image": "SIMPLE", + "position": { + "x": 2.4, + "y": -125.9 + }, + "type": "button" + }, + "container/home": { + "file": "pa_home_button.png", + "image": "SIMPLE", + "position": { + "x": -119.6, + "y": -13.3 + }, + "type": "button" + }, + "container/trophies": { + "file": "pa_trophies_button.png", + "image": "SIMPLE", + "position": { + "x": 3.5, + "y": -12.4 + }, + "type": "button" + }, + "container/reload": { + "file": "pa_reload_button.png", + "image": "SIMPLE", + "position": { + "x": 124.6, + "y": -13.8 + }, + "type": "button" + }, + "container/sfx_title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "SFX", + "align": "center", + "position": { + "x": -89.1, + "y": 61.7 + }, + "type": "text" + }, + "container/sfx_button": { + "file": "pa_on_button.png", + "image": "SIMPLE", + "position": { + "x": -89.1, + "y": 102.9 + }, + "type": "button" + }, + "container/sfx_button/sfx_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "ON", + "align": "center", + "position": { + "x": 0, + "y": -0.5 + }, + "type": "text" + }, + "container/check_box": { + "file": "pa_check_box.png", + "image": "SIMPLE", + "position": { + "x": 105.4, + "y": 186.3 + }, + "type": "sprite" + }, + "container/check": { + "file": "pa_check.png", + "image": "SIMPLE", + "position": { + "x": 105.4, + "y": 186.3 + }, + "type": "sprite" + }, + "container/auto_save_text": { + "font": { + "name": "milocha", + "fontSize": 22 + }, + "text": "Auto reset when\nbest time passed", + "align": "center", + "position": { + "x": -10.4, + "y": 187.8 + }, + "type": "text" + }, + "container/music_title": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "SFX", + "align": "center", + "position": { + "x": 99.9, + "y": 61.7 + }, + "type": "text" + }, + "container/music_button": { + "file": "pa_on_button.png", + "image": "SIMPLE", + "position": { + "x": 99.9, + "y": 102.9 + }, + "type": "button" + }, + "container/music_button/music_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "ON", + "align": "center", + "position": { + "x": 0, + "y": -0.5 + }, + "type": "text" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/assets/ui/ui_trophies.json b/gs/html5/vex5/assets/ui/ui_trophies.json new file mode 100644 index 0000000..c5aefb2 --- /dev/null +++ b/gs/html5/vex5/assets/ui/ui_trophies.json @@ -0,0 +1,911 @@ +{ + "hierarchy": { + "name": "Canvas", + "children": [ + { + "name": "container", + "children": [ + { + "name": "close" + }, + { + "name": "title" + }, + { + "name": "container1", + "children": [ + { + "name": "standar_acts_text" + }, + { + "name": "standar_acts_bar_bg", + "children": [ + { + "name": "standar_acts_bar" + } + ] + }, + { + "name": "standar_acts_percentage" + }, + { + "name": "act1" + }, + { + "name": "act2" + }, + { + "name": "act3" + }, + { + "name": "act4" + }, + { + "name": "act5" + }, + { + "name": "act6" + }, + { + "name": "act7" + }, + { + "name": "act8" + }, + { + "name": "act9" + }, + { + "name": "act10" + }, + { + "name": "hardcore_text" + }, + { + "name": "hardcore_bar_bg", + "children": [ + { + "name": "hardcore_bar" + } + ] + }, + { + "name": "hardcore_percentage" + }, + { + "name": "star1" + }, + { + "name": "star2" + }, + { + "name": "star3" + }, + { + "name": "star4" + }, + { + "name": "star5" + }, + { + "name": "star6" + }, + { + "name": "star7" + }, + { + "name": "star8" + }, + { + "name": "star9" + }, + { + "name": "star10" + }, + { + "name": "hardcore1" + }, + { + "name": "hardcore2" + }, + { + "name": "hardcore3" + }, + { + "name": "hardcore4" + }, + { + "name": "hardcore5" + }, + { + "name": "hardcore6" + }, + { + "name": "hardcore7" + }, + { + "name": "hardcore8" + }, + { + "name": "hardcore9" + } + ] + }, + { + "name": "container2", + "children": [ + { + "name": "standar_acts_text" + }, + { + "name": "standar_acts_bar_bg", + "children": [ + { + "name": "standar_acts_bar" + } + ] + }, + { + "name": "standar_acts_percentage" + }, + { + "name": "stuff1" + }, + { + "name": "stuff2" + }, + { + "name": "stuff3" + }, + { + "name": "stuff4" + }, + { + "name": "stuff5" + }, + { + "name": "hardcore_text" + }, + { + "name": "hardcore_bar_bg", + "children": [ + { + "name": "hardcore_bar" + } + ] + }, + { + "name": "hardcore_percentage" + }, + { + "name": "completion1" + }, + { + "name": "completion2" + }, + { + "name": "completion3" + }, + { + "name": "completion4" + }, + { + "name": "completion5" + } + ] + }, + { + "name": "1_2" + }, + { + "name": "2_2" + }, + { + "name": "description" + }, + { + "name": "back_arrow" + }, + { + "name": "next_arrow" + } + ] + } + ] + }, + "properties": { + "Canvas": { + "design": { + "width": 960, + "height": 640 + }, + "type": "canvas" + }, + "container": { + "file": "trop_container.png", + "image": "SIMPLE", + "type": "sprite", + "alignment": { + "type": "CENTER", + "offset": { + "x": 5.7, + "y": 0.9 + } + } + }, + "container/close": { + "file": "trop_close.png", + "image": "SIMPLE", + "position": { + "x": 250.1, + "y": -281.8 + }, + "type": "button" + }, + "container/title": { + "font": { + "name": "milocha", + "fontSize": 44 + }, + "text": "Trophies", + "align": "center", + "position": { + "x": -231.2, + "y": -275.5 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container1": { + "position": { + "x": 0, + "y": 0 + }, + "type": "container" + }, + "container/container1/standar_acts_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "Standar Acts", + "align": "center", + "position": { + "x": -251.5, + "y": -219.4 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container1/standar_acts_bar_bg": { + "file": "trop_bar_bg.png", + "image": "SIMPLE", + "position": { + "x": 141.2, + "y": -222.8 + }, + "type": "sprite" + }, + "container/container1/standar_acts_bar_bg/standar_acts_bar": { + "file": "trop_bar.png", + "image": "SIMPLE", + "position": { + "x": -89, + "y": 0 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "sprite" + }, + "container/container1/standar_acts_percentage": { + "font": { + "name": "milocha", + "fontSize": 25 + }, + "text": "5/10", + "align": "center", + "position": { + "x": -5.4, + "y": -222.1 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container1/act1": { + "file": "trop_act1_lock.png", + "image": "SIMPLE", + "position": { + "x": -193, + "y": -155.9 + }, + "type": "sprite" + }, + "container/container1/act2": { + "file": "trop_act2_lock.png", + "image": "SIMPLE", + "position": { + "x": -99.5, + "y": -155.9 + }, + "type": "sprite" + }, + "container/container1/act3": { + "file": "trop_act3_lock.png", + "image": "SIMPLE", + "position": { + "x": -5.9, + "y": -155.9 + }, + "type": "sprite" + }, + "container/container1/act4": { + "file": "trop_act4_lock.png", + "image": "SIMPLE", + "position": { + "x": 87.6, + "y": -155.9 + }, + "type": "sprite" + }, + "container/container1/act5": { + "file": "trop_act5_lock.png", + "image": "SIMPLE", + "position": { + "x": 181.1, + "y": -155.9 + }, + "type": "sprite" + }, + "container/container1/act6": { + "file": "trop_act6_lock.png", + "image": "SIMPLE", + "position": { + "x": -195.9, + "y": -85.9 + }, + "type": "sprite" + }, + "container/container1/act7": { + "file": "trop_act7_lock.png", + "image": "SIMPLE", + "position": { + "x": -101.8, + "y": -85.9 + }, + "type": "sprite" + }, + "container/container1/act8": { + "file": "trop_act8_lock.png", + "image": "SIMPLE", + "position": { + "x": -7.5, + "y": -85.9 + }, + "type": "sprite" + }, + "container/container1/act9": { + "file": "trop_act9_lock.png", + "image": "SIMPLE", + "position": { + "x": 86.5, + "y": -85.9 + }, + "type": "sprite" + }, + "container/container1/act10": { + "file": "trop_act10_lock.png", + "image": "SIMPLE", + "position": { + "x": 180.1, + "y": -86 + }, + "type": "sprite" + }, + "container/container1/hardcore_text": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "Hardcore", + "align": "center", + "position": { + "x": -252.6, + "y": -14.6 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container1/hardcore_bar_bg": { + "file": "trop_bar_bg.png", + "image": "SIMPLE", + "position": { + "x": 140.9, + "y": -17 + }, + "type": "sprite" + }, + "container/container1/hardcore_bar_bg/hardcore_bar": { + "file": "trop_bar.png", + "image": "SIMPLE", + "position": { + "x": -89, + "y": 0 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "sprite" + }, + "container/container1/hardcore_percentage": { + "font": { + "name": "milocha", + "fontSize": 25 + }, + "text": "2/19", + "align": "center", + "position": { + "x": -1.2, + "y": -16.1 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container1/star1": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": -228.5, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star2": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": -179.7, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star3": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": -131, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star4": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": -82.2, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star5": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": -33.4, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star6": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": 15.3, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star7": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": 64.1, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star8": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": 112.9, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star9": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": 161.6, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/star10": { + "file": "trop_star1_lock.png", + "image": "SIMPLE", + "position": { + "x": 210.4, + "y": 52.5 + }, + "type": "sprite" + }, + "container/container1/hardcore1": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": -226.8, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore2": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": -171.6, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore3": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": -116.4, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore4": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": -61.2, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore5": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": -6, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore6": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": 49.2, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore7": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": 104.4, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore8": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": 159.6, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container1/hardcore9": { + "file": "trop_hard_mode1_lock.png", + "image": "SIMPLE", + "position": { + "x": 214.8, + "y": 118.3 + }, + "type": "sprite" + }, + "container/container2": { + "position": { + "x": 0, + "y": 0 + }, + "type": "container" + }, + "container/container2/standar_acts_text": { + "font": { + "name": "milocha", + "fontSize": 28 + }, + "text": "Awsome Stuff", + "align": "center", + "position": { + "x": -253.7, + "y": -218.3 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container2/standar_acts_bar_bg": { + "file": "trop_bar_bg.png", + "image": "SIMPLE", + "position": { + "x": 141, + "y": -223 + }, + "type": "sprite" + }, + "container/container2/standar_acts_bar_bg/standar_acts_bar": { + "file": "trop_bar.png", + "image": "SIMPLE", + "position": { + "x": -89, + "y": 0 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "sprite" + }, + "container/container2/standar_acts_percentage": { + "font": { + "name": "milocha", + "fontSize": 25 + }, + "text": "1/7", + "align": "center", + "position": { + "x": -4, + "y": -222 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container2/stuff1": { + "file": "trop_stuff1_lock.png", + "image": "SIMPLE", + "position": { + "x": -146.9, + "y": -154.1 + }, + "type": "sprite" + }, + "container/container2/stuff2": { + "file": "trop_stuff3_lock.png", + "image": "SIMPLE", + "position": { + "x": -8.1, + "y": -151.9 + }, + "type": "sprite" + }, + "container/container2/stuff3": { + "file": "trop_stuff4_lock.png", + "image": "SIMPLE", + "position": { + "x": 117.9, + "y": -154 + }, + "type": "sprite" + }, + "container/container2/stuff4": { + "file": "trop_stuff5_lock.png", + "image": "SIMPLE", + "position": { + "x": -78.3, + "y": -84.9 + }, + "type": "sprite" + }, + "container/container2/stuff5": { + "file": "trop_stuff6_lock.png", + "image": "SIMPLE", + "position": { + "x": 63.2, + "y": -85.3 + }, + "type": "sprite" + }, + "container/container2/hardcore_text": { + "font": { + "name": "milocha", + "fontSize": 27 + }, + "text": "Completion", + "align": "center", + "position": { + "x": -253.4, + "y": -14.9 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container2/hardcore_bar_bg": { + "file": "trop_bar_bg.png", + "image": "SIMPLE", + "position": { + "x": 141.7, + "y": -17.6 + }, + "type": "sprite" + }, + "container/container2/hardcore_bar_bg/hardcore_bar": { + "file": "trop_bar.png", + "image": "SIMPLE", + "position": { + "x": -89, + "y": 0 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "sprite" + }, + "container/container2/hardcore_percentage": { + "font": { + "name": "milocha", + "fontSize": 21 + }, + "text": "5%", + "align": "center", + "position": { + "x": -2.1, + "y": -17.8 + }, + "anchor": { + "x": 0, + "y": 0.5 + }, + "type": "text" + }, + "container/container2/completion1": { + "file": "trop_completion1_lock.png", + "image": "SIMPLE", + "position": { + "x": -110.5, + "y": 46.8 + }, + "type": "sprite" + }, + "container/container2/completion2": { + "file": "trop_completion2_lock.png", + "image": "SIMPLE", + "position": { + "x": 0, + "y": 46.8 + }, + "type": "sprite" + }, + "container/container2/completion3": { + "file": "trop_completion3_lock.png", + "image": "SIMPLE", + "position": { + "x": 110.5, + "y": 46.8 + }, + "type": "sprite" + }, + "container/container2/completion4": { + "file": "trop_completion4_lock.png", + "image": "SIMPLE", + "position": { + "x": 56, + "y": 123.2 + }, + "type": "sprite" + }, + "container/container2/completion5": { + "file": "trop_completion2_lock.png", + "image": "SIMPLE", + "position": { + "x": -56, + "y": 123.2 + }, + "type": "sprite" + }, + "container/1_2": { + "font": { + "name": "milocha", + "fontSize": 30 + }, + "text": "1", + "align": "center", + "position": { + "x": -30, + "y": 193.4 + }, + "color": "#ffe327", + "type": "text" + }, + "container/2_2": { + "font": { + "name": "milocha", + "fontSize": 30 + }, + "text": "2", + "align": "center", + "position": { + "x": 22, + "y": 193.4 + }, + "color": "#ffe327", + "type": "text" + }, + "container/description": { + "font": { + "name": "milocha", + "fontSize": 20 + }, + "text": "Act1 - Complete Act to any ranking", + "align": "center", + "position": { + "x": -4.2, + "y": 260.4 + }, + "type": "text" + }, + "container/back_arrow": { + "file": "trop_arrow_left.png", + "image": "SIMPLE", + "position": { + "x": -257.5, + "y": 205.9 + }, + "type": "button" + }, + "container/next_arrow": { + "file": "trop_arrow_right.png", + "image": "SIMPLE", + "position": { + "x": 240.6, + "y": 205.9 + }, + "type": "button" + } + } +} \ No newline at end of file diff --git a/gs/html5/vex5/blank b/gs/html5/vex5/blank new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/gs/html5/vex5/blank @@ -0,0 +1 @@ + diff --git a/gs/html5/vex5/f120262ab72743039fbce88c1f370df8-512x512.jpeg b/gs/html5/vex5/f120262ab72743039fbce88c1f370df8-512x512.jpeg new file mode 100644 index 0000000..8af19a3 Binary files /dev/null and b/gs/html5/vex5/f120262ab72743039fbce88c1f370df8-512x512.jpeg differ diff --git a/gs/html5/vex5/images/branding_logo_agame.png b/gs/html5/vex5/images/branding_logo_agame.png new file mode 100644 index 0000000..d0529af Binary files /dev/null and b/gs/html5/vex5/images/branding_logo_agame.png differ diff --git a/gs/html5/vex5/images/branding_logo_agame_small.png b/gs/html5/vex5/images/branding_logo_agame_small.png new file mode 100644 index 0000000..29cca36 Binary files /dev/null and b/gs/html5/vex5/images/branding_logo_agame_small.png differ diff --git a/gs/html5/vex5/index.html b/gs/html5/vex5/index.html new file mode 100644 index 0000000..7c5c377 --- /dev/null +++ b/gs/html5/vex5/index.html @@ -0,0 +1,51 @@ + + + + + + + + + + Vex 5 + + + + + + + + +
+
Loading...
+
+ + + + + diff --git a/gs/html5/vex5/json/contracted.json b/gs/html5/vex5/json/contracted.json new file mode 100644 index 0000000..b55f8e5 --- /dev/null +++ b/gs/html5/vex5/json/contracted.json @@ -0,0 +1,48 @@ +[ + "coolmathgames.com", + "games.co.uk", + "gamesgames.com", + "gioco.it", + "gry.pl", + "jetztspielen.de", + "jeux.fr", + "juegos.com", + "ojogos.com.br", + "ojogos.pt", + "ourgames.ru", + "permainan.co.id", + "spela.se", + "spelletjes.nl", + "flashgames.ru", + "games.co.id", + "giochi.it", + "jeu.fr", + "mousebreaker.com", + "spel.nl", + "spel.se", + "spielen.com", + "zapjuegos.com", + "girlsgogames.co.id", + "girlsgogames.co.uk", + "girlsgogames.com", + "girlsgogames.com.br", + "girlsgogames.de", + "girlsgogames.fr", + "girlsgogames.it", + "girlsgogames.nl", + "girlsgogames.pl", + "girlsgogames.ru", + "girlsgogames.se", + "juegosdechicas.com", + "a10.com", + "game-game.com.ua", + "sgames.org", + "yayoye.ru", + "bipgaming.com", + "multiplayergameserver.com", + "playcell.com", + "spiele.rtl2.de", + "rtl2spiele.de", + "msn.com", + "yiv.com" +] diff --git a/gs/html5/vex5/json/domains.json b/gs/html5/vex5/json/domains.json new file mode 100644 index 0000000..3697e76 --- /dev/null +++ b/gs/html5/vex5/json/domains.json @@ -0,0 +1,137 @@ +{ + "ac": " com gov mil net org ", + "ae": " ac co gov mil name net org pro sch ", + "af": " com edu gov net org ", + "al": " com edu gov mil net org ", + "ao": " co ed gv it og pb ", + "ar": " com edu gob gov int mil net org tur ", + "at": " ac co gv or ", + "au": " asn com csiro edu gov id net org ", + "ba": " co com edu gov mil net org rs unbi unmo unsa untz unze ", + "bb": " biz co com edu gov info net org store tv ", + "bh": " biz cc com edu gov info net org ", + "bn": " com edu gov net org ", + "bo": " com edu gob gov int mil net org tv ", + "br": " adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ", + "bs": " com edu gov net org ", + "bz": " du et om ov rg ", + "ca": " ab bc mb nb nf nl ns nt nu on pe qc sk yk ", + "ck": " biz co edu gen gov info net org ", + "cn": " ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ", + "co": " com edu gov mil net nom org ", + "com": " gcm-corp ", + "cr": " ac c co ed fi go or sa ", + "cy": " ac biz com ekloges gov ltd name net org parliament press pro tm ", + "do": " art com edu gob gov mil net org sld web ", + "dz": " art asso com edu gov net org pol ", + "ec": " com edu fin gov info med mil net org pro ", + "eg": " com edu eun gov mil name net org sci ", + "er": " com edu gov ind mil net org rochest w ", + "es": " com edu gob nom org ", + "et": " biz com edu gov info name net org ", + "fj": " ac biz com info mil name net org pro ", + "fk": " ac co gov net nom org ", + "fr": " asso com f gouv nom prd presse tm ", + "gg": " co net org ", + "gh": " com edu gov mil org ", + "gn": " ac com gov net org ", + "gr": " com edu gov mil net org ", + "gt": " com edu gob ind mil net org ", + "gu": " com edu gov net org ", + "hk": " com edu gov idv net org ", + "hu": " 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ", + "id": " ac co go mil net or sch web ", + "il": " ac co gov idf k12 muni net org ", + "in": " ac co edu ernet firm gen gov i ind mil net nic org res ", + "iq": " com edu gov i mil net org ", + "ir": " ac co dnssec gov i id net org sch ", + "it": " edu gov ", + "je": " co net org ", + "jo": " com edu gov mil name net org sch ", + "jp": " ac ad co ed go gr lg ne or ", + "ke": " ac co go info me mobi ne or sc ", + "kh": " com edu gov mil net org per ", + "ki": " biz com de edu gov info mob net org tel ", + "km": " asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ", + "kn": " edu gov net org ", + "kr": " ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ", + "kw": " com edu gov net org ", + "ky": " com edu gov net org ", + "kz": " com edu gov mil net org ", + "lb": " com edu gov net org ", + "lk": " assn com edu gov grp hotel int ltd net ngo org sch soc web ", + "lr": " com edu gov net org ", + "lv": " asn com conf edu gov id mil net org ", + "ly": " com edu gov id med net org plc sch ", + "ma": " ac co gov m net org press ", + "mc": " asso tm ", + "me": " ac co edu gov its net org priv ", + "mg": " com edu gov mil nom org prd tm ", + "mk": " com edu gov inf name net org pro ", + "ml": " com edu gov net org presse ", + "mn": " edu gov org ", + "mo": " com edu gov net org ", + "mt": " com edu gov net org ", + "mv": " aero biz com coop edu gov info int mil museum name net org pro ", + "mw": " ac co com coop edu gov int museum net org ", + "mx": " com edu gob net org ", + "my": " com edu gov mil name net org sch ", + "nf": " arts com firm info net other per rec store web ", + "ng": " biz com edu gov mil mobi name net org sch ", + "ni": " ac co com edu gob mil net nom org ", + "np": " com edu gov mil net org ", + "nr": " biz com edu gov info net org ", + "om": " ac biz co com edu gov med mil museum net org pro sch ", + "pe": " com edu gob mil net nom org sld ", + "ph": " com edu gov i mil net ngo org ", + "pk": " biz com edu fam gob gok gon gop gos gov net org web ", + "pl": " art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ", + "pr": " ac biz com edu est gov info isla name net org pro prof ", + "ps": " com edu gov net org plo sec ", + "pw": " belau co ed go ne or ", + "ro": " arts com firm info nom nt org rec store tm www ", + "rs": " ac co edu gov in org ", + "sb": " com edu gov net org ", + "sc": " com edu gov net org ", + "sh": " co com edu gov net nom org ", + "sl": " com edu gov net org ", + "st": " co com consulado edu embaixada gov mil net org principe saotome store ", + "sv": " com edu gob org red ", + "sz": " ac co org ", + "tr": " av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ", + "tt": " aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ", + "tw": " club com ebiz edu game gov idv mil net org ", + "mu": " ac co com gov net or org ", + "mz": " ac co edu gov org ", + "na": " co com ", + "nz": " ac co cri geek gen govt health iwi maori mil net org parliament school ", + "pa": " abo ac com edu gob ing med net nom org sld ", + "pt": " com edu gov int net nome org publ ", + "py": " com edu gov mil net org ", + "qa": " com edu gov mil net org ", + "re": " asso com nom ", + "ru": " ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ", + "rw": " ac co com edu gouv gov int mil net ", + "sa": " com edu gov med net org pub sch ", + "sd": " com edu gov info med net org tv ", + "se": " a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ", + "sg": " com edu gov idn net org per ", + "sn": " art com edu gouv org perso univ ", + "sy": " com edu gov mil net news org ", + "th": " ac co go in mi net or ", + "tj": " ac biz co com edu go gov info int mil name net nic org test web ", + "tn": " agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ", + "tz": " ac co go ne or ", + "ua": " biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ", + "ug": " ac co go ne or org sc ", + "uk": " ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ", + "us": " dni fed isa kids nsn ", + "uy": " com edu gub mil net org ", + "ve": " co com edu gob info mil net org web ", + "vi": " co com k12 net org ", + "vn": " ac biz com edu gov health info int name net org pro ", + "ye": " co com gov ltd me net org plc ", + "yu": " ac co edu gov org ", + "za": " ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ", + "zm": " ac co com edu gov net org sch " + } \ No newline at end of file diff --git a/gs/html5/vex5/json/internal.json b/gs/html5/vex5/json/internal.json new file mode 100644 index 0000000..cee13cb --- /dev/null +++ b/gs/html5/vex5/json/internal.json @@ -0,0 +1,66 @@ +[ + "hellokids.com", + "yepi.com", + "spele.nl", + "funnygames.nl", + "oyungemisi.com", + "spele.be", + "spielspiele.de", + "Zigiz.com", + "Gembly.com", + "Keygames.com", + "Jouerjouer.com", + "Spiels.at", + "Spiels.ch", + "Hryhry.net", + "Pelaaleikkia.com", + "Waznygry.pl", + "Nyckelspel.se", + "Minigioco.it", + "1001igry.ru", + "Clavejuegos.com", + "Kilitoyun.com", + "Jogojogar.com", + "Starbie.co.uk", + "games.co.za", + "spelletjesoverzicht.nl", + "Cadajogo.com", + "CadaJogo.com.br", + "CadaJeugo.es", + "Funny-Games.co.uk", + "FunnyGames.at", + "FunnyGames.be", + "FunnyGames.biz", + "FunnyGames.ch", + "Funnygames.cn", + "FunnyGames.co.id", + "FunnyGames.com.br", + "FunnyGames.com.co", + "FunnyGames.com.mx", + "FunnyGames.com.tr", + "FunnyGames.dk", + "FunnyGames.es", + "FunnyGames.eu", + "FunnyGames.fi", + "FunnyGames.fr", + "FunnyGames.gr", + "FunnyGames.hu", + "FunnyGames.ie", + "FunnyGames.in", + "FunnyGames.ir", + "FunnyGames.it", + "FunnyGames.jp", + "FunnyGames.kr", + "FunnyGames.lt", + "FunnyGames.no", + "FunnyGames.org", + "FunnyGames.ph", + "FunnyGames.pk", + "FunnyGames.pl", + "FunnyGames.pt", + "FunnyGames.ro", + "FunnyGames.ru", + "FunnyGames.se", + "FunnyGames.us", + "bgames.com" + ] \ No newline at end of file diff --git a/gs/html5/vex5/json/sitelock.json b/gs/html5/vex5/json/sitelock.json new file mode 100644 index 0000000..a7d817e --- /dev/null +++ b/gs/html5/vex5/json/sitelock.json @@ -0,0 +1,50 @@ +{ + "minijuegos": [ + "miniplay.com", + "minijuegos.com", + "minijuegos.es", + "minijuegosgratis.com", + "minigiochi.com", + "minijogos.com.br", + "minijuegos.mx", + "minijuegos.com.mx" + ], + "kongregate": [ + "kongregate.com" + ], + "newgrounds": [ + "newgrounds.com" + ], + "admeen": [ + "1001hry.cz", + "1001jeux.fr", + "1001jogos.pt", + "1001pelit.com", + "1001spiele.de", + "elkspel.nl", + "gamesxl.com", + "giochixl.it", + "grajteraz.pl", + "igrixl.ru", + "isladejuegos.es", + "jatekokxl.hu", + "paixnidiaxl.gr", + "spelo.se", + "spillespill.no", + "spilxl.dk", + "1001games.fr", + "1001giochi.it", + "1001spiele.at", + "gierkionline.pl", + "jetztspielen.ws", + "juegosjuegos.ws", + "speltuin.nl", + "1001games.co.uk", + "1001jogos.com.br", + "isladejuegos.co.ve", + "isladejuegos.com.ar", + "isladejuegos.com.co", + "isladejuegos.com.mx", + "isladejuegos.com.pe" + ] +} diff --git a/gs/html5/vex5/json/special.json b/gs/html5/vex5/json/special.json new file mode 100644 index 0000000..5633e00 --- /dev/null +++ b/gs/html5/vex5/json/special.json @@ -0,0 +1,62 @@ +[ + "coolgames.com", + "stickgames.com", + "supergames.com", + "wordgames.com", + "girlgames.com", + "girlsocool.com", + "dressup.com", + "dressupgal.com", + "dressuppink.com", + "cookinggames.com", + "1001oyun.com", + "123paixnidia.gr", + "123pelit.com", + "12hry.cz", + "gamesfreak.net", + "gameskeren.com", + "grajwgry.pl", + "hrajhry.sk", + "jeuxjeuxjeux.ch", + "jeuxjeuxjeux.fr", + "joaca.ro", + "megajatek.hu", + "megaspel.se", + "moiteigri.com", + "paisdelosjuegos.cl", + "paisdelosjuegos.co.ve", + "paisdelosjuegos.com.ar", + "paisdelosjuegos.com.co", + "paisdelosjuegos.com.do", + "paisdelosjuegos.com.ec", + "paisdelosjuegos.com.mx", + "paisdelosjuegos.com.pe", + "paisdelosjuegos.com.uy", + "paisdelosjuegos.cr", + "paisdelosjuegos.es", + "poki.at", + "poki.be", + "poki.by", + "poki.cn", + "poki.co.il", + "poki.com", + "poki.com.br", + "poki.cz", + "poki.de", + "poki.dk", + "poki.gr", + "poki.it", + "poki.jp", + "poki.nl", + "poki.no", + "poki.pl", + "poki.pt", + "poki.ro", + "spielyeti.ch", + "spili.dk", + "spillegratis.com", + "superigri.ru", + "tocadosjogos.com", + "trochoi.net" + ] + \ No newline at end of file diff --git a/gs/html5/vex5/phaser-cachebuster.min.js b/gs/html5/vex5/phaser-cachebuster.min.js new file mode 100644 index 0000000..61cfbe6 --- /dev/null +++ b/gs/html5/vex5/phaser-cachebuster.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-cachebuster - version 2.0.0 + * Simple Phaser plugin for adding a query parameter to assets URL's so that they can be 'cache busted' + * + * Azerion + * Build at 15-03-2019 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserCachebuster;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.patchLoader(),d}return __extends(b,a),b.prototype.patchLoader=function(){Object.defineProperty(Phaser.Loader,"cacheBuster",{value:null}),Phaser.Loader.prototype.transformUrl=function(a,b){return a?(null!==this.cacheBuster&&null===a.match(/^(data:)/)&&(a+="?v="+this.cacheBuster),a.match(/^(?:blob:|data:|http:\/\/|https:\/\/|\/\/)/)?a:this.baseURL+b.path+a):""}},b}(Phaser.Plugin);a.CacheBuster=b}(PhaserCachebuster||(PhaserCachebuster={})); \ No newline at end of file diff --git a/gs/html5/vex5/phaser-input.min.js b/gs/html5/vex5/phaser-input.min.js new file mode 100644 index 0000000..3dff923 --- /dev/null +++ b/gs/html5/vex5/phaser-input.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-input - version 2.0.5 + * Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only. + * + * Azerion + * Build at 18-03-2019 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),PhaserInput;!function(a){var b;!function(a){a[a.text=0]="text",a[a.password=1]="password",a[a.number=2]="number"}(b=a.InputType||(a.InputType={}));var c=function(){function a(a,c,d,e,f,g){void 0===d&&(d=b.text),void 0===e&&(e="");var h=this;this.id=c,this.type=d,this.game=a,this.focusIn=f,this.focusOut=g;var i=this.game.canvas.getBoundingClientRect().top+document.body.scrollTop;this.element=document.createElement("input"),this.element.id=c,this.element.style.position="absolute",this.element.style.top=i+"px",this.element.style.left=(-40).toString()+"px",this.element.style.width=10..toString()+"px",this.element.style.height=10..toString()+"px",this.element.style.border="0px",this.element.value=this.value,this.element.type=b[d],this.element.addEventListener("focusin",function(){h.focusIn instanceof Phaser.Signal&&h.focusIn.dispatch()}),this.element.addEventListener("focusout",function(){h.focusOut instanceof Phaser.Signal&&h.focusOut.dispatch()}),document.body.appendChild(this.element)}return a.prototype.addKeyUpListener=function(a){this.keyUpCallback=a,document.addEventListener("keyup",this.keyUpCallback),this.element.addEventListener("input",this.keyUpCallback)},a.prototype.blockKeyDownEvents=function(){document.addEventListener("keydown",this.preventKeyPropagation)},a.prototype.preventKeyPropagation=function(a){a.stopPropagation?a.stopPropagation():event.cancelBubble=!0},a.prototype.unblockKeyDownEvents=function(){document.removeEventListener("keydown",this.preventKeyPropagation)},a.prototype.removeEventListener=function(){document.removeEventListener("keyup",this.keyUpCallback),this.element.removeEventListener("input",this.keyUpCallback)},a.prototype.destroy=function(){document.body.removeChild(this.element)},a.prototype.setMax=function(a,c){if(void 0!==a)if(this.type===b.text||this.type===b.password)this.element.maxLength=parseInt(a,10);else if(this.type===b.number){if(this.element.max=a,void 0===c)return;this.element.min=c}},Object.defineProperty(a.prototype,"value",{get:function(){return this.element.value},set:function(a){this.element.value=a},enumerable:!0,configurable:!0}),a.prototype.focus=function(){var a=this;if(this.element.focus(),!this.game.device.desktop&&this.game.device.chrome)var b=window.innerWidth,c=window.innerHeight,d=!1,e=setInterval(function(){(b>window.innerWidth||c>window.innerHeight)&&(d=!0),d&&b===window.innerWidth&&c===window.innerHeight&&(a.focusOut instanceof Phaser.Signal&&a.focusOut.dispatch(),clearInterval(e))},50)},a.prototype.blur=function(){this.element.blur()},Object.defineProperty(a.prototype,"hasSelection",{get:function(){return this.type===b.number?!1:this.element.selectionStart!==this.element.selectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"caretStart",{get:function(){return this.element.selectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"caretEnd",{get:function(){return this.element.selectionStart},enumerable:!0,configurable:!0}),a.prototype.getCaretPosition=function(){return this.type===b.number?-1:this.element.selectionStart},a.prototype.setCaretPosition=function(a){this.type!==b.number&&this.element.setSelectionRange(a,a)},a}();a.InputElement=c}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b;!function(a){a[a.none=0]="none",a[a.lower=1]="lower",a[a.upper=2]="upper"}(b=a.ForceCase||(a.ForceCase={}));var c=function(c){function d(d,e,f,g){void 0===g&&(g={});var h=c.call(this,d,e,f)||this;return h.focusOutOnEnter=!0,h.placeHolder=null,h.box=null,h.focus=!1,h.value="",h.windowScale=1,h.blockInput=!0,h.focusIn=new Phaser.Signal,h.focusOut=new Phaser.Signal,h.blink=!0,h.cnt=0,h.inputOptions=g,h.inputOptions.width="number"==typeof g.width?g.width:150,h.inputOptions.padding="number"==typeof g.padding?g.padding:0,h.inputOptions.textAlign=g.textAlign||"left",h.inputOptions.type=g.type||a.InputType.text,h.inputOptions.forceCase=g.forceCase?g.forceCase:b.none,h.inputOptions.borderRadius="number"==typeof g.borderRadius?g.borderRadius:0,h.inputOptions.height="number"==typeof g.height?g.height:14,h.inputOptions.fillAlpha=void 0===g.fillAlpha?1:g.fillAlpha,h.inputOptions.selectionColor=g.selectionColor||"rgba(179, 212, 253, 0.8)",h.inputOptions.zoom=d.device.desktop?!1:g.zoom||!1,h.box=new a.InputBox(h.game,g),h.setTexture(h.box.generateTexture()),h.textMask=new a.TextMask(h.game,g),h.addChild(h.textMask),h.domElement=new a.InputElement(h.game,"phaser-input-"+(1e4*Math.random()|0).toString(),h.inputOptions.type,h.value,h.focusIn,h.focusOut),h.domElement.setMax(h.inputOptions.max,h.inputOptions.min),h.selection=new a.SelectionHighlight(h.game,h.inputOptions),h.selection.mask=h.textMask,h.addChild(h.selection),g.placeHolder&&g.placeHolder.length>0&&(h.placeHolder=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,g.placeHolder,{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.placeHolderColor||"#bfbebd"}),h.placeHolder.mask=h.textMask,h.addChild(h.placeHolder)),h.cursor=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding-2,"|",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.cursorColor||"#000000"}),h.cursor.visible=!1,h.addChild(h.cursor),h.text=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,"",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.fill||"#000000"}),h.text.mask=h.textMask,h.addChild(h.text),h.offscreenText=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,"",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.fill||"#000000"}),h.updateTextAlignment(),h.inputEnabled=!0,h.input.useHandCursor=!0,h.game.input.onDown.add(h.checkDown,h),h.focusOut.add(function(){a.KeyboardOpen&&(h.endFocus(),h.inputOptions.zoom&&h.zoomOut())}),h}return __extends(d,c),Object.defineProperty(d.prototype,"width",{get:function(){return this.inputOptions.width},set:function(a){this.inputOptions.width=a,this.box.resize(a),this.textMask.resize(a),this.updateTextAlignment()},enumerable:!0,configurable:!0}),d.prototype.updateTextAlignment=function(){switch(this.inputOptions.textAlign){case"left":this.text.anchor.set(0,0),this.text.x=this.inputOptions.padding,null!==this.placeHolder&&this.placeHolder.anchor.set(0,0),this.cursor.x=this.inputOptions.padding+this.getCaretPosition();break;case"center":this.text.anchor.set(.5,0),this.text.x=this.inputOptions.padding+this.inputOptions.width/2,null!==this.placeHolder&&(this.placeHolder.anchor.set(.5,0),this.placeHolder.x=this.inputOptions.padding+this.inputOptions.width/2),this.cursor.x=this.inputOptions.padding+this.inputOptions.width/2-this.text.width/2+this.getCaretPosition();break;case"right":this.text.anchor.set(1,0),this.text.x=this.inputOptions.padding+this.inputOptions.width,null!==this.placeHolder&&(this.placeHolder.anchor.set(1,0),this.placeHolder.x=this.inputOptions.padding+this.inputOptions.width),this.cursor.x=this.inputOptions.padding+this.inputOptions.width}},d.prototype.checkDown=function(b){if(this.value||this.resetText(),this.input.checkPointerOver(b)){if(this.focus)return void this.setCaretOnclick(b);this.inputOptions.zoom&&!a.Zoomed&&this.zoomIn(),this.startFocus()}else this.focus===!0&&(this.endFocus(),this.inputOptions.zoom&&this.zoomOut())},d.prototype.update=function(){if(this.text.update(),this.placeHolder&&this.placeHolder.update(),this.focus){if(30!==this.cnt)return this.cnt++;this.cursor.visible=this.blink,this.blink=!this.blink,this.cnt=0}},d.prototype.endFocus=function(){var b=this;this.focus&&(this.domElement.removeEventListener(),this.blockInput===!0&&this.domElement.unblockKeyDownEvents(),this.focus=!1,0===this.value.length&&null!==this.placeHolder&&(this.placeHolder.visible=!0),this.cursor.visible=!1,this.game.device.desktop?setTimeout(function(){b.domElement.blur()},0):this.domElement.blur(),this.game.device.desktop||(a.KeyboardOpen=!1,a.onKeyboardClose.dispatch()))},d.prototype.startFocus=function(){var b=this;this.focus=!0,null!==this.placeHolder&&(this.placeHolder.visible=!1),this.game.device.desktop?setTimeout(function(){b.keyUpProcessor()},0):this.keyUpProcessor(),this.game.device.desktop||(a.KeyboardOpen=!0,a.onKeyboardOpen.dispatch())},d.prototype.keyUpProcessor=function(){this.domElement.addKeyUpListener(this.keyListener.bind(this)),this.domElement.focus(),this.blockInput===!0&&this.domElement.blockKeyDownEvents()},d.prototype.updateText=function(){var b="";if(this.inputOptions.type===a.InputType.password)for(var c=0;cparseInt(this.inputOptions.max)?this.value=this.domElement.value=this.inputOptions.max:this.value}else b=this.value;if(this.text.setText(b),this.text.width>this.inputOptions.width)this.text.anchor.x=1,this.text.x=this.inputOptions.padding+this.inputOptions.width;else switch(this.inputOptions.textAlign){case"left":this.text.anchor.set(0,0),this.text.x=this.inputOptions.padding;break;case"center":this.text.anchor.set(.5,0),this.text.x=this.inputOptions.padding+this.inputOptions.width/2;break;case"right":this.text.anchor.set(1,0),this.text.x=this.inputOptions.padding+this.inputOptions.width}},d.prototype.updateCursor=function(){if(this.text.width>this.inputOptions.width||"right"===this.inputOptions.textAlign)this.cursor.x=this.inputOptions.padding+this.inputOptions.width;else switch(this.inputOptions.textAlign){case"left":this.cursor.x=this.inputOptions.padding+this.getCaretPosition();break;case"center":this.cursor.x=this.inputOptions.padding+this.inputOptions.width/2-this.text.width/2+this.getCaretPosition()}},d.prototype.getCaretPosition=function(){var b=this.domElement.getCaretPosition();if(-1===b)return this.text.width;var c=this.value;if(this.inputOptions.type===a.InputType.password){c="";for(var d=0;d=e*c&&(e+1)*c>=b){d=e;break}b>(this.value.length-1)*c&&(d=this.value.length),this.startFocus(),this.domElement.setCaretPosition(d),this.updateCursor()},d.prototype.updateSelection=function(){if(this.domElement.hasSelection){var b=this.value;if(this.inputOptions.type===a.InputType.password){b="";for(var c=0;cwindow.innerWidth?this.windowScale=this.game.width/(1.5*b.width):this.windowScale=this.game.width/2/(1.5*b.width);var c=(this.game.width-1.5*b.width)/2/this.windowScale;this.game.world.scale.set(this.game.world.scale.x*this.windowScale,this.game.world.scale.y*this.windowScale),this.game.world.pivot.set(b.x-c,b.y-2*this.inputOptions.padding),a.Zoomed=!0}},d.prototype.zoomOut=function(){a.Zoomed&&(this.game.world.scale.set(this.game.world.scale.x/this.windowScale,this.game.world.scale.y/this.windowScale),this.game.world.pivot.set(0,0),a.Zoomed=!1)},d.prototype.keyListener=function(a){return this.value=this.getFormattedText(this.domElement.value),13===a.keyCode?void(this.focusOutOnEnter&&this.endFocus()):(this.updateText(),this.updateCursor(),this.updateSelection(),void a.preventDefault())},d.prototype.destroy=function(a){this.game.input.onDown.remove(this.checkDown,this),this.focusIn.removeAll(),this.focusOut.removeAll(),this.domElement.destroy(),c.prototype.destroy.call(this,a)},d.prototype.resetText=function(){this.setText()},d.prototype.setText=function(a){void 0===a&&(a=""),null!==this.placeHolder&&(a.length>0?this.placeHolder.visible=!1:this.placeHolder.visible=!0),this.value=this.getFormattedText(a),this.domElement.value=this.value,this.updateText(),this.updateCursor(),this.endFocus()},d.prototype.getFormattedText=function(a){switch(this.inputOptions.forceCase){default:case b.none:return a;case b.lower:return a.toLowerCase();case b.upper:return a.toUpperCase()}},d}(Phaser.Sprite);a.InputField=c}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,0,0)||this;d.bgColor=c.backgroundColor?parseInt(c.backgroundColor.slice(1),16):16777215,d.borderRadius=c.borderRadius="number"==typeof c.borderRadius?c.borderRadius:0,d.borderWidth=c.borderWidth="number"==typeof c.borderWidth?c.borderWidth:1,d.borderColor=c.borderColor?parseInt(c.borderColor.slice(1),16):9803157,d.boxAlpha=c.fillAlpha,d.padding=c.padding;var e,e=c.height,f=c.width;c.font&&(e=Math.max(parseInt(c.font.substr(0,c.font.indexOf("px")),10),e)),d.boxHeight=2*d.padding+e;var f=c.width;return d.boxWidth=2*d.padding+f,d.drawBox(),d}return __extends(b,a),b.prototype.resize=function(a){this.boxWidth=2*this.padding+a,this.drawBox()},b.prototype.drawBox=function(){this.clear().beginFill(this.bgColor,this.boxAlpha).lineStyle(this.borderWidth,this.borderColor,this.boxAlpha),this.borderRadius>0?this.drawRoundedRect(0,0,this.boxWidth,this.boxHeight,this.borderRadius):this.drawRect(0,0,this.boxWidth,this.boxHeight)},b}(Phaser.Graphics);a.InputBox=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c.padding,c.padding)||this;return d.inputOptions=c,d}return __extends(b,a),b.prototype.updateSelection=function(a){var c=Phaser.Color.webToColor(this.inputOptions.selectionColor);this.clear(),this.beginFill(b.rgb2hex(c),c.a),this.drawRect(a.x,a.y,a.width,a.height-this.inputOptions.padding)},b.rgb2hex=function(a){return parseInt(("0"+a.r.toString(16)).slice(-2)+("0"+a.g.toString(16)).slice(-2)+("0"+a.b.toString(16)).slice(-2),16)},b}(Phaser.Graphics);a.SelectionHighlight=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c.padding,c.padding)||this,e=c.height;return c.font&&(e=Math.max(parseInt(c.font.substr(0,c.font.indexOf("px")),10),e)),d.maskWidth=c.width,d.maskHeight=1.3*e,d.drawMask(),d}return __extends(b,a),b.prototype.resize=function(a){this.maskWidth=a,this.drawMask()},b.prototype.drawMask=function(){this.clear().beginFill(0).drawRect(0,0,this.maskWidth,this.maskHeight).endFill()},b}(Phaser.Graphics);a.TextMask=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){a.Zoomed=!1,a.KeyboardOpen=!1,a.onKeyboardOpen=new Phaser.Signal,a.onKeyboardClose=new Phaser.Signal;var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addInputFieldFactory(),d}return __extends(c,b),c.prototype.addInputFieldFactory=function(){Phaser.GameObjectFactory.prototype.inputField=function(b,c,d,e){void 0===e&&(e=this.world);var f=new a.InputField(this.game,b,c,d);return e.add(f)},Phaser.GameObjectCreator.prototype.inputField=function(b,c,d){return new a.InputField(this.game,b,c,d)}},c}(Phaser.Plugin);b.Zoomed=!1,b.KeyboardOpen=!1,b.onKeyboardOpen=new Phaser.Signal,b.onKeyboardClose=new Phaser.Signal,a.Plugin=b}(PhaserInput||(PhaserInput={})); \ No newline at end of file diff --git a/gs/html5/vex5/phaser-nineslice.min.js b/gs/html5/vex5/phaser-nineslice.min.js new file mode 100644 index 0000000..889452f --- /dev/null +++ b/gs/html5/vex5/phaser-nineslice.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-nineslice - version 2.0.1 + * NineSlice plugin for Phaser.io! + * + * Azerion + * Build at 15-03-2019 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),PhaserNineSlice;!function(a){var b=function(a){function b(b,c,d,e,f,g,h,i){var j=a.call(this,b,c,d,e,f)||this;return j.baseTexture=j.texture.baseTexture,j.baseFrame=j.texture.frame,null===f||i?i||(i=b.cache.getNineSlice(e)):i=b.cache.getNineSlice(f),void 0===i?j:(j.topSize=i.top,i.left?j.leftSize=i.left:j.leftSize=j.topSize,i.right?j.rightSize=i.right:j.rightSize=j.leftSize,i.bottom?j.bottomSize=i.bottom:j.bottomSize=j.topSize,j.loadTexture(new Phaser.RenderTexture(j.game,j.localWidth,j.localHeight)),j.resize(g,h),j)}return __extends(b,a),b.prototype.renderTexture=function(){this.texture.resize(this.localWidth,this.localHeight,!0);var a=[0,this.leftSize,this.baseFrame.width-this.rightSize,this.baseFrame.width],b=[0,this.topSize,this.baseFrame.height-this.bottomSize,this.baseFrame.height],c=[0,this.leftSize,this.localWidth-this.rightSize,this.localWidth],d=[0,this.topSize,this.localHeight-this.bottomSize,this.localHeight];this.texture.clear();for(var e=0;e<3;e++)for(var f=0;f<3;f++){var g=this.createTexturePart(a[f],b[e],a[f+1]-a[f],b[e+1]-b[e]);g.width=c[f+1]-c[f],g.height=d[e+1]-d[e],this.texture.renderXY(g,c[f],d[e])}},b.prototype.resize=function(a,b){this.localWidth=a,this.localHeight=b,this.renderTexture()},b.prototype.destroy=function(){for(var b=[],c=0;c180?g-=360:g<-180&&(g+=360),a.updateWorldTransform(a.x,a.y,f+(g-f)*d,a.appliedScaleX,a.appliedScaleY)},spine.IkConstraint.apply2=function(a,b,c,d,e,f){if(0!=f){var g,h,i,j=a.x,k=a.y,l=a.appliedScaleX,m=a.appliedScaleY;l<0?(l=-l,g=180,i=-1):(g=0,i=1),m<0&&(m=-m,i=-i);var n=b.x,o=b.y,p=b.appliedScaleX,q=Math.abs(l-m)<=1e-4;q||0==o||(b.worldX=a.a*n+a.worldX,b.worldY=a.c*n+a.worldY,o=0),p<0?(p=-p,h=180):h=0;var r,s,t,u,v=a.parent;if(v){var w=v.a,x=v.b,y=v.c,z=v.d,A=1/(w*z-x*y),B=v.worldX,C=v.worldY,D=c-B,E=d-C;r=(D*z-E*x)*A-j,s=(E*w-D*y)*A-k,D=b.worldX-B,E=b.worldY-C,t=(D*z-E*x)*A-j,u=(E*w-D*y)*A-k}else r=c-j,s=d-k,t=b.worldX-j,u=b.worldY-k;var F,G,H=Math.sqrt(t*t+u*u),I=b.data.length*p;a:if(q){I*=l;var J=(r*r+s*s-H*H-I*I)/(2*H*I);J<-1?J=-1:J>1&&(J=1),G=Math.acos(J)*e;var w=H+I*J,K=I*Math.sin(G);F=Math.atan2(s*w-r*K,r*w+s*K)}else{var w=l*I,x=m*I,L=Math.atan2(s,r),M=w*w,N=x*x,O=H*H,P=r*r+s*s,Q=N*O+M*P-M*N,R=-2*N*H,S=N-M,z=R*R-4*S*Q;if(z>=0){var T=Math.sqrt(z);R<0&&(T=-T),T=-(R+T)/2;var U=T/S,V=Q/T,W=Math.abs(U)aa&&(_=0,aa=da,ba=D),D=H-w,da=D*D,daaa&&(_=ea,aa=da,ba=D,ca=E),P<=(Y+aa)/2?(F=L-Math.atan2($*e,Z),G=X*e):(F=L-Math.atan2(ca*e,ba),G=_*e)}var fa=Math.atan2(o,n)*i;F=(F-fa)*spine.radDeg+g,G=(G+fa)*spine.radDeg*i+h,F>180?F-=360:F<-180&&(F+=360),G>180?G-=360:G<-180&&(G+=360);var ga=a.rotation;a.updateWorldTransform(j,k,ga+(F-ga)*f,a.appliedScaleX,a.appliedScaleY),ga=b.rotation,b.updateWorldTransform(n,o,ga+(G-ga)*f,b.appliedScaleX,b.appliedScaleY)}},spine.TransformConstraint=function(a,b){this.data=a,this.translateMix=a.translateMix,this.x=a.x,this.y=a.y,this.bone=b.findBone(a.bone.name),this.target=b.findBone(a.target.name)},spine.TransformConstraint.prototype={apply:function(){this.update()},update:function(){var a=this.translateMix;if(a>0){var b=spine.temp;b[0]=x,b[1]=y,this.target.localToWorld(b);var c=this.bone;c.worldX+=(b[0]-c.worldX)*a,c.worldY+=(b[1]-c.worldY)*a}}},spine.Skin=function(a){this.name=a,this.attachments={}},spine.Skin.prototype={addAttachment:function(a,b,c){this.attachments[a+":"+b]=c},getAttachment:function(a,b){return this.attachments[a+":"+b]},_attachAll:function(a,b){for(var c in b.attachments){var d=c.indexOf(":"),e=parseInt(c.substring(0,d)),f=c.substring(d+1),g=a.slots[e];if(g.attachment&&g.attachment.name==f){var h=this.getAttachment(e,f);h&&g.setAttachment(h)}}}},spine.Animation=function(a,b,c){this.name=a,this.timelines=b,this.duration=c},spine.Animation.prototype={apply:function(a,b,c,d,e){d&&0!=this.duration&&(c%=this.duration,b>0&&(b%=this.duration));for(var f=this.timelines,g=0,h=f.length;g0&&(b%=this.duration));for(var g=this.timelines,h=0,i=g.length;h>>1;;){if(a[(f+1)*c]<=b?d=f+1:e=f,d==e)return(d+1)*c;f=d+e>>>1}},spine.Animation.binarySearch1=function(a,b){var c=0,d=a.length-2;if(!d)return 1;for(var e=d>>>1;;){if(a[e+1]<=b?c=e+1:d=e,c==d)return c+1;e=c+d>>>1}},spine.Animation.linearSearch=function(a,b,c){for(var d=0,e=a.length-c;d<=e;d+=c)if(a[d]>b)return d;return-1},spine.Curves=function(a){var b=19*(a-1);this.curves=new spine.Float32Array(b),this.curves.length=b},spine.Curves.prototype={setLinear:function(a){this.curves[19*a]=0},setStepped:function(a){this.curves[19*a]=1},setCurve:function(a,b,c,d,e){var f=.1,g=f*f,h=g*f,i=3*f,j=3*g,k=6*g,l=6*h,m=2*-b+d,n=2*-c+e,o=3*(b-d)+1,p=3*(c-e)+1,q=b*i+m*j+o*h,r=c*i+n*j+p*h,s=m*k+o*l,t=n*k+p*l,u=o*l,v=p*l,w=19*a,x=this.curves;x[w++]=2;for(var y=q,z=r,A=w+19-1;w1?1:b;var c=this.curves,d=19*a,e=c[d];if(0===e)return b;if(1==e)return 0;d++;for(var f=0,g=d,h=d+19-1;d=b){var i,j;return d==g?(i=0,j=0):(i=c[d-2],j=c[d-1]),j+(c[d+1]-j)*(b-i)/(f-i)}var k=c[d-1];return k+(1-k)*(b-f)/(1-f)}},spine.RotateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(2*a),this.frames.length=2*a},spine.RotateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/2},setFrame:function(a,b,c){a*=2,this.frames[a]=b,this.frames[a+1]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-2]){for(var h=g.data.rotation+f[f.length-1]-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;return void(g.rotation+=h*e)}var i=spine.Animation.binarySearch(f,c,2),j=f[i-1],k=f[i],l=1-(c-k)/(f[i-2]-k);l=this.curves.getCurvePercent(i/2-1,l);for(var h=f[i+1]-j;h>180;)h-=360;for(;h<-180;)h+=360;for(h=g.data.rotation+(j+h*l)-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;g.rotation+=h*e}}},spine.TranslateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.TranslateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-3])return g.x+=(g.data.x+f[f.length-2]-g.x)*e,void(g.y+=(g.data.y+f[f.length-1]-g.y)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.x+=(g.data.x+i+(f[h+1]-i)*l-g.x)*e,g.y+=(g.data.y+j+(f[h+2]-j)*l-g.y)*e}}},spine.ScaleTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.ScaleTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-3])return g.scaleX+=(g.data.scaleX*f[f.length-2]-g.scaleX)*e,void(g.scaleY+=(g.data.scaleY*f[f.length-1]-g.scaleY)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.scaleX+=(g.data.scaleX*(i+(f[h+1]-i)*l)-g.scaleX)*e,g.scaleY+=(g.data.scaleY*(j+(f[h+2]-j)*l)-g.scaleY)*e}}},spine.ColorTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(5*a),this.frames.length=5*a},spine.ColorTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length/5},setFrame:function(a,b,c,d,e,f){a*=5,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d,this.frames[a+3]=e,this.frames[a+4]=f},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-5]){var k=f.length-1;g=f[k-3],h=f[k-2],i=f[k-1],j=f[k]}else{var l=spine.Animation.binarySearch(f,c,5),m=f[l-4],n=f[l-3],o=f[l-2],p=f[l-1],q=f[l],r=1-(c-q)/(f[l-5]-q);r=this.curves.getCurvePercent(l/5-1,r),g=m+(f[l+1]-m)*r,h=n+(f[l+2]-n)*r,i=o+(f[l+3]-o)*r,j=p+(f[l+4]-p)*r}var s=a.slots[this.slotIndex];e<1?(s.r+=(g-s.r)*e,s.g+=(h-s.g)*e,s.b+=(i-s.b)*e,s.a+=(j-s.a)*e):(s.r=g,s.g=h,s.b=i,s.a=j)}}},spine.AttachmentTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(a),this.frames.length=a,this.attachmentNames=[],this.attachmentNames.length=a},spine.AttachmentTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.attachmentNames[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(cc&&this.apply(a,b,Number.MAX_VALUE,null,0));b>c&&(b=-1);var g=c>=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;if(!(f[g]c)this.apply(a,b,Number.MAX_VALUE,d,e),b=-1;else if(b>=f[g-1])return;if(!(c0&&f[h-1]==i;)h--}for(var j=this.events;h=f[h];h++)d[d.length]=j[h]}}}},spine.DrawOrderTimeline=function(a){this.frames=new spine.Float32Array(a),this.frames.length=a,this.drawOrders=[],this.drawOrders.length=a},spine.DrawOrderTimeline.prototype={getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.drawOrders[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;var h=a.drawOrder,i=a.slots,j=this.drawOrders[g];if(j)for(var k=0,l=j.length;k=h[h.length-1]){var l=i[h.length-1];if(e<1)for(var m=0;m1?1:p);var q=i[n-1],r=i[n];if(e<1)for(var m=0;m=f[f.length-3])return g.mix+=(f[f.length-2]-g.mix)*e,void(g.bendDirection=f[f.length-1]);var h=spine.Animation.binarySearch(f,c,3),i=f[h+-2],j=f[h],k=1-(c-j)/(f[h+-3]-j);k=this.curves.getCurvePercent(h/3-1,k);var l=i+(f[h+1]-i)*k;g.mix+=(l-g.mix)*e,g.bendDirection=f[h+-1]}}},spine.SkeletonData=function(){this.bones=[],this.slots=[],this.skins=[],this.events=[],this.animations=[],this.ikConstraints=[],this.transformConstraints=[]},spine.SkeletonData.prototype={name:null,defaultSkin:null,width:0,height:0,version:null,hash:null,findBone:function(a){for(var b=this.bones,c=0,d=b.length;c=0;j--){var m=b[j];if(m==l.bone||m==l.target){b.splice(j+1,0,l);break}}},updateWorldTransform:function(){for(var a=this.cache,b=0,c=a.length;b=0&&this.setCurrent(b,e)):!c.loop&&c.lastTime>=c.endTime&&this.clearTrack(b)}}},apply:function(a){for(var b=0;bf&&(d=f);var h=c.previous;if(h){var i=h.time;!h.loop&&i>h.endTime&&(i=h.endTime),h.animation.apply(a,i,i,h.loop,null);var j=c.mixTime/c.mixDuration*c.mix;j>=1&&(j=1,c.previous=null),c.animation.mix(a,c.lastTime,d,g,this.events,j)}else 1==c.mix?c.animation.apply(a,c.lastTime,d,g,this.events):c.animation.mix(a,c.lastTime,d,g,this.events,c.mix);for(var k=0,l=this.events.length;kd%f:e=f){var n=Math.floor(d/f);c.onComplete&&c.onComplete(b,n),this.onComplete&&this.onComplete(b,n)}c.lastTime=c.time}}},clearTracks:function(){for(var a=0,b=this.tracks.length;a=this.tracks.length)){var b=this.tracks[a];b&&(b.onEnd&&b.onEnd(a),this.onEnd&&this.onEnd(a),this.tracks[a]=null)}},_expandToIndex:function(a){if(a=this.tracks.length;)this.tracks[this.tracks.length]=null;return null},setCurrent:function(a,b){var c=this._expandToIndex(a);if(c){var d=c.previous;c.previous=null,c.onEnd&&c.onEnd(a),this.onEnd&&this.onEnd(a),b.mixDuration=this.data.getMix(c.animation,b.animation),b.mixDuration>0&&(b.mixTime=0,d&&c.mixTime/c.mixDuration<.5?b.previous=d:b.previous=c)}this.tracks[a]=b,b.onStart&&b.onStart(a),this.onStart&&this.onStart(a)},setAnimationByName:function(a,b,c){var d=this.data.skeletonData.findAnimation(b);if(!d)throw"Animation not found: "+b;return this.setAnimation(a,d,c)},setAnimation:function(a,b,c){var d=new spine.TrackEntry;return d.animation=b,d.loop=c,d.endTime=b.duration,this.setCurrent(a,d),d},addAnimationByName:function(a,b,c,d){var e=this.data.skeletonData.findAnimation(b);if(!e)throw"Animation not found: "+b;return this.addAnimation(a,e,c,d)},addAnimation:function(a,b,c,d){var e=new spine.TrackEntry;e.animation=b,e.loop=c,e.endTime=b.duration;var f=this._expandToIndex(a);if(f){for(;f.next;)f=f.next;f.next=e}else this.tracks[a]=e;return d<=0&&(f?d+=f.endTime-this.data.getMix(f.animation,b):d=0),e.delay=d,e},getCurrent:function(a){return a>=this.tracks.length?null:this.tracks[a]}},spine.SkeletonJson=function(a){this.attachmentLoader=a,this.linkedMeshes=[]},spine.SkeletonJson.prototype={scale:1,readSkeletonData:function(a,b){var c=new spine.SkeletonData;c.name=b;var d=a.skeleton;d&&(c.hash=d.hash,c.version=d.spine,c.width=d.width||0,c.height=d.height||0);for(var e=a.bones,f=0,g=e.length;f=0;T--)Y[T]=4294967295;var Z=X.offsets,$=new spine.Uint32Array(W-Z.length);$.length=W-Z.length;for(var _=0,aa=0,T=0,S=Z.length;T=0;T--)4294967295==Y[T]&&(Y[T]=$[--aa])}l.setFrame(m++,X.time,Y)}d[d.length]=l,e=Math.max(e,l.frames[l.getFrameCount()-1])}var ca=b.events;if(ca){for(var l=new spine.EventTimeline(ca.length),m=0,n=0,o=ca.length;n=this.lines.length?null:this.lines[this.index++]},readValue:function(){var a=this.readLine(),b=a.indexOf(":");if(b==-1)throw"Invalid line: "+a;return this.trim(a.substring(b+1))},readTuple:function(a){var b=this.readLine(),c=b.indexOf(":");if(c==-1)throw"Invalid line: "+b;for(var d=0,e=c+1;d<3;d++){var f=b.indexOf(",",e);if(f==-1)break;a[d]=this.trim(b.substr(e,f-e)),e=f+1}return a[d]=this.trim(b.substring(e)),d+1}},spine.AtlasAttachmentLoader=function(a){this.atlas=a},spine.AtlasAttachmentLoader.prototype={newRegionAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (region attachment: "+b+")";var e=new spine.RegionAttachment(b);return e.rendererObject=d,e.setUVs(d.u,d.v,d.u2,d.v2,d.rotate),e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (mesh attachment: "+b+")";var e=new spine.MeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newWeightedMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (weighted mesh attachment: "+b+")";var e=new spine.WeightedMeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newBoundingBoxAttachment:function(a,b){return new spine.BoundingBoxAttachment(b)}},spine.SkeletonBounds=function(){this.polygonPool=[],this.polygons=[],this.boundingBoxes=[]},spine.SkeletonBounds.prototype={minX:0,minY:0,maxX:0,maxY:0,update:function(a,b){var c=a.slots,d=c.length,e=a.x,f=a.y,g=this.boundingBoxes,h=this.polygonPool,i=this.polygons;g.length=0;for(var j=0,k=i.length;j0?(n=h[o-1],h.splice(o-1,1)):n=new spine.Float32Array,i[i.length]=n,n.length=m.vertices.length,m.computeWorldVertices(e,f,l.bone,n)}}b&&this.aabbCompute()},aabbCompute:function(){for(var a=this.polygons,b=Number.MAX_VALUE,c=Number.MAX_VALUE,d=-Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0,g=a.length;f=this.minX&&a<=this.maxX&&b>=this.minY&&b<=this.maxY},aabbIntersectsSegment:function(a,b,c,d){var e=this.minX,f=this.minY,g=this.maxX,h=this.maxY;if(a<=e&&c<=e||b<=f&&d<=f||a>=g&&c>=g||b>=h&&d>=h)return!1;var i=(d-b)/(c-a),j=i*(e-a)+b;if(j>f&&jf&&je&&ke&&ka.minX&&this.minYa.minY},containsPoint:function(a,b){for(var c=this.polygons,d=0,e=c.length;d=c||i=c){var j=a[g];j+(c-h)/(i-h)*(a[e]-j)=j&&s<=m||s>=m&&s<=j)&&(s>=b&&s<=d||s>=d&&s<=b)){var t=(i*q-h*o)/r;if((t>=k&&t<=n||t>=n&&t<=k)&&(t>=c&&t<=e||t>=e&&t<=c))return!0}j=m,k=n}return!1},getPolygon:function(a){var b=this.boundingBoxes.indexOf(a);return b==-1?null:this.polygons[b]},getWidth:function(){return this.maxX-this.minX},getHeight:function(){return this.maxY-this.minY}};var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserSpine;!function(a){var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addSpineCache(),d.addSpineFactory(),d.addSpineLoader(),d}return __extends(c,b),c.prototype.addSpineLoader=function(){Phaser.Loader.prototype.spine=function(a,b,c){var d=this,e=a+"Atlas",f={atlas:e,basePath:""===b.substring(0,b.lastIndexOf("/"))?".":b.substring(0,b.lastIndexOf("/")),variants:void 0};void 0===c?c=[""]:f.variants=c,c.forEach(function(a){d.onFileComplete.add(function(b,c){if(c===e){new spine.Atlas(d.game.cache.getText(c),{load:function(b,c,e){d.image(c,f.basePath+"/"+c.substr(0,c.lastIndexOf("."))+a+".png")}})}}),d.text(e,b.substr(0,b.lastIndexOf("."))+a+".atlas")}),this.json(a,b),this.game.cache.addSpine(a,f)}},c.prototype.addSpineFactory=function(){Phaser.GameObjectFactory.prototype.spine=function(b,c,d,e,f){void 0===f&&(f=this.world);var g=new a.Spine(this.game,d,e);return g.setToSetupPose(),g.position.x=b,g.position.y=c,f.add(g)},Phaser.GameObjectCreator.prototype.spine=function(b,c,d,e,f){return new a.Spine(this.game,d,e)}},c.prototype.addSpineCache=function(){Phaser.Cache.prototype.spine={},Phaser.Cache.prototype.addSpine=function(a,b){this.spine[a]=b},Phaser.Cache.prototype.getSpine=function(a){return!this.spine.hasOwnProperty(a),this.spine[a]}},c}(Phaser.Plugin);b.RESOLUTION_REGEXP=/@(.+)x/,a.SpinePlugin=b}(PhaserSpine||(PhaserSpine={})),Phaser.Rope.prototype.postUpdate=function(){},spine.Bone.yDown=!0;var PhaserSpine;!function(a){var b=function(b){function c(c,d,e){var f=b.call(this,c)||this;f.imageScale=1;var g=f.game.cache.getSpine(d);void 0!==e&&g.variants.indexOf(e)!==-1?f.imageScale=f.getScaleFromVariant(e):g.variants&&g.variants.length>=1&&(f.imageScale=f.getScaleFromVariant(g.variants[0]));var h=new a.SpineTextureLoader(c),i=new spine.Atlas(c.cache.getText(g.atlas),h),j=new spine.AtlasAttachmentLoader(i),k=new spine.SkeletonJson(j);if(f.skeletonData=k.readSkeletonData(c.cache.getJSON(d)),!f.skeletonData)throw new Error("Spine data must be preloaded using Loader.spine");f.onEvent=new Phaser.Signal,f.onComplete=new Phaser.Signal,f.onEnd=new Phaser.Signal,f.skeleton=new spine.Skeleton(f.skeletonData),f.skeleton.updateWorldTransform(),f.stateData=new spine.AnimationStateData(f.skeletonData),f.state=new spine.AnimationState(f.stateData),f.state.onEvent=f.onEvent.dispatch.bind(f.onEvent),f.state.onComplete=f.onComplete.dispatch.bind(f.onComplete),f.state.onEnd=f.onEnd.dispatch.bind(f.onEnd),f.slotContainers=[];for(var l=0,m=f.skeleton.slots.length;l0})},a.prototype.getCookiesForNameSpace=function(){var a=this,b={};return this.getNameSpaceMatches().forEach(function(c){var d=c.replace(a.namespace,"").split("=");b[d[0]]=d[1]}),b},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a}();a.CookieStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(a){var b=function(){function a(){this.namespace="",this.keys=[]}return Object.defineProperty(a.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),a.prototype.key=function(a){return this.promisefy(this.keys[a])},a.prototype.getItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.getItem(b.namespace+a,function(a){c(a)},function(a){2===a.code?c(null):d(a)})})},a.prototype.setItem=function(a,b){var c=this;return a.length<1?void console.error("CordovaStorage: Key cannot be an empty string!"):new Promise(function(d,e){NativeStorage.setItem(c.namespace+a,b,function(){c.keys.indexOf(a)<0&&(c.keys.push(a),c.save()),d(null)},function(a){e(a)})})},a.prototype.removeItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.remove(b.namespace+a,function(){var d=b.keys.indexOf(a);d>=0&&(b.keys.splice(d,1),b.save()),c(null)},function(a){d(a)})})},a.prototype.clear=function(){var a=this;return new Promise(function(b,c){for(var d=0,e=0;e=a.keys.length&&(a.keys=[],a.save(),b(null))},function(a){c(a)})})},a.prototype.setNamespace=function(a){var b=this;return void 0===a&&(a=""),this.namespace=a+":",this.keys=[],new Promise(function(a,c){b.load().then(a).catch(a)})},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a.prototype.load=function(){var a=this;return new Promise(function(b,c){NativeStorage.getItem(a.namespace,function(c){a.keys=JSON.parse(c),b(null)},function(a){c(a)})})},a.prototype.save=function(){NativeStorage.setItem(this.namespace,JSON.stringify(this.keys),function(){},function(a){console.warn("CordovaStorage: Failed to save keys of namespace.")})},a}();a.CordovaStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a,b){void 0===a&&(a=""),void 0===b&&(b="*"),this.namespace="",this.expectedOrigin="",this.storageLength=0,this.enabled=!1,""!==a&&this.setNamespace(a),this.expectedOrigin=b}return Object.defineProperty(b.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"length",{get:function(){return this.storageLength},enumerable:!0,configurable:!0}),b.prototype.init=function(){var b=this;return this.sendMessage({command:a.StorageCommand.init}).then(function(){b.enabled=!0})},b.prototype.key=function(b){return this.sendMessage({command:a.StorageCommand.key,value:b})},b.prototype.getItem=function(b){return this.sendMessage({command:a.StorageCommand.getItem,key:b})},b.prototype.setItem=function(b,c){return this.sendMessage({command:a.StorageCommand.setItem,key:b,value:c})},b.prototype.removeItem=function(b){return this.sendMessage({command:a.StorageCommand.removeItem,key:b})},b.prototype.clear=function(){return this.sendMessage({command:a.StorageCommand.clear})},b.prototype.setNamespace=function(b){return this.sendMessage({command:a.StorageCommand.setNamespace,value:b})},b.prototype.sendMessage=function(b){var c,d=this;b.command===a.StorageCommand.init&&(c=!1);var e=new MessageChannel;return new Promise(function(f,g){d.enabled||b.command===a.StorageCommand.init||g("Messaging not enabled!"),b.command===a.StorageCommand.init&&setTimeout(function(){c||g("Unable to get a response in time")},1e3),e.port1.onmessage=function(b){console.log("Frame received message",b);var e=a.StorageUtils.validateMessage(b.data);switch(e.command===a.StorageCommand.init&&(c=!0),void 0!==e.status&&"ok"===e.status||g(e.value),void 0!==e.length&&(d.storageLength=e.length),e.command){case a.StorageCommand.setNamespace:d.namespace=e.value+":";case a.StorageCommand.getItem:case a.StorageCommand.length:case a.StorageCommand.key:f(e.value);break;case a.StorageCommand.setItem:case a.StorageCommand.removeItem:case a.StorageCommand.clear:case a.StorageCommand.init:f(e.status);break;default:g(e.value)}},(d.enabled||b.command===a.StorageCommand.init)&&(console.log("Sending message to parent: ",b),window.parent.postMessage(b,d.expectedOrigin,[e.port2]))})},b}();b.IframeStorage=c}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a){void 0===a&&(a=""),this.namespace="",this.forcePromises=!1,this.setNamespace(a)}return Object.defineProperty(b.prototype,"length",{get:function(){var b=Object.keys(localStorage);return a.StorageUtils.nameSpaceKeyFilter(b,this.namespace).length},enumerable:!0,configurable:!0}),b.prototype.key=function(a){return this.forcePromises?this.promisefy(this._key,arguments):this._key(a)},b.prototype._key=function(b){var c=Object.keys(localStorage),d=a.StorageUtils.nameSpaceKeyFilter(c,this.namespace),e=localStorage.getItem(d[b]);return e},b.prototype.getItem=function(a){return this.forcePromises?this.promisefy(this._getItem,arguments):this._getItem(a)},b.prototype._getItem=function(a){return localStorage.getItem(this.namespace+a)},b.prototype.setItem=function(a,b){return this.forcePromises?this.promisefy(this._setItem,arguments):this._setItem(a,b)},b.prototype._setItem=function(a,b){return localStorage.setItem(this.namespace+a,b)},b.prototype.removeItem=function(a){return this.forcePromises?this.promisefy(this._removeItem,arguments):this._removeItem(a)},b.prototype._removeItem=function(a){return localStorage.removeItem(this.namespace+a)},b.prototype.clear=function(){return this.forcePromises?this.promisefy(this._clear,arguments):this._clear()},b.prototype._clear=function(){for(var b=Object.keys(localStorage),c=a.StorageUtils.nameSpaceKeyFilter(b,this.namespace),d=0;d","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function x(e,t){for(var n,i,r=0,a=t.length;rn&&(i=a.exec(r[n]))?i.index:null}function b(e,t,n,i){var r={url:t,line:n};if(r.url&&r.line){e.incomplete=!1,r.func||(r.func=k(r.url,r.line)),r.context||(r.context=R(r.url,r.line));var a=/ '([^']+)' /.exec(i);if(a&&(r.column=v(a[1],r.url,r.line)),0]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,r=n?n.split("\n"):[],a=[],o=0,s=r.length;o|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|ionic|app|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=e.stack.split("\n"),o=[],s=/^(.*) is undefined$/.exec(e.message);if(p.Utilities.isReactNative())for(var u,c,l,d=/^(.*@)?.*\/[^\.]+(\.app|CodePush)\/?(.*)/,f=0;f>>0;if(0==r)return-1;var a=0|t;if(r<=a)return-1;for(n=Math.max(0<=a?a:r-Math.abs(a),0);n>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1t?e.slice(0,t-"(...)".length)+"(...)":e},getOrigin:function(){return p.location.origin?p.location.origin:p.location.protocol+"//"+p.location.hostname+(p.location.port?":"+p.location.port:"")},resolveFullUrl:function(e){if(e&&0===e.indexOf("//")&&(e=p.location.protocol+e),e&&p.location.pathname&&-1===e.indexOf("://")){var t=this.getOrigin();if(0===e.indexOf("/"))return t+e;var n=p.location.pathname.split("/");return n.pop(),t+n.join("/")+"/"+e}return e},removeFromArray:function(e,t){for(var n=[],i=0;i=t.length-1)return!1;var i=t.lastIndexOf(".",e-1);if(i<=0||e-1<=i)return!1;var s=o[t.slice(e+1)];return!!s&&0<=s.indexOf(" "+t.slice(i+1,e)+" ")},t.is=function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(0<=t.lastIndexOf(".",e-1))return!1;var i=o[t.slice(e+1)];return!!i&&0<=i.indexOf(" "+t.slice(0,e)+" ")},t.get=function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var i=t.lastIndexOf(".",e-1);if(i<=0||e-1<=i)return null;var s=o[t.slice(e+1)];return s?s.indexOf(" "+t.slice(i+1,e)+" ")<0?null:t.slice(i+1):null},t}(),n=function(){function t(){}return t.setList=function(t){o=t||{}},t.getDomain=function(t){if(!o)return null;var e=t.match(/\./g);if(e&&e.length<2)return t;var i=this.getTld(t);if(!i)return null;var s=t.length-i.length-1;return s=t.lastIndexOf(".",s-1)+1,t.substring(s)||""},t.getTld=function(t){if(!o)return"";var e=t.lastIndexOf("."),i=t.substring(e+1);return o[i.toLowerCase()]&&s.get(t)||i},t.KEY="Domains",t}(),a=function(){function t(){this.cache={}}return Object.defineProperty(t,"instance",{get:function(){return void 0===t.classInstance&&(t.classInstance=new t),t.classInstance},enumerable:!1,configurable:!0}),t.prototype.load=function(e,t,i){var s=this;return this.contains(e)?Promise.reject("Already in cache."):(this.cache[e]={url:t,data:null},this.requestXhr(t,i).then(function(t){return s.loadComplete(e,t)}).catch(function(t){return s.remove(e),Promise.reject(t)}))},t.prototype.loadComplete=function(t,e){if(!this.contains(t))return Promise.reject("Item was removed from cache before loading was complete.");try{var i=JSON.parse(e);return this.cache[t].data=i,Promise.resolve(i)}catch(t){return Promise.reject("There was an error parsing JSON file.")}},t.prototype.remove=function(t){this.contains(t)&&delete this.cache[t]},t.prototype.get=function(t){return this.contains(t)?this.cache[t].data:null},t.prototype.contains=function(t){return this.cache.hasOwnProperty(t)},t.prototype.isLoading=function(t){return this.contains(t)&&null===this.cache[t].data},t.prototype.isLoaded=function(t){return this.contains(t)&&null!==this.cache[t].data},t.prototype.loadScript=function(s,t,o){return void 0===t&&(t=!0),new Promise(function(t,e){var i=document.createElement("script");i.src=s,i.async=!1,i.onload=function(){"function"==typeof o&&o(),t()},document.head.appendChild(i)})},t.prototype.requestXhr=function(i,s){var o;return void 0===s&&(s="application/json"),window.XMLHttpRequest?(o=new XMLHttpRequest,new Promise(function(t,e){o.onreadystatechange=function(){4===o.readyState&&(200===o.status?(t(o.responseText),o.onreadystatechange=null):0>>2]|=(i[o>>>2]>>>24-o%4*8&255)<<24-(s+o)%4*8;else if(65535>>2]=i[o>>>2];else e.push.apply(e,i);return this.sigBytes+=t,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=r.ceil(e/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i>>2]>>>24-s%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,i=[],s=0;s>>3]|=parseInt(t.substr(s,2),16)<<24-s%8*4;return new h.init(i,e/2)}},l=n.Latin1={stringify:function(t){var e=t.words;t=t.sigBytes;for(var i=[],s=0;s>>2]>>>24-s%4*8&255));return i.join("")},parse:function(t){for(var e=t.length,i=[],s=0;s>>2]|=(255&t.charCodeAt(s))<<24-s%4*8;return new h.init(i,e)}},c=n.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},p=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,s=e.sigBytes,o=this.blockSize,n=s/(4*o);if(t=(n=t?r.ceil(n):r.max((0|n)-this._minBufferSize,0))*o,s=r.min(4*t,s),t){for(var a=0;a>>7)^(u<<14|u>>>18)^u>>>3)+g[p-7]+((d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10)+g[p-16]}u=c+((r<<26|r>>>6)^(r<<21|r>>>11)^(r<<7|r>>>25))+(r&h^~r&l)+y[p]+g[p],d=((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+(s&o^s&n^o&n),c=l,l=h,h=r,r=a+u|0,a=n,n=o,o=s,s=u+d|0}i[0]=i[0]+s|0,i[1]=i[1]+o|0,i[2]=i[2]+n|0,i[3]=i[3]+a|0,i[4]=i[4]+r|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+c|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,s=8*t.sigBytes;return e[s>>>5]|=128<<24-s%32,e[14+(s+64>>>9<<4)]=o.floor(i/4294967296),e[15+(s+64>>>9<<4)]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=i._createHelper(s),t.HmacSHA256=i._createHmacHelper(s)}(Math),c=(l=k).enc.Utf8,l.algo.HMAC=l.lib.Base.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=c.parse(e));var i=t.blockSize,s=4*i;e.sigBytes>s&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),n=this._iKey=e.clone(),a=o.words,r=n.words,h=0;h>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a>>6*(3-a)&63));if(e=s.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(t){var e=t.length,i=this._map;(s=i.charAt(64))&&-1!=(s=t.indexOf(s))&&(e=s);for(var s=[],o=0,n=0;n>>6-n%4*2;s[o>>>2]|=(a|r)<<24-o%4*8,o++}return d.create(s,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},y=Dt||(Dt={}),(g=y.EGAErrorSeverity||(y.EGAErrorSeverity={}))[g.Undefined=0]="Undefined",g[g.Debug=1]="Debug",g[g.Info=2]="Info",g[g.Warning=3]="Warning",g[g.Error=4]="Error",g[g.Critical=5]="Critical",(f=y.EGAGender||(y.EGAGender={}))[f.Undefined=0]="Undefined",f[f.Male=1]="Male",f[f.Female=2]="Female",(m=y.EGAProgressionStatus||(y.EGAProgressionStatus={}))[m.Undefined=0]="Undefined",m[m.Start=1]="Start",m[m.Complete=2]="Complete",m[m.Fail=3]="Fail",(v=y.EGAResourceFlowType||(y.EGAResourceFlowType={}))[v.Undefined=0]="Undefined",v[v.Source=1]="Source",v[v.Sink=2]="Sink",x=y.http||(y.http={}),(b=x.EGASdkErrorType||(x.EGASdkErrorType={}))[b.Undefined=0]="Undefined",b[b.Rejected=1]="Rejected",(w=x.EGAHTTPApiResponse||(x.EGAHTTPApiResponse={}))[w.NoResponse=0]="NoResponse",w[w.BadResponse=1]="BadResponse",w[w.RequestTimeout=2]="RequestTimeout",w[w.JsonEncodeFailed=3]="JsonEncodeFailed",w[w.JsonDecodeFailed=4]="JsonDecodeFailed",w[w.InternalServerError=5]="InternalServerError",w[w.BadRequest=6]="BadRequest",w[w.Unauthorized=7]="Unauthorized",w[w.UnknownResponseCode=8]="UnknownResponseCode",w[w.Ok=9]="Ok";var A,B,C,E,I,O,M,L,D,R,F,G,N,V,H,z,X,j,W,q,Y,K,J,Q,Z,$,tt,et,it,st,ot,nt,at,rt,ht,lt,ct,pt,ut,dt,yt,gt,ft,mt,vt,xt,bt,wt,Pt,_t,St,Tt,kt,At,Bt,Ct,Et,It,Ot,Mt,Lt,Dt,Rt,Ft,Gt,Ut,Nt,Vt,Ht,zt,Xt,jt,Wt,qt;Dt.EGAErrorSeverity,Dt.EGAGender,Dt.EGAProgressionStatus,Dt.EGAResourceFlowType;(function(t){var s,e;(e=s||(s={}))[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Debug=3]="Debug";var i=function(){function i(){i.debugEnabled=!1}return i.setInfoLog=function(t){i.instance.infoLogEnabled=t},i.setVerboseLog=function(t){i.instance.infoLogVerboseEnabled=t},i.i=function(t){if(i.instance.infoLogEnabled){var e="Info/"+i.Tag+": "+t;i.instance.sendNotificationMessage(e,s.Info)}},i.w=function(t){var e="Warning/"+i.Tag+": "+t;i.instance.sendNotificationMessage(e,s.Warning)},i.e=function(t){var e="Error/"+i.Tag+": "+t;i.instance.sendNotificationMessage(e,s.Error)},i.ii=function(t){if(i.instance.infoLogVerboseEnabled){var e="Verbose/"+i.Tag+": "+t;i.instance.sendNotificationMessage(e,s.Info)}},i.d=function(t){if(i.debugEnabled){var e="Debug/"+i.Tag+": "+t;i.instance.sendNotificationMessage(e,s.Debug)}},i.prototype.sendNotificationMessage=function(t,e){switch(e){case s.Error:case s.Warning:break;case s.Debug:console.debug;break;case s.Info:}},i.instance=new i,i.Tag="GameAnalytics",i}();t.GALogger=i})((A=Dt||(Dt={})).logging||(A.logging={})),B=Dt||(Dt={}),C=B.utilities||(B.utilities={}),E=B.logging.GALogger,I=function(){function c(){}return c.getHmac=function(t,e){var i=k.HmacSHA256(e,t);return k.enc.Base64.stringify(i)},c.stringMatch=function(t,e){return!(!t||!e)&&e.test(t)},c.joinStringArray=function(t,e){for(var i="",s=0,o=t.length;s>2,o=(3&e)<<4|(i=t.charCodeAt(l++))>>4,n=(15&i)<<2|(r=t.charCodeAt(l++))>>6,h=63&r,isNaN(i)?n=h=64:isNaN(r)&&(h=64),a=a+c.keyStr.charAt(s)+c.keyStr.charAt(o)+c.keyStr.charAt(n)+c.keyStr.charAt(h),e=i=r=0,s=o=n=h=0,lt)return L.w(n+" validation failed: array cannot exceed "+t+" values. It has "+o.length+" values."),!1;for(var a=0;ap.MaxNumberOfEntries},p.select=function(t,e,i,s){void 0===e&&(e=[]),void 0===i&&(i=!1),void 0===s&&(s=0);var o=p.getStore(t);if(!o)return null;for(var n=[],a=0;as&&(n=n.slice(0,s+1)),n},p.update=function(t,e,i){void 0===i&&(i=[]);var s=p.getStore(t);if(!s)return!1;for(var o=0;o=a.MaxCount)){var o=nt.getHmac(s,i),n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState){if(!n.responseText)return;if(200!=n.status)return void at.w("sdk error failed. response code not 200. status code: "+n.status+", description: "+n.statusText+", body: "+n.responseText);a.countMap[e]=a.countMap[e]+1}},n.open("POST",t,!0),n.setRequestHeader("Content-Type","application/json"),n.setRequestHeader("Authorization",o);try{n.send(i)}catch(t){}}},a.MaxCount=10,a.countMap={},a}(),ot.SdkErrorTask=rt,ht=Dt||(Dt={}),lt=ht.http||(ht.http={}),ct=ht.state.GAState,pt=ht.logging.GALogger,ut=ht.utilities.GAUtilities,dt=ht.validators.GAValidator,yt=ht.tasks.SdkErrorTask,gt=function(){function c(){this.protocol="https",this.hostName=window.location.host,this.version="v2",this.baseUrl=this.protocol+"://"+this.hostName+"/"+this.version,this.initializeUrlPath="init",this.eventsUrlPath="events",this.useGzip=!1}return c.prototype.requestInit=function(t){var e=ct.getGameKey(),i=(this.baseUrl,this.initializeUrlPath);i=`https://${window.location.host}/v2/command_center?game_key=`+e+"&interval_seconds=1000000";var s=ct.getInitAnnotations(),o=JSON.stringify(s);if(o){var n=this.createPayloadData(o,this.useGzip),a=[];a.push(o),c.sendRequest(i,n,a,this.useGzip,c.initRequestCallback,t)}else t(lt.EGAHTTPApiResponse.JsonEncodeFailed,null)},c.prototype.sendEventsInArray=function(t,e,i){if(0!=t.length){var s=ct.getGameKey(),o=this.baseUrl+"/"+s+"/"+this.eventsUrlPath,n=JSON.stringify(t);if(n){var a=this.createPayloadData(n,this.useGzip),r=[];r.push(n),r.push(e),r.push(t.length.toString()),c.sendRequest(o,a,r,this.useGzip,c.sendEventInArrayRequestCallback,i)}else i(lt.EGAHTTPApiResponse.JsonEncodeFailed,null,e,t.length)}},c.prototype.sendSdkErrorEvent=function(t){if(ct.isEventSubmissionEnabled()){var e=ct.getGameKey(),i=ct.getGameSecret();if(dt.validateSdkErrorEvent(e,i,t)){var s,o=this.baseUrl+"/"+e+"/"+this.eventsUrlPath,n=ct.getSdkErrorEventAnnotations(),a=c.sdkErrorTypeToString(t);n.type=a;var r=[];r.push(n),(s=JSON.stringify(r))?yt.execute(o,t,s,i):pt.w("sendSdkErrorEvent: JSON encoding failed.")}}},c.sendEventInArrayRequestCallback=function(t,e,i,s){void 0===s&&(s=null),s[0],s[1];var o,n,a=s[2],r=parseInt(s[3]);o=t.responseText,n=t.status;var h=c.instance.processRequestResponse(n,t.statusText,o,"Events");if(h==lt.EGAHTTPApiResponse.Ok||h==lt.EGAHTTPApiResponse.BadRequest){var l=o?JSON.parse(o):{};null!=l?(lt.EGAHTTPApiResponse.BadRequest,i(h,l,a,r)):i(lt.EGAHTTPApiResponse.JsonDecodeFailed,null,a,r)}else i(h,null,a,r)},c.sendRequest=function(t,e,i,s,o,n){var a=new XMLHttpRequest,r=ct.getGameSecret(),h=ut.getHmac(r,e),l=[];for(var c in l.push(h),i)l.push(i[c]);if(a.onreadystatechange=function(){4===a.readyState&&o(a,t,n,l)},a.open("POST",t,!0),a.setRequestHeader("Content-Type","text/plain"),a.setRequestHeader("Authorization",h),s)throw new Error("gzip not supported");try{a.send(e)}catch(t){}},c.initRequestCallback=function(t,e,i,s){var o,n;void 0===s&&(s=null),s[0],s[1],o=t.responseText,n=t.status;var a=o?JSON.parse(o):{},r=c.instance.processRequestResponse(n,t.statusText,o,"Init");if(r==lt.EGAHTTPApiResponse.Ok||r==lt.EGAHTTPApiResponse.BadRequest)if(null!=a)if(r!==lt.EGAHTTPApiResponse.BadRequest){var h=dt.validateAndCleanInitRequestResponse(a);h?i(lt.EGAHTTPApiResponse.Ok,h,"",0):i(lt.EGAHTTPApiResponse.BadResponse,null,"",0)}else i(r,null,"",0);else i(lt.EGAHTTPApiResponse.JsonDecodeFailed,null,"",0);else i(r,null,"",0)},c.prototype.createPayloadData=function(t,e){if(e)throw new Error("gzip not supported");return t},c.prototype.processRequestResponse=function(t,e,i,s){return i?200===t?lt.EGAHTTPApiResponse.Ok:0===t||401===t?lt.EGAHTTPApiResponse.Unauthorized:400===t?lt.EGAHTTPApiResponse.BadRequest:500===t?lt.EGAHTTPApiResponse.InternalServerError:lt.EGAHTTPApiResponse.UnknownResponseCode:lt.EGAHTTPApiResponse.NoResponse},c.sdkErrorTypeToString=function(t){switch(t){case lt.EGASdkErrorType.Rejected:return"rejected";default:return""}},c.instance=new c,c}(),lt.GAHTTPApi=gt,ft=Dt||(Dt={}),mt=ft.events||(ft.events={}),vt=ft.store.GAStore,xt=ft.store.EGAStore,bt=ft.store.EGAStoreArgsOperator,wt=ft.state.GAState,Pt=ft.logging.GALogger,_t=ft.utilities.GAUtilities,St=ft.http.EGAHTTPApiResponse,Tt=ft.http.GAHTTPApi,kt=ft.validators.GAValidator,At=ft.http.EGASdkErrorType,Bt=function(){function u(){}return u.addSessionStartEvent=function(){if(wt.isEventSubmissionEnabled()){var t={};t.category=u.CategorySessionStart,wt.incrementSessionNum(),vt.setItem(wt.SessionNumKey,wt.getSessionNum().toString()),u.addDimensionsToEvent(t),u.addEventToStore(t),Pt.i("Add SESSION START event"),u.processEvents(u.CategorySessionStart,!1)}},u.addSessionEndEvent=function(){if(wt.isEventSubmissionEnabled()){var t=wt.getSessionStart(),e=wt.getClientTsAdjusted()-t;e<0&&(Pt.w("Session length was calculated to be less then 0. Should not be possible. Resetting to 0."),e=0);var i={};i.category=u.CategorySessionEnd,i.length=e,u.addDimensionsToEvent(i),u.addEventToStore(i),Pt.i("Add SESSION END event."),u.processEvents("",!1)}},u.addBusinessEvent=function(t,e,i,s,o,n){if(void 0===o&&(o=null),wt.isEventSubmissionEnabled())if(kt.validateBusinessEvent(t,e,o,i,s)){var a={};wt.incrementTransactionNum(),vt.setItem(wt.TransactionNumKey,wt.getTransactionNum().toString()),a.event_id=i+":"+s,a.category=u.CategoryBusiness,a.currency=t,a.amount=e,a[wt.TransactionNumKey]=wt.getTransactionNum(),o&&(a.cart_type=o),u.addDimensionsToEvent(a),u.addFieldsToEvent(a,wt.validateAndCleanCustomFields(n)),Pt.i("Add BUSINESS event: {currency:"+t+", amount:"+e+", itemType:"+i+", itemId:"+s+", cartType:"+o+"}"),u.addEventToStore(a)}else Tt.instance.sendSdkErrorEvent(At.Rejected)},u.addResourceEvent=function(t,e,i,s,o,n){if(wt.isEventSubmissionEnabled())if(kt.validateResourceEvent(t,e,i,s,o,wt.getAvailableResourceCurrencies(),wt.getAvailableResourceItemTypes())){t===ft.EGAResourceFlowType.Sink&&(i*=-1);var a={},r=u.resourceFlowTypeToString(t);a.event_id=r+":"+e+":"+s+":"+o,a.category=u.CategoryResource,a.amount=i,u.addDimensionsToEvent(a),u.addFieldsToEvent(a,wt.validateAndCleanCustomFields(n)),Pt.i("Add RESOURCE event: {currency:"+e+", amount:"+i+", itemType:"+s+", itemId:"+o+"}"),u.addEventToStore(a)}else Tt.instance.sendSdkErrorEvent(At.Rejected)},u.addProgressionEvent=function(t,e,i,s,o,n,a){if(wt.isEventSubmissionEnabled()){var r=u.progressionStatusToString(t);if(kt.validateProgressionEvent(t,e,i,s)){var h,l={};h=i?s?e+":"+i+":"+s:e+":"+i:e,l.category=u.CategoryProgression,l.event_id=r+":"+h;var c=0;n&&t!=ft.EGAProgressionStatus.Start&&(l.score=o),t===ft.EGAProgressionStatus.Fail&&wt.incrementProgressionTries(h),t===ft.EGAProgressionStatus.Complete&&(wt.incrementProgressionTries(h),c=wt.getProgressionTries(h),l.attempt_num=c,wt.clearProgressionTries(h)),u.addDimensionsToEvent(l),u.addFieldsToEvent(l,wt.validateAndCleanCustomFields(a)),Pt.i("Add PROGRESSION event: {status:"+r+", progression01:"+e+", progression02:"+i+", progression03:"+s+", score:"+o+", attempt:"+c+"}"),u.addEventToStore(l)}else Tt.instance.sendSdkErrorEvent(At.Rejected)}},u.addDesignEvent=function(t,e,i,s){if(wt.isEventSubmissionEnabled())if(kt.validateDesignEvent(t,e)){var o={};o.category=u.CategoryDesign,o.event_id=t,i&&(o.value=e),u.addDimensionsToEvent(o),u.addFieldsToEvent(o,wt.validateAndCleanCustomFields(s)),Pt.i("Add DESIGN event: {eventId:"+t+", value:"+e+"}"),u.addEventToStore(o)}else Tt.instance.sendSdkErrorEvent(At.Rejected)},u.addErrorEvent=function(t,e,i){if(wt.isEventSubmissionEnabled()){var s=u.errorSeverityToString(t);if(kt.validateErrorEvent(t,e)){var o={};o.category=u.CategoryError,o.severity=s,o.message=e,u.addDimensionsToEvent(o),u.addFieldsToEvent(o,wt.validateAndCleanCustomFields(i)),Pt.i("Add ERROR event: {severity:"+s+", message:"+e+"}"),u.addEventToStore(o)}else Tt.instance.sendSdkErrorEvent(At.Rejected)}},u.processEvents=function(t,e){if(wt.isEventSubmissionEnabled())try{var i=_t.createGuid();e&&(u.cleanupEvents(),u.fixMissingSessionEndEvents());var s=[];s.push(["status",bt.Equal,"new"]);var o=[];o.push(["status",bt.Equal,"new"]),t&&(s.push(["category",bt.Equal,t]),o.push(["category",bt.Equal,t]));var n=[];n.push(["status",i]);var a=vt.select(xt.Events,s);if(!a||0==a.length)return Pt.i("Event queue: No events to send"),void u.updateSessionStore();if(a.length>u.MaxEventCount){if(!(a=vt.select(xt.Events,s,!0,u.MaxEventCount)))return;var r=a[a.length-1].client_ts;if(s.push(["client_ts",bt.LessOrEqual,r]),!(a=vt.select(xt.Events,s)))return;o.push(["client_ts",bt.LessOrEqual,r])}if(Pt.i("Event queue: Sending "+a.length+" events."),!vt.update(xt.Events,n,o))return;for(var h=[],l=0;la[0]&&e[1]t.strokeWidth&&(e=t.trailWidth);var i=50-e/2;return o.render(this._pathTemplate,{radius:i,"2radius":2*i})},n.prototype._trailString=function(t){return this._pathString(t)},e.exports=n},{"./shape":7,"./utils":9}],3:[function(t,e,i){var s=t("./shape"),o=t("./utils"),n=function(t,e){this._pathTemplate="M 0,{center} L 100,{center}",s.apply(this,arguments)};((n.prototype=new s).constructor=n).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},n.prototype._pathString=function(t){return o.render(this._pathTemplate,{center:t.strokeWidth/2})},n.prototype._trailString=function(t){return this._pathString(t)},e.exports=n},{"./shape":7,"./utils":9}],4:[function(t,e,i){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./square":8,"./utils":9}],5:[function(t,e,i){var c=t("shifty"),p=t("./utils"),s={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"},o=function t(e,i){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");var s;i=p.extend({duration:800,easing:"linear",from:{},to:{},step:function(){}},i),s=p.isString(e)?document.querySelector(e):e,this.path=s,this._opts=i,this._tweenable=null;var o=this.path.getTotalLength();this.path.style.strokeDasharray=o+" "+o,this.set(0)};o.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength(),i=1-t/e;return parseFloat(i.toFixed(6),10)},o.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e=this._opts.step;if(p.isFunction(e)){var i=this._easing(this._opts.easing),s=this._calculateTo(t,i),o=this._opts.shape||this;e(s,o,this._opts.attachment)}},o.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},o.prototype.animate=function(t,i,e){i=i||{},p.isFunction(i)&&(e=i,i={});var s=p.extend({},i),o=p.extend({},this._opts);i=p.extend(o,i);var n=this._easing(i.easing),a=this._resolveFromAndTo(t,n,s);this.stop(),this.path.getBoundingClientRect();var r=this._getComputedDashOffset(),h=this._progressToOffset(t),l=this;this._tweenable=new c,this._tweenable.tween({from:p.extend({offset:r},a.from),to:p.extend({offset:h},a.to),duration:i.duration,easing:n,step:function(t){l.path.style.strokeDashoffset=t.offset;var e=i.shape||l;i.step(t,e,i.attachment)},finish:function(t){p.isFunction(e)&&e()}})},o.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},o.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},o.prototype._resolveFromAndTo=function(t,e,i){return i.from&&i.to?{from:i.from,to:i.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},o.prototype._calculateFrom=function(t){return c.interpolate(this._opts.from,this._opts.to,this.value(),t)},o.prototype._calculateTo=function(t,e){return c.interpolate(this._opts.from,this._opts.to,t,e)},o.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},o.prototype._easing=function(t){return s.hasOwnProperty(t)?s[t]:t},e.exports=o},{"./utils":9,shifty:1}],6:[function(t,e,i){var s=t("./shape"),o=t("./circle"),n=t("./utils"),a=function(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,s.apply(this,arguments)};((a.prototype=new s).constructor=a).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},a.prototype._initializeTextContainer=function(t,e,i){t.text.style&&(i.style.top="auto",i.style.bottom="0",t.text.alignToBottom?n.setStyle(i,"transform","translate(-50%, 0)"):n.setStyle(i,"transform","translate(-50%, 50%)"))},a.prototype._pathString=o.prototype._pathString,a.prototype._trailString=o.prototype._trailString,e.exports=a},{"./circle":2,"./shape":7,"./utils":9}],7:[function(t,e,i){var a=t("./path"),r=t("./utils"),s="Object is destroyed",o=function t(e,i){if(!(this instanceof t))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=r.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},i,!0),r.isObject(i)&&void 0!==i.svgStyle&&(this._opts.svgStyle=i.svgStyle),r.isObject(i)&&r.isObject(i.text)&&void 0!==i.text.style&&(this._opts.text.style=i.text.style);var s,o=this._createSvgView(this._opts);if(!(s=r.isString(e)?document.querySelector(e):e))throw new Error("Container does not exist: "+e);this._container=s,this._container.appendChild(o.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&r.setStyles(o.svg,this._opts.svgStyle),this.svg=o.svg,this.path=o.path,this.trail=o.trail,this.text=null;var n=r.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new a(o.path,n),r.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}};o.prototype.animate=function(t,e,i){if(null===this._progressPath)throw new Error(s);this._progressPath.animate(t,e,i)},o.prototype.stop=function(){if(null===this._progressPath)throw new Error(s);void 0!==this._progressPath&&this._progressPath.stop()},o.prototype.destroy=function(){if(null===this._progressPath)throw new Error(s);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,(this._progressPath=null)!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},o.prototype.set=function(t){if(null===this._progressPath)throw new Error(s);this._progressPath.set(t)},o.prototype.value=function(){if(null===this._progressPath)throw new Error(s);return void 0===this._progressPath?0:this._progressPath.value()},o.prototype.setText=function(t){if(null===this._progressPath)throw new Error(s);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),r.isObject(t)?(r.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},o.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(e,t);var i=null;(t.trailColor||t.trailWidth)&&(i=this._createTrail(t),e.appendChild(i));var s=this._createPath(t);return e.appendChild(s),{svg:e,path:s,trail:i}},o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},o.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},o.prototype._createTrail=function(t){var e=this._trailString(t),i=r.extend({},t);return i.trailColor||(i.trailColor="#eee"),i.trailWidth||(i.trailWidth=i.strokeWidth),i.color=i.trailColor,i.strokeWidth=i.trailWidth,i.fill=null,this._createPathElement(e,i)},o.prototype._createPathElement=function(t,e){var i=document.createElementNS("http://www.w3.org/2000/svg","path");return i.setAttribute("d",t),i.setAttribute("stroke",e.color),i.setAttribute("stroke-width",e.strokeWidth),e.fill?i.setAttribute("fill",e.fill):i.setAttribute("fill-opacity","0"),i},o.prototype._createTextContainer=function(t,e){var i=document.createElement("div");i.className=t.text.className;var s=t.text.style;return s&&(t.text.autoStyleContainer&&(e.style.position="relative"),r.setStyles(i,s),s.color||(i.style.color=t.color)),this._initializeTextContainer(t,e,i),i},o.prototype._initializeTextContainer=function(t,e,i){},o.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._warnContainerAspectRatio=function(t){if(this.containerAspectRatio){var e=window.getComputedStyle(t,null),i=parseFloat(e.getPropertyValue("width"),10),s=parseFloat(e.getPropertyValue("height"),10);r.floatEquals(this.containerAspectRatio,i/s)}},e.exports=o},{"./path":5,"./utils":9}],8:[function(t,e,i){var s=t("./shape"),o=t("./utils"),n=function(t,e){this._pathTemplate="M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}",this._trailTemplate="M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}",s.apply(this,arguments)};((n.prototype=new s).constructor=n).prototype._pathString=function(t){var e=100-t.strokeWidth/2;return o.render(this._pathTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2})},n.prototype._trailString=function(t){var e=100-t.strokeWidth/2;return o.render(this._trailTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2,startMargin:t.strokeWidth/2-t.trailWidth/2})},e.exports=n},{"./shape":7,"./utils":9}],9:[function(t,e,i){var a="Webkit Moz O ms".split(" ");function s(t,e,i){for(var s=t.style,o=0;o\n \n
\n
\n
\n \n
\n \n
\n
\n
'+i+"
\n ",n=document.head||document.getElementsByTagName("head")[0],(a=document.createElement("style")).type="text/css",a.styleSheet?a.styleSheet.cssText=s:a.appendChild(document.createTextNode(s)),n.appendChild(a),(r=document.createElement("div")).innerHTML=o,r.id="h5branding-container",(h=document.body||document.getElementsByTagName("body")[0]).insertBefore(r,h.firstChild),this.circleLoader=new Zt.Circle("#h5branding-bar",{strokeWidth:3,color:this.options.barColor}),[4,Promise.all([this.loadBranding(),this.loadLibs(),T.preload()])];case 1:return t.sent(),this.loaded=!0,[2]}var e,i})})},e.prototype.loadBranding=function(){return Jt(this,void 0,void 0,function(){var e,i,s;return Qt(this,function(t){switch(t.label){case 0:return[4,_.preload(Date.now().toString())];case 1:return t.sent(),(e=document.getElementById("h5branding-background"))&&(e.style.backgroundImage="url("+this.getGameLogoUrl(this.options.gameId)+")",e.style.backgroundColor=_.brandingBackgroundColor),(i=document.getElementById("h5branding-logo"))&&S.getBrandingDomain()!==h.BrandingDomain.Neutral&&((s=document.createElement("img")).src=_.brandingLogoUrl.replace("_small",""),i.appendChild(s)),[2]}})})},e.prototype.loadLibs=function(){var i=this,s=this.options.libs.map(function(t,e){return a.instance.loadScript(t,!0,function(){i.setScriptloadProgress(s.length,e+1)})});return Promise.all(s)},Object.defineProperty(e.prototype,"bannerAllowed",{get:function(){var t=document.body.clientWidth,e=document.body.clientHeight;return this.progress<100&&!(et.vertices.length)throw new Error("lol2");if(e<0)throw new Error("lol3");for(var s=e;se[t][0])&&(t=i);P.left(this.at(t-1),this.at(t),this.at(t+1))||this.reverse()},_.prototype.reverse=function(){for(var t=[],e=0,i=this.vertices.length;e!==i;e++)t.push(this.vertices.pop());this.vertices=t},_.prototype.isReflex=function(t){return P.right(this.at(t-1),this.at(t),this.at(t+1))};var h=[],l=[];function S(t,e,i,s,o){o=o||0;var n=e[1]-t[1],a=t[0]-e[0],r=n*t[0]+a*t[1],h=s[1]-i[1],l=i[0]-s[0],c=h*i[0]+l*i[1],p=n*l-h*a;return u.eq(p,0,o)?[0,0]:[(l*r-a*c)/p,(n*c-h*r)/p]}_.prototype.canSee=function(t,e){var i,s,o=h,n=l;if(P.leftOn(this.at(t+1),this.at(t),this.at(e))&&P.rightOn(this.at(t-1),this.at(t),this.at(e)))return!1;s=P.sqdist(this.at(t),this.at(e));for(var a=0;a!==this.vertices.length;++a)if((a+1)%this.vertices.length!==t&&a!==t&&P.leftOn(this.at(t),this.at(e),this.at(a+1))&&P.rightOn(this.at(t),this.at(e),this.at(a))&&(o[0]=this.at(t),o[1]=this.at(e),n[0]=this.at(a),n[1]=this.at(a+1),i=r.lineInt(o,n),P.sqdist(this.at(t),i) (http://steffe.se)",keywords:["p2.js","p2","physics","engine","2d"],main:"./src/p2.js",engines:{node:"*"},repository:{type:"git",url:"https://github.com/schteppe/p2.js.git"},bugs:{url:"https://github.com/schteppe/p2.js/issues"},licenses:[{type:"MIT"}],devDependencies:{grunt:"^0.4.5","grunt-contrib-jshint":"^0.11.2","grunt-contrib-nodeunit":"^0.4.1","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.5.0","grunt-browserify":"~2.0.1","grunt-contrib-concat":"^0.4.0"},dependencies:{"poly-decomp":"0.1.0"}}},{}],7:[function(t,e,i){var d=t("../math/vec2");t("../utils/Utils");function s(t){this.lowerBound=d.create(),t&&t.lowerBound&&d.copy(this.lowerBound,t.lowerBound),this.upperBound=d.create(),t&&t.upperBound&&d.copy(this.upperBound,t.upperBound)}e.exports=s;var y=d.create();s.prototype.setFromPoints=function(t,e,i,s){var o=this.lowerBound,n=this.upperBound;"number"!=typeof i&&(i=0),0!==i?d.rotate(o,t[0],i):d.copy(o,t[0]),d.copy(n,o);for(var a=Math.cos(i),r=Math.sin(i),h=1;hn[u]&&(n[u]=l[u]),l[u]i&&(this.lowerBound[e]=i);var s=t.upperBound[e];this.upperBound[e]Math.pow(u,2))return 0;if(h)return!0;var d=this.createContactEquation(t,o,e,n);return H(d.normalA,a,i),V.normalize(d.normalA,d.normalA),V.scale(d.contactPointA,d.normalA,l),V.scale(d.contactPointB,d.normalA,-c),z(d.contactPointA,d.contactPointA,i),H(d.contactPointA,d.contactPointA,t.position),z(d.contactPointB,d.contactPointB,a),H(d.contactPointB,d.contactPointB,o.position),this.contactEquations.push(d),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(d)),1},$.prototype[l.PLANE|l.CONVEX]=$.prototype[l.PLANE|l.BOX]=$.prototype.planeConvex=function(t,e,i,s,o,n,a,r,h){var l=j,c=W,p=q,u=0;V.rotate(c,S,s);for(var d=0;d!==n.vertices.length;d++){var y=n.vertices[d];if(V.rotate(l,y,r),z(l,l,a),H(p,l,i),X(p,c)<=0){if(h)return!0;u++;var g=this.createContactEquation(t,o,e,n);H(p,l,i),V.copy(g.normalA,c);var f=X(p,g.normalA);V.scale(p,g.normalA,f),H(g.contactPointB,l,o.position),H(g.contactPointA,l,p),H(g.contactPointA,g.contactPointA,t.position),this.contactEquations.push(g),this.enableFrictionReduction||this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(g))}}return this.enableFrictionReduction&&this.enableFriction&&u&&this.frictionEquations.push(this.createFrictionFromAverage(u)),u},$.prototype[l.PARTICLE|l.PLANE]=$.prototype.particlePlane=function(t,e,i,s,o,n,a,r,h){var l=j,c=W;r=r||0,H(l,i,a),V.rotate(c,S,r);var p=X(l,c);if(0Math.pow(e.radius,2))return 0;if(h)return!0;var c=this.createContactEquation(t,o,e,n);return V.copy(c.normalA,l),V.normalize(c.normalA,c.normalA),V.scale(c.contactPointA,c.normalA,e.radius),z(c.contactPointA,c.contactPointA,i),H(c.contactPointA,c.contactPointA,t.position),H(c.contactPointB,a,o.position),this.contactEquations.push(c),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(c)),1};var T=new r({radius:1}),k=V.create(),A=V.create();V.create();$.prototype[l.PLANE|l.CAPSULE]=$.prototype.planeCapsule=function(t,e,i,s,o,n,a,r,h){var l,c=k,p=A,u=T;V.set(c,-n.length/2,0),V.rotate(c,c,r),z(c,c,a),V.set(p,n.length/2,0),V.rotate(p,p,r),z(p,p,a),u.radius=n.radius,this.enableFrictionReduction&&(l=this.enableFriction,this.enableFriction=!1);var d=this.circlePlane(o,u,c,0,t,e,i,s,h),y=this.circlePlane(o,u,p,0,t,e,i,s,h);if(this.enableFrictionReduction&&(this.enableFriction=l),h)return d||y;var g=d+y;return this.enableFrictionReduction&&g&&this.frictionEquations.push(this.createFrictionFromAverage(g)),g},$.prototype[l.CIRCLE|l.PLANE]=$.prototype.circlePlane=function(t,e,i,s,o,n,a,r,h){var l=t,c=e,p=i,u=o,d=a,y=r;y=y||0;var g=j,f=W,m=q;H(g,p,d),V.rotate(f,S,y);var v=X(f,g);if(v>c.radius)return 0;if(h)return!0;var x=this.createContactEquation(u,l,n,e);return V.copy(x.normalA,f),V.scale(x.contactPointB,x.normalA,-c.radius),z(x.contactPointB,x.contactPointB,p),H(x.contactPointB,x.contactPointB,l.position),V.scale(m,x.normalA,v),H(x.contactPointA,g,m),z(x.contactPointA,x.contactPointA,d),H(x.contactPointA,x.contactPointA,u.position),this.contactEquations.push(x),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(x)),1},$.prototype[l.CONVEX]=$.prototype[l.CONVEX|l.BOX]=$.prototype[l.BOX]=$.prototype.convexConvex=function(t,e,i,s,o,n,a,r,h,l){var c=j,p=W,u=q,d=Y,y=K,g=J,f=Q,m=Z,v=0;l="number"==typeof l?l:0;if(!$.findSeparatingAxis(e,i,s,n,a,r,c))return 0;H(f,a,i),0g[0]&&(w=y,b=g,!0),h=(P=w[0]-b[1])<=0,(null===r||rg[0]&&(w=y,b=g,!0),h=(P=w[0]-b[1])<=0,(null===r||r=c.length&&(b=c.length-1);for(var w=c[x],P=c[b],_=x;_w&&(w=c[_]);if(i[1]-l>w)return!h&&0;var S=!1;for(_=x;_=m[0]&&d[0]=l.length&&(f=l.length-1);for(var m=l[g],v=l[f],x=g;xm&&(m=l[x]);if(t.aabb.lowerBound[1]>m)return!h&&0;var b=0;for(x=g;xe.boundingRadius*e.boundingRadius||(this._currentBody=o,(this._currentShape=e).raycast(t,this,s,i),this._currentBody=this._currentShape=null)},a.prototype.getAABB=function(t){var e=this.to,i=this.from;h.set(t.lowerBound,Math.min(e[0],i[0]),Math.min(e[1],i[1])),h.set(t.upperBound,Math.max(e[0],i[0]),Math.max(e[1],i[1]))};h.create();a.prototype.reportIntersection=function(t,e,i,s){this.from,this.to;var o=this._currentShape,n=this._currentBody;if(!(this.skipBackfaces&&0this.upperLimit&&(n.maxForce=0,n.minForce=-this.maxForce,this.distance=this.upperLimit,r=!0),this.lowerLimitEnabled&&this.position>1;if(e<3)return[];for(var i=[],s=[],o=0;o3*n)break}return i.push(s[0],s[1],s[2]),i},_PointInTriangle:function(t,e,i,s,o,n,a,r){var h=a-i,l=r-s,c=o-i,p=n-s,u=t-i,d=e-s,y=h*h+l*l,g=h*c+l*p,f=h*u+l*d,m=c*c+p*p,v=c*u+p*d,x=1/(y*m-g*g),b=(m*f-g*v)*x,w=(y*v-g*f)*x;return 0<=b&&0<=w&&b+w<1},_convex:function(t,e,i,s,o,n){return 0<=(e-s)*(o-i)+(i-t)*(n-s)}};e.exports=v},{}],30:[function(t,e,i){var a=e.exports={},s=t("../utils/Utils");a.crossLength=function(t,e){return t[0]*e[1]-t[1]*e[0]},a.crossVZ=function(t,e,i){return a.rotate(t,e,-Math.PI/2),a.scale(t,t,i),t},a.crossZV=function(t,e,i){return a.rotate(t,i,Math.PI/2),a.scale(t,t,e),t},a.rotate=function(t,e,i){if(0!==i){var s=Math.cos(i),o=Math.sin(i),n=e[0],a=e[1];t[0]=s*n-o*a,t[1]=o*n+s*a}else t[0]=e[0],t[1]=e[1]},a.rotate90cw=function(t,e){var i=e[0],s=e[1];t[0]=s,t[1]=-i},a.toLocalFrame=function(t,e,i,s){a.copy(t,e),a.sub(t,t,i),a.rotate(t,t,-s)},a.toGlobalFrame=function(t,e,i,s){a.copy(t,e),a.rotate(t,t,s),a.add(t,t,i)},a.vectorToLocalFrame=function(t,e,i){a.rotate(t,e,-i)},a.vectorToGlobalFrame=function(t,e,i){a.rotate(t,e,i)},a.centroid=function(t,e,i,s){return a.add(t,e,i),a.add(t,t,s),a.scale(t,t,1/3),t},a.create=function(){var t=new s.ARRAY_TYPE(2);return t[0]=0,t[1]=0,t},a.clone=function(t){var e=new s.ARRAY_TYPE(2);return e[0]=t[0],e[1]=t[1],e},a.fromValues=function(t,e){var i=new s.ARRAY_TYPE(2);return i[0]=t,i[1]=e,i},a.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},a.set=function(t,e,i){return t[0]=e,t[1]=i,t},a.add=function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},a.subtract=function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},a.sub=a.subtract,a.multiply=function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},a.mul=a.multiply,a.divide=function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},a.div=a.divide,a.scale=function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},a.distance=function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return Math.sqrt(i*i+s*s)},a.dist=a.distance,a.squaredDistance=function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return i*i+s*s},a.sqrDist=a.squaredDistance,a.length=function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},a.len=a.length,a.squaredLength=function(t){var e=t[0],i=t[1];return e*e+i*i},a.sqrLen=a.squaredLength,a.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},a.normalize=function(t,e){var i=e[0],s=e[1],o=i*i+s*s;return 0this.sleepTimeLimit&&(e?this.wantsToSleep=!0:this.sleep())}},r.prototype.overlaps=function(t){return this.world.overlapKeeper.bodiesAreOverlapping(this,t)};var _=p.create(),S=p.create();r.prototype.integrate=function(t){var e=this.invMass,i=this.force,s=this.position,o=this.velocity;p.copy(this.previousPosition,this.position),this.previousAngle=this.angle,this.fixedRotation||(this.angularVelocity+=this.angularForce*this.invInertia*t),p.scale(_,i,t*e),p.multiply(_,this.massMultiplier,_),p.add(o,_,o),this.integrateToTimeOfImpact(t)||(p.scale(S,o,t),p.add(s,s,S),this.fixedRotation||(this.angle+=this.angularVelocity*t)),this.aabbNeedsUpdate=!0};var T=new s,k=new o({mode:o.ALL}),A=p.create(),B=p.create(),C=p.create(),E=p.create();r.prototype.integrateToTimeOfImpact=function(t){if(this.ccdSpeedThreshold<0||p.squaredLength(this.velocity)d&&(P.sub(r,a,h),P.normalize(r,r),e.reportIntersection(t,y,r,-1),t.shouldStop(e)))return}else{var v=Math.sqrt(y),x=1/(2*g),b=(-f-v)*x,w=(-f+v)*x;if(0<=b&&b<=1&&(P.lerp(a,o,n,b),P.squaredDistance(a,i)>d&&(P.sub(r,a,h),P.normalize(r,r),e.reportIntersection(t,b,r,-1),t.shouldStop(e))))return;if(0<=w&&w<=1&&(P.lerp(a,o,n,w),P.squaredDistance(a,i)>d&&(P.sub(r,a,h),P.normalize(r,r),e.reportIntersection(t,w,r,-1),t.shouldStop(e))))return}}}},{"../math/vec2":30,"./Shape":45}],39:[function(t,e,i){var s=t("./Shape"),m=t("../math/vec2");function o(t){"number"==typeof t&&(t={radius:t}),t=t||{},this.radius=t.radius||1,t.type=s.CIRCLE,s.call(this,t)}(((e.exports=o).prototype=new s).constructor=o).prototype.computeMomentOfInertia=function(t){var e=this.radius;return t*e*e/2},o.prototype.updateBoundingRadius=function(){this.boundingRadius=this.radius},o.prototype.updateArea=function(){this.area=Math.PI*this.radius*this.radius},o.prototype.computeAABB=function(t,e,i){var s=this.radius;m.set(t.upperBound,s,s),m.set(t.lowerBound,-s,-s),e&&(m.add(t.lowerBound,t.lowerBound,e),m.add(t.upperBound,t.upperBound,e))};var v=m.create(),x=m.create();o.prototype.raycast=function(t,e,i,s){var o=e.from,n=e.to,a=this.radius,r=Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2),h=2*((n[0]-o[0])*(o[0]-i[0])+(n[1]-o[1])*(o[1]-i[1])),l=Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)-Math.pow(a,2),c=Math.pow(h,2)-4*r*l,p=v,u=x;if(!(c<0))if(0===c)m.lerp(p,o,n,c),m.sub(u,p,i),m.normalize(u,u),e.reportIntersection(t,c,u,-1);else{var d=Math.sqrt(c),y=1/(2*r),g=(-h-d)*y,f=(-h+d)*y;if(0<=g&&g<=1&&(m.lerp(p,o,n,g),m.sub(u,p,i),m.normalize(u,u),e.reportIntersection(t,g,u,-1),t.shouldStop(e)))return;0<=f&&f<=1&&(m.lerp(p,o,n,f),m.sub(u,p,i),m.normalize(u,u),e.reportIntersection(t,f,u,-1))}}},{"../math/vec2":30,"./Shape":45}],40:[function(t,e,i){var h=t("./Shape"),d=t("../math/vec2"),r=t("../math/polyk");t("poly-decomp");function u(t){Array.isArray(t)&&(t={vertices:t,axes:arguments[1]}),t=t||{},this.vertices=[];for(var e=void 0!==t.vertices?t.vertices:[],i=0;it;)e.pop();for(;e.length=t&&s=this.children.length)throw new Error("The supplied index is out of bounds");var i=this.getChildIndex(t);this.children.splice(i,1),this.children.splice(e,0,t)},L.DisplayObjectContainer.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Supplied index "+t+" does not exist in the child list, or the supplied DisplayObject must be a child of the caller");return this.children[t]},L.DisplayObjectContainer.prototype.removeChild=function(t){var e=this.children.indexOf(t);if(-1!==e)return this.removeChildAt(e)},L.DisplayObjectContainer.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e&&(e.parent=void 0,this.children.splice(t,1)),e},L.DisplayObjectContainer.prototype.removeChildren=function(t,e){void 0===t&&(t=0),void 0===e&&(e=this.children.length);var i=e-t;if(0>16&255)/255,(t>>8&255)/255,(255&t)/255]},L.rgb2hex=function(t){return(255*t[0]<<16)+(255*t[1]<<8)+255*t[2]},L.canUseNewCanvasBlendModes=function(){if(void 0===document)return!1;var t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABAQMAAADD8p2OAAAAA1BMVEX/",e="AAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==",i=new Image;i.src=t+"AP804Oa6"+e;var s=new Image;s.src=t+"/wCKxvRF"+e;var o=L.CanvasPool.create(this,6,1).getContext("2d");if(o.globalCompositeOperation="multiply",o.drawImage(i,0,0),o.drawImage(s,2,0),!o.getImageData(2,0,1,1))return!1;var n=o.getImageData(2,0,1,1).data;return L.CanvasPool.remove(this),255===n[0]&&0===n[1]&&0===n[2]},L.getNextPowerOfTwo=function(t){if(0=this.size&&(this.flush(),this.currentBaseTexture=i.baseTexture);var o=i._uvs;if(o){var n,a,r,h,l=t.anchor.x,c=t.anchor.y;if(i.trim){var p=i.trim;n=(a=p.x-l*p.width)+i.crop.width,r=(h=p.y-c*p.height)+i.crop.height}else n=i.frame.width*(1-l),a=i.frame.width*-l,r=i.frame.height*(1-c),h=i.frame.height*-c;var u=4*this.currentBatchSize*this.vertSize,d=i.baseTexture.resolution,y=s.a/d,g=s.b/d,f=s.c/d,m=s.d/d,v=s.tx,x=s.ty,b=this.colors,w=this.positions;this.renderSession.roundPixels?(w[u]=y*a+f*h+v|0,w[u+1]=m*h+g*a+x|0,w[u+5]=y*n+f*h+v|0,w[u+6]=m*h+g*n+x|0,w[u+10]=y*n+f*r+v|0,w[u+11]=m*r+g*n+x|0,w[u+15]=y*a+f*r+v|0,w[u+16]=m*r+g*a+x|0):(w[u]=y*a+f*h+v,w[u+1]=m*h+g*a+x,w[u+5]=y*n+f*h+v,w[u+6]=m*h+g*n+x,w[u+10]=y*n+f*r+v,w[u+11]=m*r+g*n+x,w[u+15]=y*a+f*r+v,w[u+16]=m*r+g*a+x),w[u+2]=o.x0,w[u+3]=o.y0,w[u+7]=o.x1,w[u+8]=o.y1,w[u+12]=o.x2,w[u+13]=o.y2,w[u+17]=o.x3,w[u+18]=o.y3;var P=t.tint;b[u+4]=b[u+9]=b[u+14]=b[u+19]=(P>>16)+(65280&P)+((255&P)<<16)+(255*t.worldAlpha<<24),this.sprites[this.currentBatchSize++]=t}},L.WebGLSpriteBatch.prototype.renderTilingSprite=function(t){var e=t.tilingTexture;this.currentBatchSize>=this.size&&(this.flush(),this.currentBaseTexture=e.baseTexture),t._uvs||(t._uvs=new L.TextureUvs);var i=t._uvs,s=e.baseTexture.width,o=e.baseTexture.height;t.tilePosition.x%=s*t.tileScaleOffset.x,t.tilePosition.y%=o*t.tileScaleOffset.y;var n=t.tilePosition.x/(s*t.tileScaleOffset.x),a=t.tilePosition.y/(o*t.tileScaleOffset.y),r=t.width/s/(t.tileScale.x*t.tileScaleOffset.x),h=t.height/o/(t.tileScale.y*t.tileScaleOffset.y);i.x0=0-n,i.y0=0-a,i.x1=1*r-n,i.y1=0-a,i.x2=1*r-n,i.y2=1*h-a,i.x3=0-n,i.y3=1*h-a;var l=t.tint,c=(l>>16)+(65280&l)+((255&l)<<16)+(255*t.worldAlpha<<24),p=this.positions,u=this.colors,d=t.width,y=t.height,g=t.anchor.x,f=t.anchor.y,m=d*(1-g),v=d*-g,x=y*(1-f),b=y*-f,w=4*this.currentBatchSize*this.vertSize,P=e.baseTexture.resolution,_=t.worldTransform,S=_.a/P,T=_.b/P,k=_.c/P,A=_.d/P,B=_.tx,C=_.ty;p[w++]=S*v+k*b+B,p[w++]=A*b+T*v+C,p[w++]=i.x0,p[w++]=i.y0,u[w++]=c,p[w++]=S*m+k*b+B,p[w++]=A*b+T*m+C,p[w++]=i.x1,p[w++]=i.y1,u[w++]=c,p[w++]=S*m+k*x+B,p[w++]=A*x+T*m+C,p[w++]=i.x2,p[w++]=i.y2,u[w++]=c,p[w++]=S*v+k*x+B,p[w++]=A*x+T*v+C,p[w++]=i.x3,p[w++]=i.y3,u[w++]=c,this.sprites[this.currentBatchSize++]=t},L.WebGLSpriteBatch.prototype.flush=function(){if(0!==this.currentBatchSize){var t,e,i,s,o=this.gl;if(this.dirty){this.dirty=!1,o.activeTexture(o.TEXTURE0),o.bindBuffer(o.ARRAY_BUFFER,this.vertexBuffer),o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,this.indexBuffer),t=this.defaultShader.shaders[o.id];var n=4*this.vertSize;o.vertexAttribPointer(t.aVertexPosition,2,o.FLOAT,!1,n,0),o.vertexAttribPointer(t.aTextureCoord,2,o.FLOAT,!1,n,8),o.vertexAttribPointer(t.colorAttribute,4,o.UNSIGNED_BYTE,!0,n,16)}if(this.currentBatchSize>.5*this.size)o.bufferSubData(o.ARRAY_BUFFER,0,this.vertices);else{var a=this.positions.subarray(0,4*this.currentBatchSize*this.vertSize);o.bufferSubData(o.ARRAY_BUFFER,0,a)}for(var r,h=0,l=0,c=null,p=this.renderSession.blendModeManager.currentBlendMode,u=null,d=!1,y=!1,g=0,f=this.currentBatchSize;g=this.size&&this.flush()}},L.WebGLFastSpriteBatch.prototype.flush=function(){if(0!==this.currentBatchSize){var t=this.gl;if(this.currentBaseTexture._glTextures[t.id]||this.renderSession.renderer.updateTexture(this.currentBaseTexture,t),t.bindTexture(t.TEXTURE_2D,this.currentBaseTexture._glTextures[t.id]),this.currentBatchSize>.5*this.size)t.bufferSubData(t.ARRAY_BUFFER,0,this.vertices);else{var e=this.vertices.subarray(0,4*this.currentBatchSize*this.vertSize);t.bufferSubData(t.ARRAY_BUFFER,0,e)}t.drawElements(t.TRIANGLES,6*this.currentBatchSize,t.UNSIGNED_SHORT,0),this.currentBatchSize=0,this.renderSession.drawCount++}},L.WebGLFastSpriteBatch.prototype.stop=function(){this.flush()},L.WebGLFastSpriteBatch.prototype.start=function(){var t=this.gl;t.activeTexture(t.TEXTURE0),t.bindBuffer(t.ARRAY_BUFFER,this.vertexBuffer),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this.indexBuffer);var e=this.renderSession.projection;t.uniform2f(this.shader.projectionVector,e.x,e.y),t.uniformMatrix3fv(this.shader.uMatrix,!1,this.matrix);var i=4*this.vertSize;t.vertexAttribPointer(this.shader.aVertexPosition,2,t.FLOAT,!1,i,0),t.vertexAttribPointer(this.shader.aPositionCoord,2,t.FLOAT,!1,i,8),t.vertexAttribPointer(this.shader.aScale,2,t.FLOAT,!1,i,16),t.vertexAttribPointer(this.shader.aRotation,1,t.FLOAT,!1,i,24),t.vertexAttribPointer(this.shader.aTextureCoord,2,t.FLOAT,!1,i,28),t.vertexAttribPointer(this.shader.colorAttribute,1,t.FLOAT,!1,i,36)},L.WebGLFilterManager=function(){this.filterStack=[],this.offsetX=0,this.offsetY=0},L.WebGLFilterManager.prototype.constructor=L.WebGLFilterManager,L.WebGLFilterManager.prototype.setContext=function(t){this.gl=t,this.texturePool=[],this.initShaderBuffers()},L.WebGLFilterManager.prototype.begin=function(t,e){this.renderSession=t,this.defaultShader=t.shaderManager.defaultShader;var i=this.renderSession.projection;this.width=2*i.x,this.height=2*-i.y,this.buffer=e},L.WebGLFilterManager.prototype.pushFilter=function(t){var e=this.gl,i=this.renderSession.projection,s=this.renderSession.offset;t._filterArea=t.target.filterArea||t.target.getBounds(),t._previous_stencil_mgr=this.renderSession.stencilManager,this.renderSession.stencilManager=new L.WebGLStencilManager,this.renderSession.stencilManager.setContext(e),e.disable(e.STENCIL_TEST),this.filterStack.push(t);var o=t.filterPasses[0];this.offsetX+=t._filterArea.x,this.offsetY+=t._filterArea.y;var n=this.texturePool.pop();n?n.resize(this.width*this.renderSession.resolution,this.height*this.renderSession.resolution):n=new L.FilterTexture(this.gl,this.width*this.renderSession.resolution,this.height*this.renderSession.resolution),e.bindTexture(e.TEXTURE_2D,n.texture);var a=t._filterArea,r=o.padding;a.x-=r,a.y-=r,a.width+=2*r,a.height+=2*r,a.x<0&&(a.x=0),a.width>this.width&&(a.width=this.width),a.y<0&&(a.y=0),a.height>this.height&&(a.height=this.height),e.bindFramebuffer(e.FRAMEBUFFER,n.frameBuffer),e.viewport(0,0,a.width*this.renderSession.resolution,a.height*this.renderSession.resolution),i.x=a.width/2,i.y=-a.height/2,s.x=-a.x,s.y=-a.y,e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),t._glFilterTexture=n},L.WebGLFilterManager.prototype.popFilter=function(){var t=this.gl,e=this.filterStack.pop(),i=e._filterArea,s=e._glFilterTexture,o=this.renderSession.projection,n=this.renderSession.offset;if(1this.baseTexture.width||t.y+t.height>this.baseTexture.height))this.valid=t&&t.width&&t.height&&this.baseTexture.source&&this.baseTexture.hasLoaded,this.trim&&(this.width=this.trim.width,this.height=this.trim.height,this.frame.width=this.trim.width,this.frame.height=this.trim.height),this.valid&&this._updateUvs();else{if(!L.TextureSilentFail)throw new Error("Texture Error: frame does not fit inside the base Texture dimensions "+this);this.valid=!1}},L.Texture.prototype._updateUvs=function(){this._uvs||(this._uvs=new L.TextureUvs);var t=this.crop,e=this.baseTexture.width,i=this.baseTexture.height;this._uvs.x0=t.x/e,this._uvs.y0=t.y/i,this._uvs.x1=(t.x+t.width)/e,this._uvs.y1=t.y/i,this._uvs.x2=(t.x+t.width)/e,this._uvs.y2=(t.y+t.height)/i,this._uvs.x3=t.x/e,this._uvs.y3=(t.y+t.height)/i},L.Texture.fromCanvas=function(t,e){var i=L.BaseTexture.fromCanvas(t,e);return new L.Texture(i)},L.TextureUvs=function(){this.x0=0,this.y0=0,this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.x3=0,this.y3=0},L.RenderTexture=function(t,e,i,s,o){if(this.width=t||100,this.height=e||100,this.resolution=o||1,this.frame=new L.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution),this.crop=new L.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution),this.baseTexture=new L.BaseTexture,this.baseTexture.width=this.width*this.resolution,this.baseTexture.height=this.height*this.resolution,this.baseTexture._glTextures=[],this.baseTexture.resolution=this.resolution,this.baseTexture.scaleMode=s||L.scaleModes.DEFAULT,this.baseTexture.hasLoaded=!0,L.Texture.call(this,this.baseTexture,new L.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution)),this.renderer=i||L.defaultRenderer,this.renderer.type===L.WEBGL_RENDERER){var n=this.renderer.gl;this.baseTexture._dirty[n.id]=!1,this.textureBuffer=new L.FilterTexture(n,this.width,this.height,this.baseTexture.scaleMode),this.baseTexture._glTextures[n.id]=this.textureBuffer.texture,this.render=this.renderWebGL,this.projection=new L.Point(.5*this.width,.5*-this.height)}else this.render=this.renderCanvas,this.textureBuffer=new L.CanvasBuffer(this.width*this.resolution,this.height*this.resolution),this.baseTexture.source=this.textureBuffer.canvas;this.valid=!0,this.tempMatrix=new Phaser.Matrix,this._updateUvs()},L.RenderTexture.prototype=Object.create(L.Texture.prototype),L.RenderTexture.prototype.constructor=L.RenderTexture,L.RenderTexture.prototype.resize=function(t,e,i){t===this.width&&e===this.height||(this.valid=0>>0;if("function"!=typeof t)throw new TypeError;for(var s=2<=arguments.length?arguments[1]:void 0,o=0;o=(t=t.toString()).length)switch(s){case 1:t=new Array(e+1-t.length).join(i)+t;break;case 3:var n=Math.ceil((o=e-t.length)/2);t=new Array(o-n+1).join(i)+t+new Array(n+1).join(i);break;default:t+=new Array(e+1-t.length).join(i)}return t},isPlainObject:function(t){if("object"!=typeof t||t.nodeType||t===t.window)return!1;try{if(t.constructor&&!{}.hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},extend:function(){var t,e,i,s,o,n,a=arguments[0]||{},r=1,h=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[1]||{},r=2),h===r&&(a=this,--r);rthis.x?(this._radius=0,this._diameter=0):this.radius=this.x-t}}),Object.defineProperty(H.Circle.prototype,"right",{get:function(){return this.x+this._radius},set:function(t){tthis.y?(this._radius=0,this._diameter=0):this.radius=this.y-t}}),Object.defineProperty(H.Circle.prototype,"bottom",{get:function(){return this.y+this._radius},set:function(t){t=t.left&&e<=t.right&&i>=t.top&&i<=t.bottom&&(t.x-e)*(t.x-e)+(t.y-i)*(t.y-i)<=t.radius*t.radius},H.Circle.equals=function(t,e){return t.x===e.x&&t.y===e.y&&t.diameter===e.diameter},H.Circle.intersects=function(t,e){return H.Math.distance(t.x,t.y,e.x,e.y)<=t.radius+e.radius},H.Circle.circumferencePoint=function(t,e,i,s){return void 0===i&&(i=!1),void 0===s&&(s=new H.Point),!0===i&&(e=H.Math.degToRad(e)),s.x=t.x+t.radius*Math.cos(e),s.y=t.y+t.radius*Math.sin(e),s},H.Circle.intersectsRectangle=function(t,e){var i=Math.abs(t.x-e.x-e.halfWidth);if(e.halfWidth+t.radius=this.right?this.width=0:this.width=this.right-t,this.x=t}}),Object.defineProperty(H.Rectangle.prototype,"right",{get:function(){return this.x+this.width},set:function(t){t<=this.x?this.width=0:this.width=t-this.x}}),Object.defineProperty(H.Rectangle.prototype,"volume",{get:function(){return this.width*this.height}}),Object.defineProperty(H.Rectangle.prototype,"perimeter",{get:function(){return 2*this.width+2*this.height}}),Object.defineProperty(H.Rectangle.prototype,"centerX",{get:function(){return this.x+this.halfWidth},set:function(t){this.x=t-this.halfWidth}}),Object.defineProperty(H.Rectangle.prototype,"centerY",{get:function(){return this.y+this.halfHeight},set:function(t){this.y=t-this.halfHeight}}),Object.defineProperty(H.Rectangle.prototype,"randomX",{get:function(){return this.x+Math.random()*this.width}}),Object.defineProperty(H.Rectangle.prototype,"randomY",{get:function(){return this.y+Math.random()*this.height}}),Object.defineProperty(H.Rectangle.prototype,"top",{get:function(){return this.y},set:function(t){t>=this.bottom?(this.height=0,this.y=t):this.height=this.bottom-t}}),Object.defineProperty(H.Rectangle.prototype,"topLeft",{get:function(){return new H.Point(this.x,this.y)},set:function(t){this.x=t.x,this.y=t.y}}),Object.defineProperty(H.Rectangle.prototype,"topRight",{get:function(){return new H.Point(this.x+this.width,this.y)},set:function(t){this.right=t.x,this.y=t.y}}),Object.defineProperty(H.Rectangle.prototype,"empty",{get:function(){return!this.width||!this.height},set:function(t){!0===t&&this.setTo(0,0,0,0)}}),H.Rectangle.prototype.constructor=H.Rectangle,H.Rectangle.inflate=function(t,e,i){return t.x-=e,t.width+=2*e,t.y-=i,t.height+=2*i,t},H.Rectangle.inflatePoint=function(t,e){return H.Rectangle.inflate(t,e.x,e.y)},H.Rectangle.size=function(t,e){return null==e?e=new H.Point(t.width,t.height):e.setTo(t.width,t.height),e},H.Rectangle.clone=function(t,e){return null==e?e=new H.Rectangle(t.x,t.y,t.width,t.height):e.setTo(t.x,t.y,t.width,t.height),e},H.Rectangle.contains=function(t,e,i){return!(t.width<=0||t.height<=0)&&(e>=t.x&&e=t.y&&ie.volume)&&(t.x>=e.x&&t.y>=e.y&&t.righte.right||t.y>e.bottom)},H.Rectangle.intersectsRaw=function(t,e,i,s,o,n){return void 0===n&&(n=0),!(e>t.right+n||it.bottom+n||oi&&(i=t.x),t.xo&&(o=t.y),t.ythis.deadzone.right&&(this.view.x=this.game.math.linear(this.view.x,this._targetPosition.x-this.deadzone.right,this.lerp.x)),this._edge=this._targetPosition.y-this.view.y,this._edgethis.deadzone.bottom&&(this.view.y=this.game.math.linear(this.view.y,this._targetPosition.y-this.deadzone.bottom,this.lerp.y))):(this.view.x=this.game.math.linear(this.view.x,this._targetPosition.x-this.view.halfWidth,this.lerp.x),this.view.y=this.game.math.linear(this.view.y,this._targetPosition.y-this.view.halfHeight,this.lerp.y)),this.bounds&&this.checkBounds(),this.roundPx&&this.view.floor(),this.displayObject.position.x=-this.view.x,this.displayObject.position.y=-this.view.y},setBoundsToWorld:function(){this.bounds&&this.bounds.copyFrom(this.game.world.bounds)},checkBounds:function(){this.atLimit.x=!1,this.atLimit.y=!1;var t=this.view.x+this._shake.x,e=this.view.right+this._shake.x,i=this.view.y+this._shake.y,s=this.view.bottom+this._shake.y;t<=this.bounds.x*this.scale.x&&(this.atLimit.x=!0,this.view.x=this.bounds.x*this.scale.x,this._shake.shakeBounds||(this._shake.x=0)),e>=this.bounds.right*this.scale.x&&(this.atLimit.x=!0,this.view.x=this.bounds.right*this.scale.x-this.width,this._shake.shakeBounds||(this._shake.x=0)),i<=this.bounds.top*this.scale.y&&(this.atLimit.y=!0,this.view.y=this.bounds.top*this.scale.y,this._shake.shakeBounds||(this._shake.y=0)),s>=this.bounds.bottom*this.scale.y&&(this.atLimit.y=!0,this.view.y=this.bounds.bottom*this.scale.y-this.height,this._shake.shakeBounds||(this._shake.y=0))},setPosition:function(t,e){this.view.x=t,this.view.y=e,this.bounds&&this.checkBounds()},setSize:function(t,e){this.view.width=t,this.view.height=e},reset:function(){this.target=null,this.view.x=0,this.view.y=0,this._shake.duration=0,this.resetFX()},resetFX:function(){this.fx&&(this.fx.clear(),this.fx.alpha=0,this._fxDuration=0)}},H.Camera.prototype.constructor=H.Camera,Object.defineProperty(H.Camera.prototype,"x",{get:function(){return this.view.x},set:function(t){this.view.x=t,this.bounds&&this.checkBounds()}}),Object.defineProperty(H.Camera.prototype,"y",{get:function(){return this.view.y},set:function(t){this.view.y=t,this.bounds&&this.checkBounds()}}),Object.defineProperty(H.Camera.prototype,"position",{get:function(){return this._position.set(this.view.x,this.view.y),this._position},set:function(t){void 0!==t.x&&(this.view.x=t.x),void 0!==t.y&&(this.view.y=t.y),this.bounds&&this.checkBounds()}}),Object.defineProperty(H.Camera.prototype,"width",{get:function(){return this.view.width},set:function(t){this.view.width=t}}),Object.defineProperty(H.Camera.prototype,"height",{get:function(){return this.view.height},set:function(t){this.view.height=t}}),Object.defineProperty(H.Camera.prototype,"shakeIntensity",{get:function(){return this._shake.intensity},set:function(t){this._shake.intensity=t}}),H.State=function(){this.game=null,this.key="",this.add=null,this.make=null,this.camera=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.sound=null,this.scale=null,this.stage=null,this.state=null,this.time=null,this.tweens=null,this.world=null,this.particles=null,this.physics=null,this.rnd=null},H.State.prototype={init:function(){},preload:function(){},loadUpdate:function(){},loadRender:function(){},create:function(){},update:function(){},preRender:function(){},render:function(){},resize:function(){},paused:function(){},resumed:function(){},pauseUpdate:function(){},shutdown:function(){}},H.State.prototype.constructor=H.State,H.StateManager=function(t,e){this.game=t,this.states={},(this._pendingState=null)!=e&&(this._pendingState=e),this._clearWorld=!1,this._clearCache=!1,this._created=!1,this._args=[],this.current="",this.onStateChange=new H.Signal,this.onInitCallback=null,this.onPreloadCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onResizeCallback=null,this.onPreRenderCallback=null,this.onLoadUpdateCallback=null,this.onLoadRenderCallback=null,this.onPausedCallback=null,this.onResumedCallback=null,this.onPauseUpdateCallback=null,this.onShutDownCallback=null},H.StateManager.prototype={boot:function(){this.game.onPause.add(this.pause,this),this.game.onResume.add(this.resume,this),null!==this._pendingState&&"string"!=typeof this._pendingState&&this.add("default",this._pendingState,!0)},add:function(t,e,i){var s;return void 0===i&&(i=!1),e instanceof H.State?s=e:"object"==typeof e?(s=e).game=this.game:"function"==typeof e&&(s=new e(this.game)),this.states[t]=s,i&&(this.game.isBooted?this.start(t):this._pendingState=t),s},remove:function(t){this.current===t&&(this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onPreRenderCallback=null,this.onRenderCallback=null,this.onResizeCallback=null,this.onPausedCallback=null,this.onResumedCallback=null,this.onPauseUpdateCallback=null),delete this.states[t]},start:function(t,e,i){void 0===e&&(e=!0),void 0===i&&(i=!1),this.checkState(t)&&(this._pendingState=t,this._clearWorld=e,this._clearCache=i,3=this.children.length?-1:this.getChildAt(t)},H.Group.prototype.create=function(t,e,i,s,o,n){void 0===o&&(o=!0);var a=new this.classType(this.game,t,e,i,s);return a.exists=o,a.visible=o,a.alive=o,this.add(a,!1,n)},H.Group.prototype.createMultiple=function(s,t,e,o){void 0===e&&(e=0),void 0===o&&(o=!1),Array.isArray(t)||(t=[t]),Array.isArray(e)||(e=[e]);var n=this,a=[];return t.forEach(function(i){e.forEach(function(t){for(var e=0;ethis.children.length||-1===t&&-1===e)return!1;for(var a=new H.Rectangle(0,0,i,s),r=t*i,h=e*s,l=n;lthis.children.length-1&&(t=0),this.cursor)return this.cursorIndex=t,this.cursor=this.children[this.cursorIndex],this.cursor},H.Group.prototype.next=function(){if(this.cursor)return this.cursorIndex>=this.children.length-1?this.cursorIndex=0:this.cursorIndex++,this.cursor=this.children[this.cursorIndex],this.cursor},H.Group.prototype.previous=function(){if(this.cursor)return 0===this.cursorIndex?this.cursorIndex=this.children.length-1:this.cursorIndex--,this.cursor=this.children[this.cursorIndex],this.cursor},H.Group.prototype.swap=function(t,e){this.swapChildren(t,e),this.updateZ()},H.Group.prototype.bringToTop=function(t){return t.parent===this&&this.getIndex(t)this.children.length)return-1;this.getChildAt(t).x=e,this.getChildAt(t).y=i},H.Group.prototype.reverse=function(){this.children.reverse(),this.updateZ()},H.Group.prototype.getIndex=function(t){return this.children.indexOf(t)},H.Group.prototype.getByName=function(t){for(var e=0;ee[this._sortProperty]?1:t.ze[this._sortProperty]?-1:0},H.Group.prototype.iterate=function(t,e,i,s,o,n){if(0===this.children.length){if(i===H.Group.RETURN_TOTAL)return 0;if(i===H.Group.RETURN_ALL)return[]}var a=0;if(i===H.Group.RETURN_ALL)var r=[];for(var h=0;hthis.children.length)return!1;for(var o=e;t<=o;){!s&&this.children[o].events&&this.children[o].events.onRemovedFromGroup$dispatch(this.children[o],this);var n=this.removeChild(this.children[o]);this.removeFromHash(n),i&&n&&n.destroy(!0),this.cursor===this.children[o]&&(this.cursor=null),o--}this.updateZ()}},H.Group.prototype.destroy=function(t,e){null===this.game||this.ignoreDestroy||(void 0===t&&(t=!0),void 0===e&&(e=!1),this.onDestroy.dispatch(this,t,e),this.removeAll(t),this.cursor=null,this.filters=null,this.pendingDestroy=!1,e||(this.parent&&this.parent.removeChild(this),this.game=null,this.exists=!1))},Object.defineProperty(H.Group.prototype,"total",{get:function(){return this.iterate("exists",!0,H.Group.RETURN_TOTAL)}}),Object.defineProperty(H.Group.prototype,"length",{get:function(){return this.children.length}}),Object.defineProperty(H.Group.prototype,"angle",{get:function(){return H.Math.radToDeg(this.rotation)},set:function(t){this.rotation=H.Math.degToRad(t)}}),Object.defineProperty(H.Group.prototype,"centerX",{get:function(){return this.getBounds(this.parent).centerX},set:function(t){var e=this.getBounds(this.parent),i=this.x-e.x;this.x=t+i-e.halfWidth}}),Object.defineProperty(H.Group.prototype,"centerY",{get:function(){return this.getBounds(this.parent).centerY},set:function(t){var e=this.getBounds(this.parent),i=this.y-e.y;this.y=t+i-e.halfHeight}}),Object.defineProperty(H.Group.prototype,"left",{get:function(){return this.getBounds(this.parent).left},set:function(t){var e=this.getBounds(this.parent),i=this.x-e.x;this.x=t+i}}),Object.defineProperty(H.Group.prototype,"right",{get:function(){return this.getBounds(this.parent).right},set:function(t){var e=this.getBounds(this.parent),i=this.x-e.x;this.x=t+i-e.width}}),Object.defineProperty(H.Group.prototype,"top",{get:function(){return this.getBounds(this.parent).top},set:function(t){var e=this.getBounds(this.parent),i=this.y-e.y;this.y=t+i}}),Object.defineProperty(H.Group.prototype,"bottom",{get:function(){return this.getBounds(this.parent).bottom},set:function(t){var e=this.getBounds(this.parent),i=this.y-e.y;this.y=t+i-e.height}}),H.World=function(t){H.Group.call(this,t,null,"__world",!1),this.bounds=new H.Rectangle(0,0,t.width,t.height),this.camera=null,this._definedSize=!1,this._width=t.width,this._height=t.height,this.game.state.onStateChange.add(this.stateChange,this)},H.World.prototype=Object.create(H.Group.prototype),H.World.prototype.constructor=H.World,H.World.prototype.boot=function(){this.camera=new H.Camera(this.game,0,0,0,this.game.width,this.game.height),this.game.stage.addChild(this),this.camera.boot()},H.World.prototype.stateChange=function(){this.x=0,this.y=0,this.camera.reset()},H.World.prototype.setBounds=function(t,e,i,s){this._definedSize=!0,this._width=i,this._height=s,this.bounds.setTo(t,e,i,s),this.x=t,this.y=e,this.camera.bounds&&this.camera.bounds.setTo(t,e,Math.max(i,this.game.width),Math.max(s,this.game.height)),this.game.physics.setBoundsToWorld()},H.World.prototype.resize=function(t,e){this._definedSize&&(tthis.bounds.right&&(t.x=this.bounds.left)),o&&(t.y+t._currentBounds.heightthis.bounds.bottom&&(t.y=this.bounds.top))):(s&&t.x+ethis.bounds.right&&(t.x=this.bounds.left-e),o&&t.y+ethis.bounds.bottom&&(t.y=this.bounds.top-e))},Object.defineProperty(H.World.prototype,"width",{get:function(){return this.bounds.width},set:function(t){tthis._nextFpsNotification&&(this._nextFpsNotification=this.time.time+1e4,this.fpsProblemNotifier.dispatch()),this._deltaTime=0,this._spiraling=0,this.updateRender(this.time.slowMotion*this.time.desiredFps);else{var e=1e3*this.time.slowMotion/this.time.desiredFps;this._deltaTime+=Math.max(Math.min(3*e,this.time.elapsed),0);var i=0;for(this.updatesThisFrame=Math.floor(this._deltaTime/e),this.forceSingleUpdate&&(this.updatesThisFrame=Math.min(1,this.updatesThisFrame));this._deltaTime>=e&&(this._deltaTime-=e,this.currentUpdateID=i,this.updateLogic(this.time.desiredFpsMult),i++,!this.forceSingleUpdate||1!==i);)this.time.refresh();i>this._lastCount?this._spiraling++:i=H.Input.MAX_POINTERS)return null;var t=this.pointers.length+1,e=new H.Pointer(this.game,t,H.PointerMode.TOUCH);return this.pointers.push(e),this["pointer"+t]=e},update:function(){if(this.keyboard&&this.keyboard.update(),0=this.maxPointers)return null;if(!this.pointer1.active)return this.pointer1.start(t);if(!this.pointer2.active)return this.pointer2.start(t);for(var e=2;e=n&&this._localPoint.x=a&&this._localPoint.y=n&&this._localPoint.x=a&&this._localPoint.ythis.game.time.time},justReleased:function(t){return t=t||250,this.isUp&&this.timeUp+t>this.game.time.time},reset:function(){this.isDown=!1,this.isUp=!0,this.timeDown=this.game.time.time,this.repeats=0,this.altKey=!1,this.shiftKey=!1,this.ctrlKey=!1},destroy:function(){this.onDown.dispose(),this.onUp.dispose(),this.onFloat.dispose(),this.parent=null,this.game=null}},H.DeviceButton.prototype.constructor=H.DeviceButton,Object.defineProperty(H.DeviceButton.prototype,"duration",{get:function(){return this.isUp?-1:this.game.time.time-this.timeDown}}),H.Pointer=function(t,e,i){this.game=t,this.id=e,this.type=H.POINTER,this.exists=!0,this.identifier=0,this.pointerId=null,this.pointerMode=i||H.PointerMode.CURSOR|H.PointerMode.CONTACT,this.target=null,this.button=null,this.leftButton=new H.DeviceButton(this,H.Pointer.LEFT_BUTTON),this.middleButton=new H.DeviceButton(this,H.Pointer.MIDDLE_BUTTON),this.rightButton=new H.DeviceButton(this,H.Pointer.RIGHT_BUTTON),this.backButton=new H.DeviceButton(this,H.Pointer.BACK_BUTTON),this.forwardButton=new H.DeviceButton(this,H.Pointer.FORWARD_BUTTON),this.eraserButton=new H.DeviceButton(this,H.Pointer.ERASER_BUTTON),this._holdSent=!1,this._history=[],this._nextDrop=0,this._stateReset=!1,this.withinGame=!1,this.clientX=-1,this.clientY=-1,this.pageX=-1,this.pageY=-1,this.screenX=-1,this.screenY=-1,this.rawMovementX=0,this.rawMovementY=0,this.movementX=0,this.movementY=0,this.x=-1,this.y=-1,this.isMouse=0===e,this.isDown=!1,this.isUp=!0,this.timeDown=0,this.timeUp=0,this.previousTapTime=0,this.totalTouches=0,this.msSinceLastClick=Number.MAX_VALUE,this.targetObject=null,this.interactiveCandidates=[],this.active=!1,this.dirty=!1,this.position=new H.Point,this.positionDown=new H.Point,this.positionUp=new H.Point,this.circle=new H.Circle(0,0,44),this._clickTrampolines=null,this._trampolineTargetObject=null},H.Pointer.NO_BUTTON=0,H.Pointer.LEFT_BUTTON=1,H.Pointer.RIGHT_BUTTON=2,H.Pointer.MIDDLE_BUTTON=4,H.Pointer.BACK_BUTTON=8,H.Pointer.FORWARD_BUTTON=16,H.Pointer.ERASER_BUTTON=32,H.Pointer.prototype={resetButtons:function(){this.isDown=!1,this.isUp=!0,this.isMouse&&(this.leftButton.reset(),this.middleButton.reset(),this.rightButton.reset(),this.backButton.reset(),this.forwardButton.reset(),this.eraserButton.reset())},processButtonsDown:function(t,e){H.Pointer.LEFT_BUTTON&t&&this.leftButton.start(e),H.Pointer.RIGHT_BUTTON&t&&this.rightButton.start(e),H.Pointer.MIDDLE_BUTTON&t&&this.middleButton.start(e),H.Pointer.BACK_BUTTON&t&&this.backButton.start(e),H.Pointer.FORWARD_BUTTON&t&&this.forwardButton.start(e),H.Pointer.ERASER_BUTTON&t&&this.eraserButton.start(e)},processButtonsUp:function(t,e){t===H.Mouse.LEFT_BUTTON&&this.leftButton.stop(e),t===H.Mouse.RIGHT_BUTTON&&this.rightButton.stop(e),t===H.Mouse.MIDDLE_BUTTON&&this.middleButton.stop(e),t===H.Mouse.BACK_BUTTON&&this.backButton.stop(e),t===H.Mouse.FORWARD_BUTTON&&this.forwardButton.stop(e),5===t&&this.eraserButton.stop(e)},updateButtons:function(t){this.button=t.button;var e="down"===t.type.toLowerCase().substr(-4);void 0!==t.buttons?e?this.processButtonsDown(t.buttons,t):this.processButtonsUp(t.button,t):e?this.leftButton.start(t):(this.leftButton.stop(t),this.rightButton.stop(t)),1===t.buttons&&t.ctrlKey&&this.leftButton.isDown&&(this.leftButton.stop(t),this.rightButton.start(t)),this.isUp=!0,this.isDown=!1,(this.leftButton.isDown||this.rightButton.isDown||this.middleButton.isDown||this.backButton.isDown||this.forwardButton.isDown||this.eraserButton.isDown)&&(this.isUp=!1,this.isDown=!0)},start:function(t){var e=this.game.input;return t.pointerId&&(this.pointerId=t.pointerId),this.identifier=t.identifier,this.target=t.target,this.isMouse?this.updateButtons(t):(this.isDown=!0,this.isUp=!1),this.active=!0,this.withinGame=!0,this.dirty=!1,this._history=[],this._clickTrampolines=null,this._trampolineTargetObject=null,this.msSinceLastClick=this.game.time.time-this.timeDown,this.timeDown=this.game.time.time,this._holdSent=!1,this.move(t,!0),this.positionDown.setTo(this.x,this.y),(e.multiInputOverride===H.Input.MOUSE_OVERRIDES_TOUCH||e.multiInputOverride===H.Input.MOUSE_TOUCH_COMBINE||e.multiInputOverride===H.Input.TOUCH_OVERRIDES_MOUSE&&0===e.totalActivePointers)&&(e.x=this.x,e.y=this.y,e.position.setTo(this.x,this.y),e.onDown.dispatch(this,t),e.resetSpeed(this.x,this.y)),this._stateReset=!1,this.totalTouches++,null!==this.targetObject&&this.targetObject._touchedHandler(this),this},update:function(){var t=this.game.input;this.active&&(this.dirty&&(0=t.holdRate&&((t.multiInputOverride===H.Input.MOUSE_OVERRIDES_TOUCH||t.multiInputOverride===H.Input.MOUSE_TOUCH_COMBINE||t.multiInputOverride===H.Input.TOUCH_OVERRIDES_MOUSE&&0===t.totalActivePointers)&&t.onHold.dispatch(this),this._holdSent=!0),t.recordPointerHistory&&this.game.time.time>=this._nextDrop&&(this._nextDrop=this.game.time.time+t.recordRate,this._history.push({x:this.position.x,y:this.position.y}),this._history.length>t.recordLimit&&this._history.shift()))},move:function(t,e){var i=this.game.input;if(!i.pollLocked){void 0===e&&(e=!1),void 0!==t.button&&(this.button=t.button),e&&this.isMouse&&this.updateButtons(t),this.clientX=t.clientX,this.clientY=t.clientY,this.pageX=t.pageX,this.pageY=t.pageY,this.screenX=t.screenX,this.screenY=t.screenY,this.isMouse&&i.mouse.locked&&!e&&(this.rawMovementX=t.movementX||t.mozMovementX||t.webkitMovementX||0,this.rawMovementY=t.movementY||t.mozMovementY||t.webkitMovementY||0,this.movementX+=this.rawMovementX,this.movementY+=this.rawMovementY),this.x=(this.pageX-this.game.scale.offset.x)*i.scale.x,this.y=(this.pageY-this.game.scale.offset.y)*i.scale.y,this.position.setTo(this.x,this.y),this.circle.x=this.x,this.circle.y=this.y,(i.multiInputOverride===H.Input.MOUSE_OVERRIDES_TOUCH||i.multiInputOverride===H.Input.MOUSE_TOUCH_COMBINE||i.multiInputOverride===H.Input.TOUCH_OVERRIDES_MOUSE&&0===i.totalActivePointers)&&(i.activePointer=this,i.x=this.x,i.y=this.y,i.position.setTo(i.x,i.y),i.circle.x=i.x,i.circle.y=i.y),this.withinGame=this.game.scale.bounds.contains(this.pageX,this.pageY);for(var s=i.moveCallbacks.length;s--;)i.moveCallbacks[s].callback.call(i.moveCallbacks[s].context,this,this.x,this.y,e);return null!==this.targetObject&&!0===this.targetObject.isDragged?!1===this.targetObject.update(this)&&(this.targetObject=null):0this.game.time.time},justReleased:function(t){return t=t||this.game.input.justReleasedRate,this.isUp&&this.timeUp+t>this.game.time.time},addClickTrampoline:function(t,e,i,s){if(this.isDown){for(var o=this._clickTrampolines=this._clickTrampolines||[],n=0;nt||this.priorityID===t&&this.sprite.renderOrderID>e))},isPixelPerfect:function(){return this.pixelPerfectClick||this.pixelPerfectOver},pointerX:function(t){return t=t||0,this._pointerData[t].x},pointerY:function(t){return t=t||0,this._pointerData[t].y},pointerDown:function(t){return t=t||0,this._pointerData[t].isDown},pointerUp:function(t){return t=t||0,this._pointerData[t].isUp},pointerTimeDown:function(t){return t=t||0,this._pointerData[t].timeDown},pointerTimeUp:function(t){return t=t||0,this._pointerData[t].timeUp},pointerOver:function(t){if(!this.enabled)return!1;if(void 0!==t)return this._pointerData[t].isOver;for(var e=0;e<10;e++)if(this._pointerData[e].isOver)return!0;return!1},pointerOut:function(t){if(!this.enabled)return!1;if(void 0!==t)return this._pointerData[t].isOut;for(var e=0;e<10;e++)if(this._pointerData[e].isOut)return!0},pointerTimeOver:function(t){return t=t||0,this._pointerData[t].timeOver},pointerTimeOut:function(t){return t=t||0,this._pointerData[t].timeOut},pointerDragged:function(t){return t=t||0,this._pointerData[t].isDragged},checkPointerDown:function(t,e){return!!(t.isDown&&this.enabled&&this.sprite&&this.sprite.parent&&this.sprite.visible&&this.sprite.parent.visible&&0!==this.sprite.worldScale.x&&0!==this.sprite.worldScale.y)&&(!!this.game.input.hitTest(this.sprite,t,this._tempPoint)&&(void 0===e&&(e=!1),!(!e&&this.pixelPerfectClick)||this.checkPixel(this._tempPoint.x,this._tempPoint.y)))},checkPointerOver:function(t,e){return!!(this.enabled&&this.sprite&&this.sprite.parent&&this.sprite.visible&&this.sprite.parent.visible&&0!==this.sprite.worldScale.x&&0!==this.sprite.worldScale.y)&&(!!this.game.input.hitTest(this.sprite,t,this._tempPoint)&&(void 0===e&&(e=!1),!(!e&&this.pixelPerfectOver)||this.checkPixel(this._tempPoint.x,this._tempPoint.y)))},checkPixel:function(t,e,i){if(this.sprite.texture.baseTexture.source){if(null===t&&null===e){this.game.input.getLocalPosition(this.sprite,i,this._tempPoint);t=this._tempPoint.x,e=this._tempPoint.y}if(0!==this.sprite.anchor.x&&(t-=-this.sprite.texture.frame.width*this.sprite.anchor.x),0!==this.sprite.anchor.y&&(e-=-this.sprite.texture.frame.height*this.sprite.anchor.y),t+=this.sprite.texture.frame.x,e+=this.sprite.texture.frame.y,this.sprite.texture.trim&&(t-=this.sprite.texture.trim.x,e-=this.sprite.texture.trim.y,tthis.sprite.texture.crop.right||ethis.sprite.texture.crop.bottom))return this._dx=t,this._dy=e,!1;if(this._dx=t,this._dy=e,this.game.input.hitContext.clearRect(0,0,1,1),this.game.input.hitContext.drawImage(this.sprite.texture.baseTexture.source,t,e,1,1,0,0,1,1),this.game.input.hitContext.getImageData(0,0,1,1).data[3]>=this.pixelPerfectAlpha)return!0}return!1},update:function(t){if(null!==this.sprite&&void 0!==this.sprite.parent)return this.enabled&&this.sprite.visible&&this.sprite.parent.visible?this._pendingDrag?(this._dragDistancePass||(this._dragDistancePass=H.Math.distance(t.x,t.y,this.downPoint.x,this.downPoint.y)>=this.dragDistanceThreshold),this._dragDistancePass&&this._dragTimePass&&this.startDrag(t),!0):this.draggable&&this._draggedPointerID===t.id?this.updateDrag(t,!1):this._pointerData[t.id].isOver?this.checkPointerOver(t)?(this._pointerData[t.id].x=t.x-this.sprite.x,this._pointerData[t.id].y=t.y-this.sprite.y,!0):(this._pointerOutHandler(t),!1):void 0:(this._pointerOutHandler(t),!1)},_pointerOverHandler:function(t,e){if(null!==this.sprite){var i=this._pointerData[t.id];if(!1===i.isOver||t.dirty){var s=!1===i.isOver;i.isOver=!0,i.isOut=!1,i.timeOver=this.game.time.time,i.x=t.x-this.sprite.x,i.y=t.y-this.sprite.y,this.useHandCursor&&!1===i.isDragged&&(this.game.canvas.style.cursor="pointer",this._setHandCursor=!0),!e&&s&&this.sprite&&this.sprite.events&&this.sprite.events.onInputOver$dispatch(this.sprite,t),this.sprite.parent&&this.sprite.parent.type===H.GROUP&&this.sprite.parent.onChildInputOver.dispatch(this.sprite,t)}}},_pointerOutHandler:function(t,e){if(null!==this.sprite){var i=this._pointerData[t.id];i.isOver=!1,i.isOut=!0,i.timeOut=this.game.time.time,this.useHandCursor&&!1===i.isDragged&&(this.game.canvas.style.cursor="default",this._setHandCursor=!1),!e&&this.sprite&&this.sprite.events&&(this.sprite.events.onInputOut$dispatch(this.sprite,t),this.sprite&&this.sprite.parent&&this.sprite.parent.type===H.GROUP&&this.sprite.parent.onChildInputOut.dispatch(this.sprite,t))}},_touchedHandler:function(t){if(null!==this.sprite){var e=this._pointerData[t.id];if(!e.isDown&&e.isOver){if(this.pixelPerfectClick&&!this.checkPixel(null,null,t))return;if(e.isDown=!0,e.isUp=!1,e.timeDown=this.game.time.time,this.downPoint.set(t.x,t.y),t.dirty=!0,this.sprite&&this.sprite.events&&(this.sprite.events.onInputDown$dispatch(this.sprite,t),this.sprite&&this.sprite.parent&&this.sprite.parent.type===H.GROUP&&this.sprite.parent.onChildInputDown.dispatch(this.sprite,t),null===this.sprite))return;this.draggable&&!1===this.isDragged&&(0===this.dragTimeThreshold&&0===this.dragDistanceThreshold?this.startDrag(t):(this._pendingDrag=!0,this._dragDistancePass=0===this.dragDistanceThreshold,0this.boundsRect.right&&(this.sprite.cameraOffset.x=this.boundsRect.right-this.sprite.width),this.sprite.cameraOffset.ythis.boundsRect.bottom&&(this.sprite.cameraOffset.y=this.boundsRect.bottom-this.sprite.height)):(this.sprite.leftthis.boundsRect.right&&(this.sprite.x=this.boundsRect.right-(this.sprite.width-this.sprite.offsetX)),this.sprite.topthis.boundsRect.bottom&&(this.sprite.y=this.boundsRect.bottom-(this.sprite.height-this.sprite.offsetY)))},checkBoundsSprite:function(){this.sprite.fixedToCamera&&this.boundsSprite.fixedToCamera?(this.sprite.cameraOffset.xthis.boundsSprite.cameraOffset.x+this.boundsSprite.width&&(this.sprite.cameraOffset.x=this.boundsSprite.cameraOffset.x+this.boundsSprite.width-this.sprite.width),this.sprite.cameraOffset.ythis.boundsSprite.cameraOffset.y+this.boundsSprite.height&&(this.sprite.cameraOffset.y=this.boundsSprite.cameraOffset.y+this.boundsSprite.height-this.sprite.height)):(this.sprite.leftthis.boundsSprite.right&&(this.sprite.x=this.boundsSprite.right-(this.sprite.width-this.sprite.offsetX)),this.sprite.topthis.boundsSprite.bottom&&(this.sprite.y=this.boundsSprite.bottom-(this.sprite.height-this.sprite.offsetY)))}},H.InputHandler.prototype.constructor=H.InputHandler,H.Gamepad=function(t){this.game=t,this._gamepadIndexMap={},this._rawPads=[],this._active=!1,this.enabled=!0,this._gamepadSupportAvailable=!!navigator.webkitGetGamepads||!!navigator.webkitGamepads||-1!==navigator.userAgent.indexOf("Firefox/")||!!navigator.getGamepads,this._prevRawGamepadTypes=[],this._prevTimestamps=[],(this.callbackContext=this).onConnectCallback=null,this.onDisconnectCallback=null,this.onDownCallback=null,this.onUpCallback=null,this.onAxisCallback=null,this.onFloatCallback=null,this._ongamepadconnected=null,this._gamepaddisconnected=null,this._gamepads=[new H.SinglePad(t,this),new H.SinglePad(t,this),new H.SinglePad(t,this),new H.SinglePad(t,this)]},H.Gamepad.prototype={addCallbacks:function(t,e){void 0!==e&&(this.onConnectCallback="function"==typeof e.onConnect?e.onConnect:this.onConnectCallback,this.onDisconnectCallback="function"==typeof e.onDisconnect?e.onDisconnect:this.onDisconnectCallback,this.onDownCallback="function"==typeof e.onDown?e.onDown:this.onDownCallback,this.onUpCallback="function"==typeof e.onUp?e.onUp:this.onUpCallback,this.onAxisCallback="function"==typeof e.onAxis?e.onAxis:this.onAxisCallback,this.onFloatCallback="function"==typeof e.onFloat?e.onFloat:this.onFloatCallback,this.callbackContext=t)},start:function(){if(!this._active){this._active=!0;var e=this;this._onGamepadConnected=function(t){return e.onGamepadConnected(t)},this._onGamepadDisconnected=function(t){return e.onGamepadDisconnected(t)},window.addEventListener("gamepadconnected",this._onGamepadConnected,!1),window.addEventListener("gamepaddisconnected",this._onGamepadDisconnected,!1)}},onGamepadConnected:function(t){var e=t.gamepad;this._rawPads.push(e),this._gamepads[e.index].connect(e)},onGamepadDisconnected:function(t){var e=t.gamepad;for(var i in this._rawPads)this._rawPads[i].index===e.index&&this._rawPads.splice(i,1);this._gamepads[e.index].disconnect()},update:function(){this._pollGamepads(),this.pad1.pollStatus(),this.pad2.pollStatus(),this.pad3.pollStatus(),this.pad4.pollStatus()},_pollGamepads:function(){if(this._active){if(navigator.getGamepads)var t=navigator.getGamepads();else if(navigator.webkitGetGamepads)t=navigator.webkitGetGamepads();else if(navigator.webkitGamepads)t=navigator.webkitGamepads();if(t){for(var e=!(this._rawPads=[]),i=0;ithis.deadZone||s<0&&s<-this.deadZone?this.processAxisChange(i,s):this.processAxisChange(i,0)}this._prevTimestamp=this._rawPad.timestamp}},connect:function(t){var e=!this.connected;this.connected=!0,this.index=t.index,this._rawPad=t,this._buttons=[],this._buttonsLen=t.buttons.length,this._axes=[],this._axesLen=t.axes.length;for(var i=0;ithis.maxHealth&&(this.health=this.maxHealth),this},heal:function(t){return this.alive&&(this.health+=t,this.health>this.maxHealth&&(this.health=this.maxHealth)),this}},H.Component.InCamera=function(){},H.Component.InCamera.prototype={inCamera:{get:function(){return this.game.world.camera.view.intersects(this._bounds)}}},H.Component.InputEnabled=function(){},H.Component.InputEnabled.prototype={input:null,inputEnabled:{get:function(){return this.input&&this.input.enabled},set:function(t){t?null===this.input?(this.input=new H.InputHandler(this),this.input.start()):this.input&&!this.input.enabled&&this.input.start():this.input&&this.input.enabled&&this.input.stop()}}},H.Component.InWorld=function(){},H.Component.InWorld.preUpdate=function(){if(this.autoCull||this.checkWorldBounds){if(this._bounds.copyFrom(this.getBounds()),this._bounds.x+=this.game.camera.view.x,this._bounds.y+=this.game.camera.view.y,this.autoCull)if(this.game.world.camera.view.intersects(this._bounds))this.renderable=!0,this.game.world.camera.totalInView++;else if(this.renderable=!1,this.outOfCameraBoundsKill)return this.kill(),!1;if(this.checkWorldBounds)if(this._outOfBoundsFired&&this.game.world.bounds.intersects(this._bounds))this._outOfBoundsFired=!1,this.events.onEnterBounds$dispatch(this);else if(!this._outOfBoundsFired&&!this.game.world.bounds.intersects(this._bounds)&&(this._outOfBoundsFired=!0,this.events.onOutOfBounds$dispatch(this),this.outOfBoundsKill))return this.kill(),!1}return!0},H.Component.InWorld.prototype={checkWorldBounds:!1,outOfBoundsKill:!1,outOfCameraBoundsKill:!1,_outOfBoundsFired:!1,inWorld:{get:function(){return this.game.world.bounds.intersects(this.getBounds())}}},H.Component.LifeSpan=function(){},H.Component.LifeSpan.preUpdate=function(){return!(0this.scaleMax.x&&(t.a=this.scaleMax.x),t.d>this.scaleMax.y&&(t.d=this.scaleMax.y))},setScaleMinMax:function(t,e,i,s){void 0===e?e=i=s=t:void 0===i&&(i=s=e,e=t),null===t?this.scaleMin=null:this.scaleMin?this.scaleMin.set(t,e):this.scaleMin=new H.Point(t,e),null===i?this.scaleMax=null:this.scaleMax?this.scaleMax.set(i,s):this.scaleMax=new H.Point(i,s),null===this.scaleMin?this.transformCallback=null:(this.transformCallback=this.checkTransform,this.transformCallbackContext=this)}},H.Component.Smoothed=function(){},H.Component.Smoothed.prototype={smoothed:{get:function(){return!this.texture.baseTexture.scaleMode},set:function(t){t?this.texture&&(this.texture.baseTexture.scaleMode=0):this.texture&&(this.texture.baseTexture.scaleMode=1)}}},H.GameObjectFactory=function(t){this.game=t,this.world=this.game.world},H.GameObjectFactory.prototype={existing:function(t){return this.world.add(t)},weapon:function(t,e,i,s){var o=this.game.plugins.add(H.Weapon);return o.createBullets(t,e,i,s),o},image:function(t,e,i,s,o){return void 0===o&&(o=this.world),o.add(new H.Image(this.game,t,e,i,s))},sprite:function(t,e,i,s,o){return void 0===o&&(o=this.world),o.create(t,e,i,s)},creature:function(t,e,i,s,o){void 0===o&&(o=this.world);var n=new H.Creature(this.game,t,e,i,s);return o.add(n),n},tween:function(t){return this.game.tweens.create(t)},group:function(t,e,i,s,o){return new H.Group(this.game,t,e,i,s,o)},physicsGroup:function(t,e,i,s){return new H.Group(this.game,e,i,s,!0,t)},spriteBatch:function(t,e,i){return void 0===t&&(t=null),void 0===e&&(e="group"),void 0===i&&(i=!1),new H.SpriteBatch(this.game,t,e,i)},audio:function(t,e,i,s){return this.game.sound.add(t,e,i,s)},sound:function(t,e,i,s){return this.game.sound.add(t,e,i,s)},audioSprite:function(t){return this.game.sound.addSprite(t)},tileSprite:function(t,e,i,s,o,n,a){return void 0===a&&(a=this.world),a.add(new H.TileSprite(this.game,t,e,i,s,o,n))},rope:function(t,e,i,s,o,n){return void 0===n&&(n=this.world),n.add(new H.Rope(this.game,t,e,i,s,o))},text:function(t,e,i,s,o){return void 0===o&&(o=this.world),o.add(new H.Text(this.game,t,e,i,s))},button:function(t,e,i,s,o,n,a,r,h,l){return void 0===l&&(l=this.world),l.add(new H.Button(this.game,t,e,i,s,o,n,a,r,h))},graphics:function(t,e,i){return void 0===i&&(i=this.world),i.add(new H.Graphics(this.game,t,e))},emitter:function(t,e,i){return this.game.particles.add(new H.Particles.Arcade.Emitter(this.game,t,e,i))},retroFont:function(t,e,i,s,o,n,a,r,h){return new H.RetroFont(this.game,t,e,i,s,o,n,a,r,h)},bitmapText:function(t,e,i,s,o,n){return void 0===n&&(n=this.world),n.add(new H.BitmapText(this.game,t,e,i,s,o))},tilemap:function(t,e,i,s,o){return new H.Tilemap(this.game,t,e,i,s,o)},renderTexture:function(t,e,i,s){void 0!==i&&""!==i||(i=this.game.rnd.uuid()),void 0===s&&(s=!1);var o=new H.RenderTexture(this.game,t,e,i);return s&&this.game.cache.addRenderTexture(i,o),o},video:function(t,e){return new H.Video(this.game,t,e)},bitmapData:function(t,e,i,s){void 0===s&&(s=!1),void 0!==i&&""!==i||(i=this.game.rnd.uuid());var o=new H.BitmapData(this.game,i,t,e);return s&&this.game.cache.addBitmapData(i,o),o},filter:function(t){var e=Array.prototype.slice.call(arguments,1);return(t=new H.Filter[t](this.game)).init.apply(t,e),t},plugin:function(t){return this.game.plugins.add(t)}},H.GameObjectFactory.prototype.constructor=H.GameObjectFactory,H.GameObjectCreator=function(t){this.game=t,this.world=this.game.world},H.GameObjectCreator.prototype={image:function(t,e,i,s){return new H.Image(this.game,t,e,i,s)},sprite:function(t,e,i,s){return new H.Sprite(this.game,t,e,i,s)},tween:function(t){return new H.Tween(t,this.game,this.game.tweens)},group:function(t,e,i,s,o){return new H.Group(this.game,t,e,i,s,o)},spriteBatch:function(t,e,i){return void 0===e&&(e="group"),void 0===i&&(i=!1),new H.SpriteBatch(this.game,t,e,i)},audio:function(t,e,i,s){return this.game.sound.add(t,e,i,s)},audioSprite:function(t){return this.game.sound.addSprite(t)},sound:function(t,e,i,s){return this.game.sound.add(t,e,i,s)},tileSprite:function(t,e,i,s,o,n){return new H.TileSprite(this.game,t,e,i,s,o,n)},rope:function(t,e,i,s,o){return new H.Rope(this.game,t,e,i,s,o)},text:function(t,e,i,s){return new H.Text(this.game,t,e,i,s)},button:function(t,e,i,s,o,n,a,r,h){return new H.Button(this.game,t,e,i,s,o,n,a,r,h)},graphics:function(t,e){return new H.Graphics(this.game,t,e)},emitter:function(t,e,i){return new H.Particles.Arcade.Emitter(this.game,t,e,i)},retroFont:function(t,e,i,s,o,n,a,r,h){return new H.RetroFont(this.game,t,e,i,s,o,n,a,r,h)},bitmapText:function(t,e,i,s,o,n){return new H.BitmapText(this.game,t,e,i,s,o,n)},tilemap:function(t,e,i,s,o){return new H.Tilemap(this.game,t,e,i,s,o)},renderTexture:function(t,e,i,s){void 0!==i&&""!==i||(i=this.game.rnd.uuid()),void 0===s&&(s=!1);var o=new H.RenderTexture(this.game,t,e,i);return s&&this.game.cache.addRenderTexture(i,o),o},bitmapData:function(t,e,i,s){void 0===s&&(s=!1),void 0!==i&&""!==i||(i=this.game.rnd.uuid());var o=new H.BitmapData(this.game,i,t,e);return s&&this.game.cache.addBitmapData(i,o),o},filter:function(t){var e=Array.prototype.slice.call(arguments,1);return(t=new H.Filter[t](this.game)).init.apply(t,e),t}},H.GameObjectCreator.prototype.constructor=H.GameObjectCreator,H.Sprite=function(t,e,i,s,o){e=e||0,i=i||0,s=s||null,o=o||null,this.type=H.SPRITE,this.physicsType=H.SPRITE,PIXI.Sprite.call(this,H.Cache.DEFAULT),H.Component.Core.init.call(this,t,e,i,s,o)},H.Sprite.prototype=Object.create(PIXI.Sprite.prototype),H.Sprite.prototype.constructor=H.Sprite,H.Component.Core.install.call(H.Sprite.prototype,["Angle","Animation","AutoCull","Bounds","BringToTop","Crop","Delta","Destroy","FixedToCamera","Health","InCamera","InputEnabled","InWorld","LifeSpan","LoadTexture","Overlap","PhysicsBody","Reset","ScaleMinMax","Smoothed"]),H.Sprite.prototype.preUpdatePhysics=H.Component.PhysicsBody.preUpdate,H.Sprite.prototype.preUpdateLifeSpan=H.Component.LifeSpan.preUpdate,H.Sprite.prototype.preUpdateInWorld=H.Component.InWorld.preUpdate,H.Sprite.prototype.preUpdateCore=H.Component.Core.preUpdate,H.Sprite.prototype.preUpdate=function(){return!!(this.preUpdatePhysics()&&this.preUpdateLifeSpan()&&this.preUpdateInWorld())&&this.preUpdateCore()},H.Image=function(t,e,i,s,o){e=e||0,i=i||0,s=s||null,o=o||null,this.type=H.IMAGE,PIXI.Sprite.call(this,H.Cache.DEFAULT),H.Component.Core.init.call(this,t,e,i,s,o)},H.Image.prototype=Object.create(PIXI.Sprite.prototype),H.Image.prototype.constructor=H.Image,H.Component.Core.install.call(H.Image.prototype,["Angle","Animation","AutoCull","Bounds","BringToTop","Crop","Destroy","FixedToCamera","InputEnabled","LifeSpan","LoadTexture","Overlap","Reset","ScaleMinMax","Smoothed"]),H.Image.prototype.preUpdateInWorld=H.Component.InWorld.preUpdate,H.Image.prototype.preUpdateCore=H.Component.Core.preUpdate,H.Image.prototype.preUpdate=function(){return!!this.preUpdateInWorld()&&this.preUpdateCore()},H.Button=function(t,e,i,s,o,n,a,r,h,l){e=e||0,i=i||0,s=s||null,o=o||null,n=n||this,H.Image.call(this,t,e,i,s,r),this.type=H.BUTTON,this.physicsType=H.SPRITE,this._onOverFrame=null,this._onOutFrame=null,this._onDownFrame=null,this._onUpFrame=null,this.onOverSound=null,this.onOutSound=null,this.onDownSound=null,this.onUpSound=null,this.onOverSoundMarker="",this.onOutSoundMarker="",this.onDownSoundMarker="",this.onUpSoundMarker="",this.onInputOver=new H.Signal,this.onInputOut=new H.Signal,this.onInputDown=new H.Signal,this.onInputUp=new H.Signal,this.onOverMouseOnly=!0,this.justReleasedPreventsOver=H.PointerMode.TOUCH,this.freezeFrames=!1,this.forceOut=!1,this.inputEnabled=!0,this.input.start(0,!0),this.input.useHandCursor=!0,this.setFrames(a,r,h,l),null!==o&&this.onInputUp.add(o,n),this.events.onInputOver.add(this.onInputOverHandler,this),this.events.onInputOut.add(this.onInputOutHandler,this),this.events.onInputDown.add(this.onInputDownHandler,this),this.events.onInputUp.add(this.onInputUpHandler,this),this.events.onRemovedFromWorld.add(this.removedFromWorld,this)},H.Button.prototype=Object.create(H.Image.prototype),H.Button.prototype.constructor=H.Button;var h="Over",l="Out",c="Down";H.Button.prototype.clearFrames=function(){this.setFrames(null,null,null,null)},H.Button.prototype.removedFromWorld=function(){this.inputEnabled=!1},H.Button.prototype.setStateFrame=function(t,e,i){var s="_on"+t+"Frame";null!==e?(this[s]=e,i&&this.changeStateFrame(t)):this[s]=null},H.Button.prototype.changeStateFrame=function(t){if(this.freezeFrames)return!1;var e=this["_on"+t+"Frame"];return"string"==typeof e?(this.frameName=e,!0):"number"==typeof e&&(this.frame=e,!0)},H.Button.prototype.setFrames=function(t,e,i,s){this.setStateFrame(h,t,this.input.pointerOver()),this.setStateFrame(l,e,!this.input.pointerOver()),this.setStateFrame(c,i,this.input.pointerDown()),this.setStateFrame("Up",s,this.input.pointerUp())},H.Button.prototype.setStateSound=function(t,e,i){var s="on"+t+"Sound",o="on"+t+"SoundMarker";e instanceof H.Sound||e instanceof H.AudioSprite?(this[s]=e,this[o]="string"==typeof i?i:""):(this[s]=null,this[o]="")},H.Button.prototype.playStateSound=function(t){var e=this["on"+t+"Sound"];if(e){var i=this["on"+t+"SoundMarker"];return e.play(i),!0}return!1},H.Button.prototype.setSounds=function(t,e,i,s,o,n,a,r){this.setStateSound(h,t,e),this.setStateSound(l,o,n),this.setStateSound(c,i,s),this.setStateSound("Up",a,r)},H.Button.prototype.setOverSound=function(t,e){this.setStateSound(h,t,e)},H.Button.prototype.setOutSound=function(t,e){this.setStateSound(l,t,e)},H.Button.prototype.setDownSound=function(t,e){this.setStateSound(c,t,e)},H.Button.prototype.setUpSound=function(t,e){this.setStateSound("Up",t,e)},H.Button.prototype.onInputOverHandler=function(t,e){e.justReleased()&&(this.justReleasedPreventsOver&e.pointerMode)===e.pointerMode||(this.changeStateFrame(h),this.onOverMouseOnly&&!e.isMouse||(this.playStateSound(h),this.onInputOver&&this.onInputOver.dispatch(this,e)))},H.Button.prototype.onInputOutHandler=function(t,e){this.changeStateFrame(l),this.playStateSound(l),this.onInputOut&&this.onInputOut.dispatch(this,e)},H.Button.prototype.onInputDownHandler=function(t,e){this.changeStateFrame(c),this.playStateSound(c),this.onInputDown&&this.onInputDown.dispatch(this,e)},H.Button.prototype.onInputUpHandler=function(t,e,i){(this.playStateSound("Up"),this.onInputUp&&this.onInputUp.dispatch(this,e,i),this.freezeFrames)||(!0===this.forceOut||(this.forceOut&e.pointerMode)===e.pointerMode?this.changeStateFrame(l):this.changeStateFrame("Up")||(i?this.changeStateFrame(h):this.changeStateFrame(l)))},H.SpriteBatch=function(t,e,i,s){null==e&&(e=t.world),PIXI.SpriteBatch.call(this),H.Group.call(this,t,e,i,s),this.type=H.SPRITEBATCH},H.SpriteBatch.prototype=H.Utils.extend(!0,H.SpriteBatch.prototype,PIXI.SpriteBatch.prototype,H.Group.prototype),H.SpriteBatch.prototype.constructor=H.SpriteBatch,H.BitmapData=function(t,e,i,s,o){void 0!==i&&0!==i||(i=256),void 0!==s&&0!==s||(s=256),void 0===o&&(o=!1),this.game=t,this.key=e,this.width=i,this.height=s,this.canvas=H.Canvas.create(this,i,s,null,o),this.context=this.canvas.getContext("2d",{alpha:!0}),this.ctx=this.context,this.smoothProperty=t.renderType===H.CANVAS?t.renderer.renderSession.smoothProperty:H.Canvas.getSmoothingPrefix(this.context),this.imageData=this.context.getImageData(0,0,i,s),this.data=null,this.imageData&&(this.data=this.imageData.data),this.pixels=null,this.data&&(this.imageData.data.buffer?(this.buffer=this.imageData.data.buffer,this.pixels=new Uint32Array(this.buffer)):window.ArrayBuffer?(this.buffer=new ArrayBuffer(this.imageData.data.length),this.pixels=new Uint32Array(this.buffer)):this.pixels=this.imageData.data),this.baseTexture=new PIXI.BaseTexture(this.canvas),this.texture=new PIXI.Texture(this.baseTexture),this.frameData=new H.FrameData,this.textureFrame=this.frameData.addFrame(new H.Frame(0,0,0,i,s,"bitmapData")),this.texture.frame=this.textureFrame,this.type=H.BITMAPDATA,this.disableTextureUpload=!1,this.dirty=!1,this.cls=this.clear,this._image=null,this._pos=new H.Point,this._size=new H.Point,this._scale=new H.Point,this._rotate=0,this._alpha={prev:1,current:1},this._anchor=new H.Point,this._tempR=0,this._tempG=0,this._tempB=0,this._circle=new H.Circle,this._swapCanvas=void 0},H.BitmapData.prototype={move:function(t,e,i){return 0!==t&&this.moveH(t,i),0!==e&&this.moveV(e,i),this},moveH:function(t,e){void 0===e&&(e=!0),void 0===this._swapCanvas&&(this._swapCanvas=PIXI.CanvasPool.create(this,this.width,this.height));var i=this._swapCanvas.getContext("2d"),s=this.height,o=this.canvas;if(i.clearRect(0,0,this.width,this.height),t<0){t=Math.abs(t);var n=this.width-t;e&&i.drawImage(o,0,0,t,s,n,0,t,s),i.drawImage(o,t,0,n,s,0,0,n,s)}else{n=this.width-t;e&&i.drawImage(o,n,0,t,s,0,0,t,s),i.drawImage(o,0,0,n,s,t,0,n,s)}return this.clear(),this.copy(this._swapCanvas)},moveV:function(t,e){void 0===e&&(e=!0),void 0===this._swapCanvas&&(this._swapCanvas=PIXI.CanvasPool.create(this,this.width,this.height));var i=this._swapCanvas.getContext("2d"),s=this.width,o=this.canvas;if(i.clearRect(0,0,this.width,this.height),t<0){t=Math.abs(t);var n=this.height-t;e&&i.drawImage(o,0,0,s,t,0,n,s,t),i.drawImage(o,0,t,s,n,0,0,s,n)}else{n=this.height-t;e&&i.drawImage(o,0,n,s,t,0,0,s,t),i.drawImage(o,0,0,s,n,0,t,s,n)}return this.clear(),this.copy(this._swapCanvas)},add:function(t){if(Array.isArray(t))for(var e=0;e=this.height||s<=0)&&(n=!0)):2!==t&&3!==t||++s===this.height&&(s=0,((i+=o)>=this.width||i<=0)&&(n=!0)),0===e.a&&!n;);return e.x=i,e.y=s,e},getBounds:function(t){return void 0===t&&(t=new H.Rectangle),t.x=this.getFirstPixel(2).x,t.x===this.width?t.setTo(0,0,0,0):(t.y=this.getFirstPixel(0).y,t.width=this.getFirstPixel(3).x-t.x+1,t.height=this.getFirstPixel(1).y-t.y+1,t)},addToWorld:function(t,e,i,s,o,n){o=o||1,n=n||1;var a=this.game.add.image(t,e,this);return a.anchor.set(i,s),a.scale.set(o,n),a},copy:function(t,e,i,s,o,n,a,r,h,l,c,p,u,d,y,g,f){if(null==t&&(t=this),(t instanceof H.RenderTexture||t instanceof PIXI.RenderTexture)&&(t=t.getCanvas()),(this._image=t)instanceof H.Sprite||t instanceof H.Image||t instanceof H.Text||t instanceof PIXI.Sprite)this._pos.set(t.texture.crop.x,t.texture.crop.y),this._size.set(t.texture.crop.width,t.texture.crop.height),this._scale.set(t.scale.x,t.scale.y),this._anchor.set(t.anchor.x,t.anchor.y),this._rotate=t.rotation,this._alpha.current=t.alpha,t.texture instanceof H.RenderTexture||t.texture instanceof PIXI.RenderTexture?this._image=t.texture.getCanvas():this._image=t.texture.baseTexture.source,null==n&&(n=t.x),null==a&&(a=t.y),t.texture.trim&&(n+=t.texture.trim.x-t.anchor.x*t.texture.trim.width,a+=t.texture.trim.y-t.anchor.y*t.texture.trim.height),16777215!==t.tint&&(t.cachedTint!==t.tint&&(t.cachedTint=t.tint,t.tintedTexture=PIXI.CanvasTinter.getTintedTexture(t,t.tint)),this._image=t.tintedTexture,this._pos.set(0));else{if(this._pos.set(0),this._scale.set(1),this._anchor.set(0),this._rotate=0,this._alpha.current=1,t instanceof H.BitmapData)this._image=t.canvas;else if("string"==typeof t){if(null===(t=this.game.cache.getImage(t)))return;this._image=t}this._size.set(this._image.width,this._image.height)}if(null==e&&(e=0),null==i&&(i=0),s&&(this._size.x=s),o&&(this._size.y=o),null==n&&(n=e),null==a&&(a=i),null==r&&(r=this._size.x),null==h&&(h=this._size.y),"number"==typeof l&&(this._rotate=l),"number"==typeof c&&(this._anchor.x=c),"number"==typeof p&&(this._anchor.y=p),"number"==typeof u&&(this._scale.x=u),"number"==typeof d&&(this._scale.y=d),"number"==typeof y&&(this._alpha.current=y),void 0===g&&(g=null),void 0===f&&(f=!1),!(this._alpha.current<=0||0===this._scale.x||0===this._scale.y||0===this._size.x||0===this._size.y)){var m=this.context;return this._alpha.prev=m.globalAlpha,m.save(),m.globalAlpha=this._alpha.current,g&&(this.op=g),f&&(n|=0,a|=0),m.translate(n,a),m.scale(this._scale.x,this._scale.y),m.rotate(this._rotate),m.drawImage(this._image,this._pos.x+e,this._pos.y+i,this._size.x,this._size.y,-r*this._anchor.x,-h*this._anchor.y,r,h),m.restore(),m.globalAlpha=this._alpha.prev,this.dirty=!0,this}},copyTransform:function(t,e,i){if(void 0===e&&(e=null),void 0===i&&(i=!1),!t.hasOwnProperty("worldTransform")||!t.worldVisible||0===t.worldAlpha)return this;var s=t.worldTransform;if(this._pos.set(t.texture.crop.x,t.texture.crop.y),this._size.set(t.texture.crop.width,t.texture.crop.height),0===s.a||0===s.d||0===this._size.x||0===this._size.y)return this;t.texture instanceof H.RenderTexture||t.texture instanceof PIXI.RenderTexture?this._image=t.texture.getCanvas():this._image=t.texture.baseTexture.source;var o=s.tx,n=s.ty;t.texture.trim&&(o+=t.texture.trim.x-t.anchor.x*t.texture.trim.width,n+=t.texture.trim.y-t.anchor.y*t.texture.trim.height),16777215!==t.tint&&(t.cachedTint!==t.tint&&(t.cachedTint=t.tint,t.tintedTexture=PIXI.CanvasTinter.getTintedTexture(t,t.tint)),this._image=t.tintedTexture,this._pos.set(0)),i&&(o|=0,n|=0);var a=this.context;return this._alpha.prev=a.globalAlpha,a.save(),a.globalAlpha=this._alpha.current,e&&(this.op=e),a[this.smoothProperty]=t.texture.baseTexture.scaleMode===PIXI.scaleModes.LINEAR,a.setTransform(s.a,s.b,s.c,s.d,o,n),a.drawImage(this._image,this._pos.x,this._pos.y,this._size.x,this._size.y,-this._size.x*t.anchor.x,-this._size.y*t.anchor.y,this._size.x,this._size.y),a.restore(),a.globalAlpha=this._alpha.prev,this.dirty=!0,this},copyRect:function(t,e,i,s,o,n,a){return this.copy(t,e.x,e.y,e.width,e.height,i,s,e.width,e.height,0,0,0,1,1,o,n,a)},draw:function(t,e,i,s,o,n,a){return this.copy(t,null,null,null,null,e,i,s,o,null,null,null,null,null,null,n,a)},drawGroup:function(t,e,i){return 0e.width&&(s=e.width);var o=this.context;return o.fillStyle=o.createPattern(e,i),this._circle=new H.Circle(t.start.x,t.start.y,e.height),this._circle.circumferencePoint(t.angle-1.5707963267948966,!1,this._pos),o.save(),o.translate(this._pos.x,this._pos.y),o.rotate(t.angle),o.fillRect(0,0,s,e.height),o.restore(),this.dirty=!0,this}},render:function(){return!this.disableTextureUpload&&this.dirty&&(this.baseTexture.dirty(),this.dirty=!1),this},destroy:function(){this.frameData.destroy(),this.texture.destroy(!0),PIXI.CanvasPool.remove(this)},blendReset:function(){return this.op="source-over",this},blendSourceOver:function(){return this.op="source-over",this},blendSourceIn:function(){return this.op="source-in",this},blendSourceOut:function(){return this.op="source-out",this},blendSourceAtop:function(){return this.op="source-atop",this},blendDestinationOver:function(){return this.op="destination-over",this},blendDestinationIn:function(){return this.op="destination-in",this},blendDestinationOut:function(){return this.op="destination-out",this},blendDestinationAtop:function(){return this.op="destination-atop",this},blendXor:function(){return this.op="xor",this},blendAdd:function(){return this.op="lighter",this},blendMultiply:function(){return this.op="multiply",this},blendScreen:function(){return this.op="screen",this},blendOverlay:function(){return this.op="overlay",this},blendDarken:function(){return this.op="darken",this},blendLighten:function(){return this.op="lighten",this},blendColorDodge:function(){return this.op="color-dodge",this},blendColorBurn:function(){return this.op="color-burn",this},blendHardLight:function(){return this.op="hard-light",this},blendSoftLight:function(){return this.op="soft-light",this},blendDifference:function(){return this.op="difference",this},blendExclusion:function(){return this.op="exclusion",this},blendHue:function(){return this.op="hue",this},blendSaturation:function(){return this.op="saturation",this},blendColor:function(){return this.op="color",this},blendLuminosity:function(){return this.op="luminosity",this}},Object.defineProperty(H.BitmapData.prototype,"smoothed",{get:function(){H.Canvas.getSmoothingEnabled(this.context)},set:function(t){H.Canvas.setSmoothingEnabled(this.context,t)}}),Object.defineProperty(H.BitmapData.prototype,"op",{get:function(){return this.context.globalCompositeOperation},set:function(t){this.context.globalCompositeOperation=t}}),H.BitmapData.getTransform=function(t,e,i,s,o,n){return"number"!=typeof t&&(t=0),"number"!=typeof e&&(e=0),"number"!=typeof i&&(i=1),"number"!=typeof s&&(s=1),"number"!=typeof o&&(o=0),"number"!=typeof n&&(n=0),{sx:i,sy:s,scaleX:i,scaleY:s,skewX:o,skewY:n,translateX:t,translateY:e,tx:t,ty:e}},H.BitmapData.prototype.constructor=H.BitmapData,PIXI.Graphics=function(){PIXI.DisplayObjectContainer.call(this),this.renderable=!0,this.fillAlpha=1,this.lineWidth=0,this.lineColor=0,this.graphicsData=[],this.tint=16777215,this.blendMode=PIXI.blendModes.NORMAL,this.currentPath=null,this._webGL=[],this.isMask=!1,this.boundsPadding=0,this._localBounds=new PIXI.Rectangle(0,0,1,1),this.dirty=!0,this._boundsDirty=!1,this.webGLDirty=!1,this.cachedSpriteDirty=!1},PIXI.Graphics.prototype=Object.create(PIXI.DisplayObjectContainer.prototype),PIXI.Graphics.prototype.constructor=PIXI.Graphics,PIXI.Graphics.prototype.lineStyle=function(t,e,i){return this.lineWidth=t||0,this.lineColor=e||0,this.lineAlpha=void 0===i?1:i,this.currentPath&&(this.currentPath.shape.points.length?this.drawShape(new PIXI.Polygon(this.currentPath.shape.points.slice(-2))):(this.currentPath.lineWidth=this.lineWidth,this.currentPath.lineColor=this.lineColor,this.currentPath.lineAlpha=this.lineAlpha)),this},PIXI.Graphics.prototype.moveTo=function(t,e){return this.drawShape(new PIXI.Polygon([t,e])),this},PIXI.Graphics.prototype.lineTo=function(t,e){return this.currentPath||this.moveTo(0,0),this.currentPath.shape.points.push(t,e),this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.quadraticCurveTo=function(t,e,i,s){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var o,n,a=this.currentPath.shape.points;0===a.length&&this.moveTo(0,0);for(var r=a[a.length-2],h=a[a.length-1],l=0,c=1;c<=20;++c)o=r+(t-r)*(l=c/20),n=h+(e-h)*l,a.push(o+(t+(i-t)*l-o)*l,n+(e+(s-e)*l-n)*l);return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.bezierCurveTo=function(t,e,i,s,o,n){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);for(var a,r,h,l,c,p=this.currentPath.shape.points,u=p[p.length-2],d=p[p.length-1],y=0,g=1;g<=20;++g)h=(r=(a=1-(y=g/20))*a)*a,c=(l=y*y)*y,p.push(h*u+3*r*y*t+3*a*l*i+c*o,h*d+3*r*y*e+3*a*l*s+c*n);return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.arcTo=function(t,e,i,s,o){this.currentPath?0===this.currentPath.shape.points.length&&this.currentPath.shape.points.push(t,e):this.moveTo(t,e);var n=this.currentPath.shape.points,a=n[n.length-2],r=n[n.length-1]-e,h=a-t,l=s-e,c=i-t,p=Math.abs(r*c-h*l);if(p<1e-8||0===o)n[n.length-2]===t&&n[n.length-1]===e||n.push(t,e);else{var u=r*r+h*h,d=l*l+c*c,y=r*l+h*c,g=o*Math.sqrt(u)/p,f=o*Math.sqrt(d)/p,m=g*y/u,v=f*y/d,x=g*c+f*h,b=g*l+f*r,w=h*(f+m),P=r*(f+m),_=c*(g+v),S=l*(g+v),T=Math.atan2(P-b,w-x),k=Math.atan2(S-b,_-x);this.arc(x+t,b+e,o,T,k,c*r80*i){s=n=t[0],o=a=t[1];for(var y=i;yn.x?o.x>a.x?o.x:a.x:n.x>a.x?n.x:a.x,c=o.y>n.y?o.y>a.y?o.y:a.y:n.y>a.y?n.y:a.y,p=PIXI.EarCut.zOrder(r,h,e,i,s),u=PIXI.EarCut.zOrder(l,c,e,i,s),d=t.nextZ;d&&d.z<=u;){if(d!==t.prev&&d!==t.next&&PIXI.EarCut.pointInTriangle(o.x,o.y,n.x,n.y,a.x,a.y,d.x,d.y)&&0<=PIXI.EarCut.area(d.prev,d,d.next))return!1;d=d.nextZ}for(d=t.prevZ;d&&d.z>=p;){if(d!==t.prev&&d!==t.next&&PIXI.EarCut.pointInTriangle(o.x,o.y,n.x,n.y,a.x,a.y,d.x,d.y)&&0<=PIXI.EarCut.area(d.prev,d,d.next))return!1;d=d.prevZ}return!0},PIXI.EarCut.cureLocalIntersections=function(t,e,i){var s=t;do{var o=s.prev,n=s.next.next;PIXI.EarCut.intersects(o,s,s.next,n)&&PIXI.EarCut.locallyInside(o,n)&&PIXI.EarCut.locallyInside(n,o)&&(e.push(o.i/i),e.push(s.i/i),e.push(n.i/i),PIXI.EarCut.removeNode(s),PIXI.EarCut.removeNode(s.next),s=t=n),s=s.next}while(s!==t);return s},PIXI.EarCut.splitEarcut=function(t,e,i,s,o,n){var a=t;do{for(var r=a.next.next;r!==a.prev;){if(a.i!==r.i&&PIXI.EarCut.isValidDiagonal(a,r)){var h=PIXI.EarCut.splitPolygon(a,r);return a=PIXI.EarCut.filterPoints(a,a.next),h=PIXI.EarCut.filterPoints(h,h.next),PIXI.EarCut.earcutLinked(a,e,i,s,o,n),void PIXI.EarCut.earcutLinked(h,e,i,s,o,n)}r=r.next}a=a.next}while(a!==t)},PIXI.EarCut.eliminateHoles=function(t,e,i,s){var o,n,a,r,h,l=[];for(o=0,n=e.length;o=s.next.y){var r=s.x+(n-s.y)*(s.next.x-s.x)/(s.next.y-s.y);r<=o&&a=s.x&&s.x>=i.x&&PIXI.EarCut.pointInTriangle(ni.x)&&PIXI.EarCut.locallyInside(s,t)&&(i=s,c=h),s=s.next;return i},PIXI.EarCut.indexCurve=function(t,e,i,s){for(var o=t;null===o.z&&(o.z=PIXI.EarCut.zOrder(o.x,o.y,e,i,s)),o.prevZ=o.prev,o.nextZ=o.next,(o=o.next)!==t;);o.prevZ.nextZ=null,o.prevZ=null,PIXI.EarCut.sortLinked(o)},PIXI.EarCut.sortLinked=function(t){var e,i,s,o,n,a,r,h,l=1;do{for(i=t,n=t=null,a=0;i;){for(a++,s=i,e=r=0;en!=i.next.y>n&&o<(i.next.x-i.x)*(n-i.y)/(i.next.y-i.y)+i.x&&(s=!s),(i=i.next)!==t;);return s},PIXI.EarCut.splitPolygon=function(t,e){var i=new PIXI.EarCut.Node(t.i,t.x,t.y),s=new PIXI.EarCut.Node(e.i,e.x,e.y),o=t.next,n=e.prev;return(t.next=e).prev=t,(i.next=o).prev=i,(s.next=i).prev=s,(n.next=s).prev=n,s},PIXI.EarCut.insertNode=function(t,e,i,s){var o=new PIXI.EarCut.Node(t,e,i);return s?(o.next=s.next,(o.prev=s).next.prev=o,s.next=o):(o.prev=o).next=o,o},PIXI.EarCut.removeNode=function(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)},PIXI.EarCut.Node=function(t,e,i){this.i=t,this.x=e,this.y=i,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1},PIXI.WebGLGraphics=function(){},PIXI.WebGLGraphics.stencilBufferLimit=6,PIXI.WebGLGraphics.renderGraphics=function(t,e){var i,s=e.gl,o=e.projection,n=e.offset,a=e.shaderManager.primitiveShader;t.dirty&&PIXI.WebGLGraphics.updateGraphics(t,s);for(var r=t._webGL[s.id],h=0;h=PIXI.WebGLGraphics.stencilBufferLimit)if(a.points.length<2*PIXI.WebGLGraphics.stencilBufferLimit)s=PIXI.WebGLGraphics.switchMode(o,0),PIXI.WebGLGraphics.buildPoly(a,s)||(s=PIXI.WebGLGraphics.switchMode(o,1),PIXI.WebGLGraphics.buildComplexPoly(a,s));else s=PIXI.WebGLGraphics.switchMode(o,1),PIXI.WebGLGraphics.buildComplexPoly(a,s);0>16&255)/255,i=(t.tint>>8&255)/255,s=(255&t.tint)/255,o=0;o>16&255)/255*e*255<<16)+((a>>8&255)/255*i*255<<8)+(255&a)/255*s*255,n._lineTint=((r>>16&255)/255*e*255<<16)+((r>>8&255)/255*i*255<<8)+(255&r)/255*s*255}},H.Graphics=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=0),this.type=H.GRAPHICS,this.physicsType=H.SPRITE,this.anchor=new H.Point,PIXI.Graphics.call(this),H.Component.Core.init.call(this,t,e,i,"",null)},H.Graphics.prototype=Object.create(PIXI.Graphics.prototype),H.Graphics.prototype.constructor=H.Graphics,H.Component.Core.install.call(H.Graphics.prototype,["Angle","AutoCull","Bounds","Destroy","FixedToCamera","InputEnabled","InWorld","LifeSpan","PhysicsBody","Reset"]),H.Graphics.prototype.preUpdatePhysics=H.Component.PhysicsBody.preUpdate,H.Graphics.prototype.preUpdateLifeSpan=H.Component.LifeSpan.preUpdate,H.Graphics.prototype.preUpdateInWorld=H.Component.InWorld.preUpdate,H.Graphics.prototype.preUpdateCore=H.Component.Core.preUpdate,H.Graphics.prototype.preUpdate=function(){return!!(this.preUpdatePhysics()&&this.preUpdateLifeSpan()&&this.preUpdateInWorld())&&this.preUpdateCore()},H.Graphics.prototype.postUpdate=function(){H.Component.PhysicsBody.postUpdate.call(this),H.Component.FixedToCamera.postUpdate.call(this),this._boundsDirty&&(this.updateLocalBounds(),this._boundsDirty=!1);for(var t=0;tg&&(m=-g),0!==m&&(f+=0i&&(this.style.wordWrapWidth=i)),this.updateTexture(),this},H.Text.prototype.updateTexture=function(){var t=this.texture.baseTexture,e=this.texture.crop,i=this.texture.frame,s=this.canvas.width,o=this.canvas.height;if(t.width=s,t.height=o,e.width=s,e.height=o,i.width=s,i.height=o,this.texture.width=s,this.texture.height=o,this._width=s,this._height=o,this.textBounds){var n=this.textBounds.x,a=this.textBounds.y;"right"===this.style.boundsAlignH?n+=this.textBounds.width-this.canvas.width/this.resolution:"center"===this.style.boundsAlignH&&(n+=this.textBounds.halfWidth-this.canvas.width/this.resolution/2),"bottom"===this.style.boundsAlignV?a+=this.textBounds.height-this.canvas.height/this.resolution:"middle"===this.style.boundsAlignV&&(a+=this.textBounds.halfHeight-this.canvas.height/this.resolution/2),this.pivot.x=-n,this.pivot.y=-a}this.renderable=0!==s&&0!==o,this.texture.requiresReTint=!0,this.texture.baseTexture.dirty()},H.Text.prototype._renderWebGL=function(t){this.dirty&&(this.updateText(),this.dirty=!1),PIXI.Sprite.prototype._renderWebGL.call(this,t)},H.Text.prototype._renderCanvas=function(t){this.dirty&&(this.updateText(),this.dirty=!1),PIXI.Sprite.prototype._renderCanvas.call(this,t)},H.Text.prototype.determineFontProperties=function(t){var e=H.Text.fontPropertiesCache[t];if(!e){e={};var i=H.Text.fontPropertiesCanvas,s=H.Text.fontPropertiesContext;s.font=t;var o=Math.ceil(s.measureText("|MÉq").width),n=Math.ceil(s.measureText("|MÉq").width),a=2*n;if(n=1.4*n|0,i.width=o,i.height=a,s.fillStyle="#f00",s.fillRect(0,0,o,a),s.font=t,s.textBaseline="alphabetic",s.fillStyle="#000",s.fillText("|MÉq",0,n),!s.getImageData(0,0,o,a))return e.ascent=n,e.descent=n+6,e.fontSize=e.ascent+e.descent,H.Text.fontPropertiesCache[t]=e;var r,h,l=s.getImageData(0,0,o,a).data,c=l.length,p=4*o,u=0,d=!1;for(r=0;rthis.textWidth&&(this.textWidth=c.width),o+=t.lineHeight*i,e=e.substr(c.text.length+1)}while(!1===c.end);this.textHeight=o;for(var n=0,a=0,r=this.textWidth*this.anchor.x,h=this.textHeight*this.anchor.y,l=0;l?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",H.RetroFont.TEXT_SET2=" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ",H.RetroFont.TEXT_SET3="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",H.RetroFont.TEXT_SET4="ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",H.RetroFont.TEXT_SET5="ABCDEFGHIJKLMNOPQRSTUVWXYZ.,/() '!?-*:0123456789",H.RetroFont.TEXT_SET6="ABCDEFGHIJKLMNOPQRSTUVWXYZ!?:;0123456789\"(),-.' ",H.RetroFont.TEXT_SET7="AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW\")28FLRX-'39",H.RetroFont.TEXT_SET8="0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ",H.RetroFont.TEXT_SET9="ABCDEFGHIJKLMNOPQRSTUVWXYZ()-0123456789.:,'\"?!",H.RetroFont.TEXT_SET10="ABCDEFGHIJKLMNOPQRSTUVWXYZ",H.RetroFont.TEXT_SET11="ABCDEFGHIJKLMNOPQRSTUVWXYZ.,\"-+!?()':;0123456789",H.RetroFont.prototype.setFixedWidth=function(t,e){void 0===e&&(e="left"),this.fixedWidth=t,this.align=e},H.RetroFont.prototype.setText=function(t,e,i,s,o,n){this.multiLine=e||!1,this.customSpacingX=i||0,this.customSpacingY=s||0,this.align=o||"left",this.autoUpperCase=!n,0this.width))break},H.RetroFont.prototype.getLongestLine=function(){var t=0;if(0t&&(t=e[i].length);return t},H.RetroFont.prototype.removeUnsupportedCharacters=function(t){for(var e="",i=0;i=H.Math.PI2-i?t=e:(Math.abs(e-t)>Math.PI&&(et[i]&&(i=e);return t[i]},minProperty:function(t){if(2===arguments.length&&"object"==typeof arguments[1])var e=arguments[1];else e=arguments.slice(1);for(var i=1,s=0,o=e.length;ie[s][t]&&(s=i);return e[s][t]},wrapAngle:function(t,e){return e?this.wrap(t,-Math.PI,Math.PI):this.wrap(t,-180,180)},linearInterpolation:function(t,e){var i=t.length-1,s=i*e,o=Math.floor(s);return e<0?this.linear(t[0],t[1],s):1>>0,s=(e*=s)>>>0,s+=4294967296*(e-=s);return 2.3283064365386963e-10*(s>>>0)},integer:function(){return 4294967296*this.rnd.apply(this)},frac:function(){return this.rnd.apply(this)+11102230246251565e-32*(2097152*this.rnd.apply(this)|0)},real:function(){return this.integer()+this.frac()},integerInRange:function(t,e){return Math.floor(this.realInRange(0,e-t+1)+t)},between:function(t,e){return this.integerInRange(t,e)},realInRange:function(t,e){return this.frac()*(e-t)+t},normal:function(){return 1-2*this.frac()},uuid:function(){var t="",e="";for(e=t="";t++<36;e+=~t%5|3*t&4?(15^t?8^this.frac()*(20^t?16:4):4).toString(16):"-");return e},pick:function(t){return t[this.integerInRange(0,t.length-1)]},sign:function(){return this.pick([-1,1])},weightedPick:function(t){return t[~~(Math.pow(this.frac(),2)*(t.length-1)+.5)]},timestamp:function(t,e){return this.realInRange(t||9466848e5,e||1577862e6)},angle:function(){return this.integerInRange(-180,180)},state:function(t){return"string"==typeof t&&t.match(/^!rnd/)&&(t=t.split(","),this.c=parseFloat(t[1]),this.s0=parseFloat(t[2]),this.s1=parseFloat(t[3]),this.s2=parseFloat(t[4])),["!rnd",this.c,this.s0,this.s1,this.s2].join(",")}},H.RandomDataGenerator.prototype.constructor=H.RandomDataGenerator,H.QuadTree=function(t,e,i,s,o,n,a){this.maxObjects=10,this.maxLevels=4,this.level=0,this.bounds={},this.objects=[],this.nodes=[],this._empty=[],this.reset(t,e,i,s,o,n,a)},H.QuadTree.prototype={reset:function(t,e,i,s,o,n,a){this.maxObjects=o||10,this.maxLevels=n||4,this.level=a||0,this.bounds={x:Math.round(t),y:Math.round(e),width:i,height:s,subWidth:Math.floor(i/2),subHeight:Math.floor(s/2),right:Math.round(t)+Math.floor(i/2),bottom:Math.round(e)+Math.floor(s/2)},this.objects.length=0,this.nodes.length=0},populate:function(t){t.forEach(this.populateHandler,this,!0)},populateHandler:function(t){t.body&&t.exists&&this.insert(t.body)},split:function(){this.nodes[0]=new H.QuadTree(this.bounds.right,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[1]=new H.QuadTree(this.bounds.x,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[2]=new H.QuadTree(this.bounds.x,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[3]=new H.QuadTree(this.bounds.right,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1)},insert:function(t){var e,i=0;if(null==this.nodes[0]||-1===(e=this.getIndex(t))){if(this.objects.push(t),this.objects.length>this.maxObjects&&this.levelthis.bounds.bottom&&(e=2):t.x>this.bounds.right&&(t.ythis.bounds.bottom&&(e=3)),e},retrieve:function(t){if(t instanceof H.Rectangle)var e=this.objects,i=this.getIndex(t);else{if(!t.body)return this._empty;e=this.objects,i=this.getIndex(t.body)}return this.nodes[0]&&(e=-1!==i?e.concat(this.nodes[i].retrieve(t)):(e=(e=(e=e.concat(this.nodes[0].retrieve(t))).concat(this.nodes[1].retrieve(t))).concat(this.nodes[2].retrieve(t))).concat(this.nodes[3].retrieve(t))),e},clear:function(){this.objects.length=0;for(var t=this.nodes.length;t--;)this.nodes[t].clear(),this.nodes.splice(t,1);this.nodes.length=0}},H.QuadTree.prototype.constructor=H.QuadTree,H.Net=function(t){this.game=t},H.Net.prototype={getHostName:function(){return window.location&&window.location.hostname?window.location.hostname:null},checkDomainName:function(t){return-1!==window.location.hostname.indexOf(t)},updateQueryString:function(t,e,i,s){void 0===i&&(i=!1),void 0!==s&&""!==s||(s=window.location.href);var o="",n=new RegExp("([?|&])"+t+"=.*?(&|#|$)(.*)","gi");if(n.test(s))o=null!=e?s.replace(n,"$1"+t+"="+e+"$2$3"):s.replace(n,"$1$3").replace(/(&|\?)$/,"");else if(null!=e){var a=-1!==s.indexOf("?")?"&":"?",r=s.split("#");s=r[0]+a+t+"="+e,r[1]&&(s+="#"+r[1]),o=s}else o=s;if(!i)return o;window.location.href=o},getQueryString:function(t){void 0===t&&(t="");var e={},i=location.search.substring(1).split("&");for(var s in i){var o=i[s].split("=");if(1this.timeline.length-1)&&(t=0),this.current=t,this.timeline[this.current].start(),this},stop:function(t){return void 0===t&&(t=!1),this.isRunning=!1,this._onUpdateCallback=null,this._onUpdateCallbackContext=null,t&&(this.onComplete.dispatch(this.target,this),this._hasStarted=!1,this.chainedTween&&this.chainedTween.start()),this.manager.remove(this),this},updateTweenData:function(t,e,i){if(0===this.timeline.length)return this;if(void 0===i&&(i=0),-1===i)for(var s=0;s=this.startTime))return H.TweenData.PENDING;this.isRunning=!0}var e=this.parent.frameBased?this.game.time.physicsElapsedMS:this.game.time.elapsedMS;for(var i in this.parent.reverse?(this.dt-=e*this.parent.timeScale,this.dt=Math.max(this.dt,0)):(this.dt+=e*this.parent.timeScale,this.dt=Math.min(this.dt,this.duration)),this.percent=this.dt/this.duration,this.value=this.easingFunction(this.percent),this.vEnd){var s=this.vStart[i],o=this.vEnd[i];Array.isArray(o)?this.parent.target[i]=this.interpolationFunction.call(this.interpolationContext,o,this.value):this.parent.target[i]=s+(o-s)*this.value}return!this.parent.reverse&&1===this.percent||this.parent.reverse&&0===this.percent?this.repeat():H.TweenData.RUNNING},generateData:function(t){this.parent.reverse?this.dt=this.duration:this.dt=0;var e=[],i=!1,s=1/t*1e3;do{this.parent.reverse?(this.dt-=s,this.dt=Math.max(this.dt,0)):(this.dt+=s,this.dt=Math.min(this.dt,this.duration)),this.percent=this.dt/this.duration,this.value=this.easingFunction(this.percent);var o={};for(var n in this.vEnd){var a=this.vStart[n],r=this.vEnd[n];Array.isArray(r)?o[n]=this.interpolationFunction(r,this.value):o[n]=a+(r-a)*this.value}e.push(o),(!this.parent.reverse&&1===this.percent||this.parent.reverse&&0===this.percent)&&(i=!0)}while(!i);if(this.yoyo){var h=e.slice();h.reverse(),e=e.concat(h)}return e},repeat:function(){if(this.yoyo){if(this.inReverse&&0===this.repeatCounter){for(var t in this.vStartCache)this.vStart[t]=this.vStartCache[t],this.vEnd[t]=this.vEndCache[t];return this.inReverse=!1,H.TweenData.COMPLETE}this.inReverse=!this.inReverse}else if(0===this.repeatCounter)return H.TweenData.COMPLETE;if(this.inReverse)for(var t in this.vStartCache)this.vStart[t]=this.vEndCache[t],this.vEnd[t]=this.vStartCache[t];else{for(var t in this.vStartCache)this.vStart[t]=this.vStartCache[t],this.vEnd[t]=this.vEndCache[t];0=2*this._desiredFps&&(this.suggestedFps=5*Math.floor(200/(this._elapsedAccumulator/this._frameCount)),this._frameCount=0,this._elapsedAccumulator=0),this.msMin=Math.min(this.msMin,this.elapsed),this.msMax=Math.max(this.msMax,this.elapsed),this.frames++,this.now>this._timeLastSecond+1e3&&(this.fps=Math.round(1e3*this.frames/(this.now-this._timeLastSecond)),this.fpsMin=Math.min(this.fpsMin,this.fps),this.fpsMax=Math.max(this.fpsMax,this.fps),this._timeLastSecond=this.now,this.frames=0)},gamePaused:function(){this._pauseStarted=Date.now(),this.events.pause();for(var t=this._timers.length;t--;)this._timers[t]._pause()},gameResumed:function(){this.time=Date.now(),this.pauseDuration=this.time-this._pauseStarted,this.events.resume();for(var t=this._timers.length;t--;)this._timers[t]._resume()},totalElapsedSeconds:function(){return.001*(this.time-this._started)},elapsedSince:function(t){return this.time-t},elapsedSecondsSince:function(t){return.001*(this.time-t)},reset:function(){this._started=this.time,this.removeAll()}},Object.defineProperty(H.Time.prototype,"desiredFps",{get:function(){return this._desiredFps},set:function(t){this._desiredFps=t,this.physicsElapsed=1/t,this.physicsElapsedMS=1e3*this.physicsElapsed,this.desiredFpsMult=1/t}}),H.Time.prototype.constructor=H.Time,H.Timer=function(t,e){void 0===e&&(e=!0),this.game=t,this.running=!1,this.autoDestroy=e,this.expired=!1,this.elapsed=0,this.events=[],this.onComplete=new H.Signal,this.nextTick=0,this.timeCap=1e3,this.paused=!1,this._codePaused=!1,this._started=0,this._pauseStarted=0,this._pauseTotal=0,this._now=Date.now(),this._len=0,this._marked=0,this._i=0,this._diff=0,this._newTick=0},H.Timer.MINUTE=6e4,H.Timer.SECOND=1e3,H.Timer.HALF=500,H.Timer.QUARTER=250,H.Timer.prototype={create:function(t,e,i,s,o,n){var a=t=Math.round(t);0===this._now?a+=this.game.time.time:a+=this._now;var r=new H.TimerEvent(this,t,a,i,e,s,o,n);return this.events.push(r),this.order(),this.expired=!1,r},add:function(t,e,i){return this.create(t,!1,0,e,i,Array.prototype.slice.call(arguments,3))},repeat:function(t,e,i,s){return this.create(t,!1,e,i,s,Array.prototype.slice.call(arguments,4))},loop:function(t,e,i){return this.create(t,!0,0,e,i,Array.prototype.slice.call(arguments,3))},start:function(t){if(!this.running){this._started=this.game.time.time+(t||0),this.running=!0;for(var e=0;ee.tick?1:0},clearPendingEvents:function(){for(this._i=this.events.length;this._i--;)this.events[this._i].pendingDelete&&this.events.splice(this._i,1);this._len=this.events.length,this._i=0},update:function(t){if(this.paused)return!0;if(this.elapsed=t-this._now,this._now=t,this.elapsed>this.timeCap&&this.adjustEvents(t-this.elapsed),this._marked=0,this.clearPendingEvents(),this.running&&this._now>=this.nextTick&&0=this.events[this._i].tick&&!this.events[this._i].pendingDelete;)this._newTick=this._now+this.events[this._i].delay-(this._now-this.events[this._i].tick),this._newTick<0&&(this._newTick=this._now+this.events[this._i].delay),!0===this.events[this._i].loop?this.events[this._i].tick=this._newTick:0this._marked?this.order():(this.expired=!0,this.onComplete.dispatch(this))}return!this.expired||!this.autoDestroy},pause:function(){this.running&&(this._codePaused=!0,this.paused||(this._pauseStarted=this.game.time.time,this.paused=!0))},_pause:function(){!this.paused&&this.running&&(this._pauseStarted=this.game.time.time,this.paused=!0)},adjustEvents:function(t){for(var e=0;ethis._now?this.nextTick-this._now:0}}),Object.defineProperty(H.Timer.prototype,"length",{get:function(){return this.events.length}}),Object.defineProperty(H.Timer.prototype,"ms",{get:function(){return this.running?this._now-this._started-this._pauseTotal:0}}),Object.defineProperty(H.Timer.prototype,"seconds",{get:function(){return this.running?.001*this.ms:0}}),H.Timer.prototype.constructor=H.Timer,H.TimerEvent=function(t,e,i,s,o,n,a,r){this.timer=t,this.delay=e,this.tick=i,this.repeatCount=s-1,this.loop=o,this.callback=n,this.callbackContext=a,this.args=r,this.pendingDelete=!1},H.TimerEvent.prototype.constructor=H.TimerEvent,H.AnimationManager=function(t){this.sprite=t,this.game=t.game,this.currentFrame=null,this.currentAnim=null,this.updateIfVisible=!0,this.isLoaded=!1,this._frameData=null,this._anims={},this._outputFrames=[]},H.AnimationManager.prototype={loadFrameData:function(t,e){if(void 0===t)return!1;if(this.isLoaded)for(var i in this._anims)this._anims[i].updateFrameData(t);return this._frameData=t,null==e?this.frame=0:"string"==typeof e?this.frameName=e:this.frame=e,this.isLoaded=!0},copyFrameData:function(t,e){if(this._frameData=t.clone(),this.isLoaded)for(var i in this._anims)this._anims[i].updateFrameData(this._frameData);return null==e?this.frame=0:"string"==typeof e?this.frameName=e:this.frame=e,this.isLoaded=!0},add:function(t,e,i,s,o){return e=e||[],i=i||60,void 0===s&&(s=!1),void 0===o&&(o=!(!e||"number"!=typeof e[0])),this._outputFrames=[],this._frameData.getFrameIndexes(e,o,this._outputFrames),this._anims[t]=new H.Animation(this.game,this.sprite,t,this._frameData,this._outputFrames,i,s),this.currentAnim=this._anims[t],this.sprite.tilingTexture&&(this.sprite.refreshTexture=!0),this._anims[t]},validateFrames:function(t,e){void 0===e&&(e=!0);for(var i=0;ithis._frameData.total)return!1}else if(!1===this._frameData.checkFrameName(t[i]))return!1;return!0},play:function(t,e,i,s){if(this._anims[t])return this.currentAnim===this._anims[t]?!1===this.currentAnim.isPlaying?(this.currentAnim.paused=!1,this.currentAnim.play(e,i,s)):this.currentAnim:(this.currentAnim&&this.currentAnim.isPlaying&&this.currentAnim.stop(),this.currentAnim=this._anims[t],this.currentAnim.paused=!1,this.currentFrame=this.currentAnim.currentFrame,this.currentAnim.play(e,i,s))},stop:function(t,e){void 0===e&&(e=!1),!this.currentAnim||"string"==typeof t&&t!==this.currentAnim.name||this.currentAnim.stop(e)},update:function(){return!(this.updateIfVisible&&!this.sprite.visible)&&(!(!this.currentAnim||!this.currentAnim.update())&&(this.currentFrame=this.currentAnim.currentFrame,!0))},next:function(t){this.currentAnim&&(this.currentAnim.next(t),this.currentFrame=this.currentAnim.currentFrame)},previous:function(t){this.currentAnim&&(this.currentAnim.previous(t),this.currentFrame=this.currentAnim.currentFrame)},getAnimation:function(t){return"string"==typeof t&&this._anims[t]?this._anims[t]:null},refreshFrame:function(){},destroy:function(){var t=null;for(var t in this._anims)this._anims.hasOwnProperty(t)&&this._anims[t].destroy();this._anims={},this._outputFrames=[],this._frameData=null,this.currentAnim=null,this.currentFrame=null,this.sprite=null,this.game=null}},H.AnimationManager.prototype.constructor=H.AnimationManager,Object.defineProperty(H.AnimationManager.prototype,"frameData",{get:function(){return this._frameData}}),Object.defineProperty(H.AnimationManager.prototype,"frameTotal",{get:function(){return this._frameData.total}}),Object.defineProperty(H.AnimationManager.prototype,"paused",{get:function(){return this.currentAnim.isPaused},set:function(t){this.currentAnim.paused=t}}),Object.defineProperty(H.AnimationManager.prototype,"name",{get:function(){if(this.currentAnim)return this.currentAnim.name}}),Object.defineProperty(H.AnimationManager.prototype,"frame",{get:function(){if(this.currentFrame)return this.currentFrame.index},set:function(t){"number"==typeof t&&this._frameData&&null!==this._frameData.getFrame(t)&&(this.currentFrame=this._frameData.getFrame(t),this.currentFrame&&this.sprite.setFrame(this.currentFrame))}}),Object.defineProperty(H.AnimationManager.prototype,"frameName",{get:function(){if(this.currentFrame)return this.currentFrame.name},set:function(t){"string"==typeof t&&this._frameData&&null!==this._frameData.getFrameByName(t)&&(this.currentFrame=this._frameData.getFrameByName(t),this.currentFrame&&(this._frameIndex=this.currentFrame.index,this.sprite.setFrame(this.currentFrame)))}}),H.Animation=function(t,e,i,s,o,n,a){void 0===a&&(a=!1),this.game=t,this._parent=e,this._frameData=s,this.name=i,this._frames=[],this._frames=this._frames.concat(o),this.delay=1e3/n,this.loop=a,this.loopCount=0,this.killOnComplete=!1,this.isFinished=!1,this.isPlaying=!1,this.isPaused=!1,this._pauseStartTime=0,this._frameIndex=0,this._frameDiff=0,this._frameSkip=1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.onStart=new H.Signal,this.onUpdate=null,this.onComplete=new H.Signal,this.onLoop=new H.Signal,this.isReversed=!1,this.game.onPause.add(this.onPause,this),this.game.onResume.add(this.onResume,this)},H.Animation.prototype={play:function(t,e,i){return"number"==typeof t&&(this.delay=1e3/t),"boolean"==typeof e&&(this.loop=e),void 0!==i&&(this.killOnComplete=i),this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this.loopCount=0,this._timeLastFrame=this.game.time.time,this._timeNextFrame=this.game.time.time+this.delay,this._frameIndex=this.isReversed?this._frames.length-1:0,this.updateCurrentFrame(!1,!0),this._parent.events.onAnimationStart$dispatch(this._parent,this),this.onStart.dispatch(this._parent,this),(this._parent.animations.currentAnim=this)._parent.animations.currentFrame=this.currentFrame,this},restart:function(){this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this.loopCount=0,this._timeLastFrame=this.game.time.time,this._timeNextFrame=this.game.time.time+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this._parent.setFrame(this.currentFrame),(this._parent.animations.currentAnim=this)._parent.animations.currentFrame=this.currentFrame,this.onStart.dispatch(this._parent,this)},reverse:function(){return this.reversed=!this.reversed,this},reverseOnce:function(){return this.onComplete.addOnce(this.reverse,this),this.reverse()},setFrame:function(t,e){var i;if(void 0===e&&(e=!1),"string"==typeof t)for(var s=0;s=this._timeNextFrame)&&(this._frameSkip=1,this._frameDiff=this.game.time.time-this._timeNextFrame,this._timeLastFrame=this.game.time.time,this._frameDiff>this.delay&&(this._frameSkip=Math.floor(this._frameDiff/this.delay),this._frameDiff-=this._frameSkip*this.delay),this._timeNextFrame=this.game.time.time+(this.delay-this._frameDiff),this.isReversed?this._frameIndex-=this._frameSkip:this._frameIndex+=this._frameSkip,!this.isReversed&&this._frameIndex>=this._frames.length||this.isReversed&&this._frameIndex<=-1?this.loop?(this._frameIndex=Math.abs(this._frameIndex)%this._frames.length,this.isReversed&&(this._frameIndex=this._frames.length-1-this._frameIndex),this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setFrame(this.currentFrame),this.loopCount++,this._parent.events.onAnimationLoop$dispatch(this._parent,this),this.onLoop.dispatch(this._parent,this),!this.onUpdate||(this.onUpdate.dispatch(this,this.currentFrame),!!this._frameData)):(this.complete(),!1):this.updateCurrentFrame(!0)))},updateCurrentFrame:function(t,e){if(void 0===e&&(e=!1),!this._frameData)return!1;var i=this.currentFrame.index;return this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&(e||!e&&i!==this.currentFrame.index)&&this._parent.setFrame(this.currentFrame),!this.onUpdate||!t||(this.onUpdate.dispatch(this,this.currentFrame),!!this._frameData)},next:function(t){void 0===t&&(t=1);var e=this._frameIndex+t;e>=this._frames.length&&(this.loop?e%=this._frames.length:e=this._frames.length-1),e!==this._frameIndex&&(this._frameIndex=e,this.updateCurrentFrame(!0))},previous:function(t){void 0===t&&(t=1);var e=this._frameIndex-t;e<0&&(this.loop?e=this._frames.length+e:e++),e!==this._frameIndex&&(this._frameIndex=e,this.updateCurrentFrame(!0))},updateFrameData:function(t){this._frameData=t,this.currentFrame=this._frameData?this._frameData.getFrame(this._frames[this._frameIndex%this._frames.length]):null},destroy:function(){this._frameData&&(this.game.onPause.remove(this.onPause,this),this.game.onResume.remove(this.onResume,this),this.game=null,this._parent=null,this._frames=null,this._frameData=null,this.currentFrame=null,this.isPlaying=!1,this.onStart.dispose(),this.onLoop.dispose(),this.onComplete.dispose(),this.onUpdate&&this.onUpdate.dispose())},complete:function(){this._frameIndex=this._frames.length-1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.isPlaying=!1,this.isFinished=!0,this.paused=!1,this._parent.events.onAnimationComplete$dispatch(this._parent,this),this.onComplete.dispatch(this._parent,this),this.killOnComplete&&this._parent.kill()}},H.Animation.prototype.constructor=H.Animation,Object.defineProperty(H.Animation.prototype,"paused",{get:function(){return this.isPaused},set:function(t){(this.isPaused=t)?this._pauseStartTime=this.game.time.time:this.isPlaying&&(this._timeNextFrame=this.game.time.time+this.delay)}}),Object.defineProperty(H.Animation.prototype,"reversed",{get:function(){return this.isReversed},set:function(t){this.isReversed=t}}),Object.defineProperty(H.Animation.prototype,"frameTotal",{get:function(){return this._frames.length}}),Object.defineProperty(H.Animation.prototype,"frame",{get:function(){return null!==this.currentFrame?this.currentFrame.index:this._frameIndex},set:function(t){this.currentFrame=this._frameData.getFrame(this._frames[t]),null!==this.currentFrame&&(this._frameIndex=t,this._parent.setFrame(this.currentFrame),this.onUpdate&&this.onUpdate.dispatch(this,this.currentFrame))}}),Object.defineProperty(H.Animation.prototype,"speed",{get:function(){return 1e3/this.delay},set:function(t){0=this._frames.length&&(t=0),this._frames[t]},getFrameByName:function(t){return"number"==typeof this._frameNames[t]?this._frames[this._frameNames[t]]:null},checkFrameName:function(t){return null!=this._frameNames[t]},clone:function(){for(var t=new H.FrameData,e=0;e=i||e&&this._loadedPackCount===this._totalPackCount)break}if(this.updateProgress(),this._processingHead>=this._fileList.length)this.finishedLoading();else if(!this._flightQueue.length){var o=this;setTimeout(function(){o.finishedLoading(!0)},2e3)}}else this.finishedLoading(!0)},finishedLoading:function(t){this.hasLoaded||(this.hasLoaded=!0,this.isLoading=!1,t||this._fileLoadStarted||(this._fileLoadStarted=!0,this.onLoadStart.dispatch()),this.onLoadComplete.dispatch(),this.game.state.loadComplete(),this.reset())},asyncComplete:function(t,e){void 0===e&&(e=""),t.loaded=!0,t.error=!!e,e&&(t.errorMessage=e),this.processLoadQueue()},processPack:function(t){var e=t.data[t.key];if(e)for(var i=0;i=this.durationMS&&(this.usingWebAudio?this.loop?(this.onLoop.dispatch(this),this.isPlaying=!1,""===this.currentMarker?(this.currentTime=0,this.startTime=this.game.time.time,this.isPlaying=!0):(this.onMarkerComplete.dispatch(this.currentMarker,this),this.play(this.currentMarker,0,this.volume,!0,!0))):""!==this.currentMarker&&this.stop():this.loop?(this.onLoop.dispatch(this),""===this.currentMarker&&(this.currentTime=0,this.startTime=this.game.time.time),this.isPlaying=!1,this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop()))):this.destroy()},loopFull:function(t){return this.play(null,0,t,!0)},play:function(t,e,i,s,o){if(void 0!==t&&!1!==t&&null!==t||(t=""),void 0===o&&(o=!0),this.isPlaying&&!this.allowMultiple&&!o&&!this.override)return this;if(this._sound&&this.isPlaying&&!this.allowMultiple&&(this.override||o)){if(this.usingWebAudio){if(void 0===this._sound.stop)this._sound.noteOff(0);else try{this._sound.stop(0)}catch(t){}this.externalNode?this._sound.disconnect(this.externalNode):this.gainNode&&this._sound.disconnect(this.gainNode)}else this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0);this.isPlaying=!1}var n=Object.keys(this.markers);if(""===t&&1===n.length&&(t=n[0]),""===t&&0this.width}}),Object.defineProperty(H.ScaleManager.prototype,"isGameLandscape",{get:function(){return this.width>this.height}}),H.Utils.Debug=function(t){this.game=t,this.sprite=null,this.bmd=null,this.canvas=null,this.context=null,this.font="14px Courier",this.columnWidth=100,this.lineHeight=16,this.renderShadow=!0,this.currentX=0,this.currentY=0,this.currentAlpha=1,this.dirty=!1},H.Utils.Debug.prototype={boot:function(){this.game.renderType===H.CANVAS?this.context=this.game.context:(this.bmd=new H.BitmapData(this.game,"__DEBUG",this.game.width,this.game.height,!0),this.sprite=this.game.make.image(0,0,this.bmd),this.game.stage.addChild(this.sprite),this.game.scale.onSizeChange.add(this.resize,this),this.canvas=PIXI.CanvasPool.create(this,this.game.width,this.game.height),this.context=this.canvas.getContext("2d"))},resize:function(t,e,i){this.bmd.resize(e,i),this.canvas.width=e,this.canvas.height=i},preUpdate:function(){this.dirty&&this.sprite&&(this.bmd.clear(),this.bmd.draw(this.canvas,0,0),this.context.clearRect(0,0,this.game.width,this.game.height),this.dirty=!1)},reset:function(){this.context&&this.context.clearRect(0,0,this.game.width,this.game.height),this.sprite&&this.bmd.clear()},start:function(t,e,i,s){"number"!=typeof t&&(t=0),"number"!=typeof e&&(e=0),i=i||"rgb(255,255,255)",void 0===s&&(s=0),this.currentX=t,this.currentY=e,this.currentColor=i,this.columnWidth=s,this.dirty=!0,this.context.save(),this.context.setTransform(1,0,0,1,0,0),this.context.strokeStyle=i,this.context.fillStyle=i,this.context.font=this.font,this.context.globalAlpha=this.currentAlpha},stop:function(){this.context.restore()},line:function(){for(var t=this.currentX,e=0;ee.width?s:o;if("viewport"===t)return this.visualBounds.height>this.visualBounds.width?s:o;if("window.orientation"===t&&"number"==typeof window.orientation)return 0===window.orientation||180===window.orientation?s:o;if(window.matchMedia){if(window.matchMedia("(orientation: portrait)").matches)return s;if(window.matchMedia("(orientation: landscape)").matches)return o}return this.visualBounds.height>this.visualBounds.width?s:o},visualBounds:new H.Rectangle,layoutBounds:new H.Rectangle,documentBounds:new H.Rectangle},H.Device.whenReady(function(t){var e=window&&"pageXOffset"in window?function(){return window.pageXOffset}:function(){return document.documentElement.scrollLeft},i=window&&"pageYOffset"in window?function(){return window.pageYOffset}:function(){return document.documentElement.scrollTop};if(Object.defineProperty(H.DOM,"scrollX",{get:e}),Object.defineProperty(H.DOM,"scrollY",{get:i}),Object.defineProperty(H.DOM.visualBounds,"x",{get:e}),Object.defineProperty(H.DOM.visualBounds,"y",{get:i}),Object.defineProperty(H.DOM.layoutBounds,"x",{value:0}),Object.defineProperty(H.DOM.layoutBounds,"y",{value:0}),t.desktop&&document.documentElement.clientWidth<=window.innerWidth&&document.documentElement.clientHeight<=window.innerHeight){var s=function(){return Math.max(window.innerWidth,document.documentElement.clientWidth)},o=function(){return Math.max(window.innerHeight,document.documentElement.clientHeight)};Object.defineProperty(H.DOM.visualBounds,"width",{get:s}),Object.defineProperty(H.DOM.visualBounds,"height",{get:o}),Object.defineProperty(H.DOM.layoutBounds,"width",{get:s}),Object.defineProperty(H.DOM.layoutBounds,"height",{get:o})}else Object.defineProperty(H.DOM.visualBounds,"width",{get:function(){return window.innerWidth}}),Object.defineProperty(H.DOM.visualBounds,"height",{get:function(){return window.innerHeight}}),Object.defineProperty(H.DOM.layoutBounds,"width",{get:function(){var t=document.documentElement.clientWidth,e=window.innerWidth;return t>>0:(t<<24|e<<16|i<<8|s)>>>0},unpackPixel:function(t,e,i,s){return null==e&&(e=H.Color.createColor()),null==i&&(i=!1),null==s&&(s=!1),H.Device.LITTLE_ENDIAN?(e.a=(4278190080&t)>>>24,e.b=(16711680&t)>>>16,e.g=(65280&t)>>>8,e.r=255&t):(e.r=(4278190080&t)>>>24,e.g=(16711680&t)>>>16,e.b=(65280&t)>>>8,e.a=255&t),e.color=t,e.rgba="rgba("+e.r+","+e.g+","+e.b+","+e.a/255+")",i&&H.Color.RGBtoHSL(e.r,e.g,e.b,e),s&&H.Color.RGBtoHSV(e.r,e.g,e.b,e),e},fromRGBA:function(t,e){return e||(e=H.Color.createColor()),e.r=(4278190080&t)>>>24,e.g=(16711680&t)>>>16,e.b=(65280&t)>>>8,e.a=255&t,e.rgba="rgba("+e.r+","+e.g+","+e.b+","+e.a+")",e},toRGBA:function(t,e,i,s){return t<<24|e<<16|i<<8|s},toABGR:function(t,e,i,s){return(s<<24|i<<16|e<<8|t)>>>0},RGBtoHSL:function(t,e,i,s){s||(s=H.Color.createColor(t,e,i,1)),t/=255,e/=255,i/=255;var o=Math.min(t,e,i),n=Math.max(t,e,i);if(s.h=0,s.s=0,s.l=(n+o)/2,n!==o){var a=n-o;s.s=.5>>24,red:t>>16&255,green:t>>8&255,blue:255&t,a:t>>>24,r:t>>16&255,g:t>>8&255,b:255&t}:{alpha:255,red:t>>16&255,green:t>>8&255,blue:255&t,a:255,r:t>>16&255,g:t>>8&255,b:255&t}},getWebRGB:function(t){if("object"==typeof t)return"rgba("+t.r.toString()+","+t.g.toString()+","+t.b.toString()+","+(t.a/255).toString()+")";var e=H.Color.getRGB(t);return"rgba("+e.r.toString()+","+e.g.toString()+","+e.b.toString()+","+(e.a/255).toString()+")"},getAlpha:function(t){return t>>>24},getAlphaFloat:function(t){return(t>>>24)/255},getRed:function(t){return t>>16&255},getGreen:function(t){return t>>8&255},getBlue:function(t){return 255&t},blendNormal:function(t){return t},blendLighten:function(t,e){return t>8)},blendExclusion:function(t,e){return t+e-2*t*e/255},blendOverlay:function(t,e){return e<128?2*t*e/255:255-2*(255-t)*(255-e)/255},blendSoftLight:function(t,e){return e<128?2*(64+(t>>1))*(e/255):255-2*(255-(64+(t>>1)))*(255-e)/255},blendHardLight:function(t,e){return H.Color.blendOverlay(e,t)},blendColorDodge:function(t,e){return 255===e?e:Math.min(255,(t<<8)/(255-e))},blendColorBurn:function(t,e){return 0===e?e:Math.max(0,255-(255-t<<8)/e)},blendLinearDodge:function(t,e){return H.Color.blendAdd(t,e)},blendLinearBurn:function(t,e){return H.Color.blendSubtract(t,e)},blendLinearLight:function(t,e){return e<128?H.Color.blendLinearBurn(t,2*e):H.Color.blendLinearDodge(t,2*(e-128))},blendVividLight:function(t,e){return e<128?H.Color.blendColorBurn(t,2*e):H.Color.blendColorDodge(t,2*(e-128))},blendPinLight:function(t,e){return e<128?H.Color.blendDarken(t,2*e):H.Color.blendLighten(t,2*(e-128))},blendHardMix:function(t,e){return H.Color.blendVividLight(t,e)<128?0:255},blendReflect:function(t,e){return 255===e?e:Math.min(255,t*t/(255-e))},blendGlow:function(t,e){return H.Color.blendReflect(e,t)},blendPhoenix:function(t,e){return Math.min(t,e)-Math.max(t,e)+255}},H.Physics=function(t,e){e=e||{},this.game=t,this.config=e,this.arcade=null,this.p2=null,this.ninja=null,this.box2d=null,this.chipmunk=null,this.matter=null,this.parseConfig()},H.Physics.ARCADE=0,H.Physics.P2JS=1,H.Physics.NINJA=2,H.Physics.BOX2D=3,H.Physics.CHIPMUNK=4,H.Physics.MATTERJS=5,H.Physics.prototype={parseConfig:function(){this.config.hasOwnProperty("arcade")&&!0!==this.config.arcade||!H.Physics.hasOwnProperty("Arcade")||(this.arcade=new H.Physics.Arcade(this.game)),this.config.hasOwnProperty("ninja")&&!0===this.config.ninja&&H.Physics.hasOwnProperty("Ninja")&&(this.ninja=new H.Physics.Ninja(this.game)),this.config.hasOwnProperty("p2")&&!0===this.config.p2&&H.Physics.hasOwnProperty("P2")&&(this.p2=new H.Physics.P2(this.game,this.config)),this.config.hasOwnProperty("box2d")&&!0===this.config.box2d&&H.Physics.hasOwnProperty("BOX2D")&&(this.box2d=new H.Physics.BOX2D(this.game,this.config)),this.config.hasOwnProperty("matter")&&!0===this.config.matter&&H.Physics.hasOwnProperty("Matter")&&(this.matter=new H.Physics.Matter(this.game,this.config))},startSystem:function(t){t===H.Physics.ARCADE?this.arcade=new H.Physics.Arcade(this.game):t===H.Physics.P2JS?null===this.p2?this.p2=new H.Physics.P2(this.game,this.config):this.p2.reset():t===H.Physics.NINJA?this.ninja=new H.Physics.Ninja(this.game):t===H.Physics.BOX2D?null===this.box2d?this.box2d=new H.Physics.Box2D(this.game,this.config):this.box2d.reset():t===H.Physics.MATTERJS&&(null===this.matter?this.matter=new H.Physics.Matter(this.game,this.config):this.matter.reset())},enable:function(t,e,i){void 0===e&&(e=H.Physics.ARCADE),void 0===i&&(i=!1),e===H.Physics.ARCADE?this.arcade.enable(t):e===H.Physics.P2JS&&this.p2?this.p2.enable(t,i):e===H.Physics.NINJA&&this.ninja?this.ninja.enableAABB(t):e===H.Physics.BOX2D&&this.box2d?this.box2d.enable(t):e===H.Physics.MATTERJS&&this.matter&&this.matter.enable(t)},preUpdate:function(){this.p2&&this.p2.preUpdate(),this.box2d&&this.box2d.preUpdate(),this.matter&&this.matter.preUpdate()},update:function(){this.p2&&this.p2.update(),this.box2d&&this.box2d.update(),this.matter&&this.matter.update()},setBoundsToWorld:function(){this.arcade&&this.arcade.setBoundsToWorld(),this.ninja&&this.ninja.setBoundsToWorld(),this.p2&&this.p2.setBoundsToWorld(),this.box2d&&this.box2d.setBoundsToWorld(),this.matter&&this.matter.setBoundsToWorld()},clear:function(){this.p2&&this.p2.clear(),this.box2d&&this.box2d.clear(),this.matter&&this.matter.clear()},reset:function(){this.p2&&this.p2.reset(),this.box2d&&this.box2d.reset(),this.matter&&this.matter.reset()},destroy:function(){this.p2&&this.p2.destroy(),this.box2d&&this.box2d.destroy(),this.matter&&this.matter.destroy(),this.arcade=null,this.ninja=null,this.p2=null,this.box2d=null,this.matter=null}},H.Physics.prototype.constructor=H.Physics,H.Physics.Arcade=function(t){this.game=t,this.gravity=new H.Point,this.bounds=new H.Rectangle(0,0,t.world.width,t.world.height),this.checkCollision={up:!0,down:!0,left:!0,right:!0},this.maxObjects=10,this.maxLevels=4,this.OVERLAP_BIAS=4,this.forceX=!1,this.sortDirection=H.Physics.Arcade.LEFT_RIGHT,this.skipQuadTree=!0,this.isPaused=!1,this.quadTree=new H.QuadTree(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this._total=0,this.setBoundsToWorld()},H.Physics.Arcade.prototype.constructor=H.Physics.Arcade,H.Physics.Arcade.SORT_NONE=0,H.Physics.Arcade.LEFT_RIGHT=1,H.Physics.Arcade.RIGHT_LEFT=2,H.Physics.Arcade.TOP_BOTTOM=3,H.Physics.Arcade.BOTTOM_TOP=4,H.Physics.Arcade.prototype={setBounds:function(t,e,i,s){this.bounds.setTo(t,e,i,s)},setBoundsToWorld:function(){this.bounds.copyFrom(this.game.world.bounds)},enable:function(t,e){void 0===e&&(e=!0);var i=1;if(Array.isArray(t))for(i=t.length;i--;)t[i]instanceof H.Group?this.enable(t[i].children,e):(this.enableBody(t[i]),e&&t[i].hasOwnProperty("children")&&0a.right)break;if(a.x>t.body.right)continue}else if(this.sortDirection===H.Physics.Arcade.TOP_BOTTOM){if(t.body.bottoma.bottom)break;if(a.y>t.body.bottom)continue}this.collideSpriteVsSprite(t,h,i,s,o,n)}}else{this.quadTree.clear(),this.quadTree.reset(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this.quadTree.populate(e);var l=this.quadTree.retrieve(t);for(r=0;rl.right)continue;if(l.x>a.right)break}else if(this.sortDirection===H.Physics.Arcade.TOP_BOTTOM){if(a.bottoml.bottom)continue;if(l.y>r.body.bottom)break}this.collideSpriteVsSprite(r,c,e,i,s,o)}}}}},collideGroupVsGroup:function(t,e,i,s,o,n){if(0!==t.length&&0!==e.length)for(var a=0;a=e.right)&&!(t.position.y>=e.bottom))))},circleBodyIntersects:function(t,e){var i=H.Math.clamp(t.center.x,e.left,e.right),s=H.Math.clamp(t.center.y,e.top,e.bottom);return(t.center.x-i)*(t.center.x-i)+(t.center.y-s)*(t.center.y-s)<=t.radius*t.radius},separateCircle:function(t,e,i){this.getOverlapX(t,e),this.getOverlapY(t,e);var s=e.center.x-t.center.x,o=e.center.y-t.center.y,n=Math.atan2(o,s),a=0;if(t.isCircle!==e.isCircle){var r={x:e.isCircle?t.position.x:e.position.x,y:e.isCircle?t.position.y:e.position.y,right:e.isCircle?t.right:e.right,bottom:e.isCircle?t.bottom:e.bottom},h={x:t.isCircle?t.position.x+t.radius:e.position.x+e.radius,y:t.isCircle?t.position.y+t.radius:e.position.y+e.radius,radius:t.isCircle?t.radius:e.radius};h.yt.velocity.x?t.velocity.x*=-1:e.velocity.x<0&&!e.immovable&&t.velocity.xt.velocity.y?t.velocity.y*=-1:e.velocity.y<0&&!e.immovable&&t.velocity.yMath.PI/2&&(t.velocity.x<0&&!t.immovable&&e.velocity.xe.velocity.x?e.velocity.x*=-1:t.velocity.y<0&&!t.immovable&&e.velocity.ye.velocity.y&&(e.velocity.y*=-1)),t.immovable||(t.x+=t.velocity.x*this.game.time.physicsElapsed-a*Math.cos(n),t.y+=t.velocity.y*this.game.time.physicsElapsed-a*Math.sin(n)),e.immovable||(e.x+=e.velocity.x*this.game.time.physicsElapsed+a*Math.cos(n),e.y+=e.velocity.y*this.game.time.physicsElapsed+a*Math.sin(n)),t.onCollide&&t.onCollide.dispatch(t.sprite,e.sprite),e.onCollide&&e.onCollide.dispatch(e.sprite,t.sprite),!0},getOverlapX:function(t,e,i){var s=0,o=t.deltaAbsX()+e.deltaAbsX()+this.OVERLAP_BIAS;return 0===t.deltaX()&&0===e.deltaX()?(t.embedded=!0,e.embedded=!0):t.deltaX()>e.deltaX()?o<(s=t.right-e.x)&&!i||!1===t.checkCollision.right||!1===e.checkCollision.left?s=0:(t.touching.none=!1,t.touching.right=!0,e.touching.none=!1,e.touching.left=!0):t.deltaX()e.deltaY()?o<(s=t.bottom-e.y)&&!i||!1===t.checkCollision.down||!1===e.checkCollision.up?s=0:(t.touching.none=!1,t.touching.down=!0,e.touching.none=!1,e.touching.up=!0):t.deltaY()this.deltaMax.x&&(this._dx=this.deltaMax.x)),0!==this.deltaMax.y&&0!==this._dy&&(this._dy<0&&this._dy<-this.deltaMax.y?this._dy=-this.deltaMax.y:0this.deltaMax.y&&(this._dy=this.deltaMax.y)),this.sprite.position.x+=this._dx,this.sprite.position.y+=this._dy,this._reset=!0),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight),this.allowRotation&&(this.sprite.angle+=this.deltaZ()),this.prev.x=this.position.x,this.prev.y=this.position.y)},checkWorldBounds:function(){var t=this.position,e=this.game.physics.arcade.bounds,i=this.game.physics.arcade.checkCollision,s=this.worldBounce?-this.worldBounce.x:-this.bounce.x,o=this.worldBounce?-this.worldBounce.y:-this.bounce.y;if(this.isCircle){var n=this.center.x-this.radius,a=this.center.y-this.radius,r=this.center.x+this.radius,h=this.center.y+this.radius;ne.right&&i.right&&(t.x=e.right-this.halfWidth-this.radius,this.velocity.x*=s,this.blocked.right=!0),ae.bottom&&i.down&&(t.y=e.bottom-this.halfHeight-this.radius,this.velocity.y*=o,this.blocked.down=!0)}else t.xe.right&&i.right&&(t.x=e.right-this.width,this.velocity.x*=s,this.blocked.right=!0),t.ye.bottom&&i.down&&(t.y=e.bottom-this.height,this.velocity.y*=o,this.blocked.down=!0);return this.blocked.up||this.blocked.down||this.blocked.left||this.blocked.right},moveFrom:function(t,e,i){return void 0===e&&(e=this.speed),0!==e&&(void 0===i?(s=this.angle,i=this.game.math.radToDeg(s)):s=this.game.math.degToRad(i),this.moveTimer=0,this.moveDuration=t,0===i||180===i?this.velocity.set(Math.cos(s)*e,0):90===i||270===i?this.velocity.set(0,Math.sin(s)*e):this.velocity.set(Math.cos(s)*e,Math.sin(s)*e),this.isMoving=!0);var s},moveTo:function(t,e,i){var s,o=e/(t/1e3);return 0!==o&&(void 0===i?(s=this.angle,i=this.game.math.radToDeg(s)):s=this.game.math.degToRad(i),e=Math.abs(e),this.moveDuration=0,this.moveDistance=e,null===this.moveTarget&&(this.moveTarget=new H.Line,this.moveEnd=new H.Point),this.moveTarget.fromAngle(this.x,this.y,s,e),this.moveEnd.set(this.moveTarget.end.x,this.moveTarget.end.y),this.moveTarget.setTo(this.x,this.y,this.x,this.y),0===i||180===i?this.velocity.set(Math.cos(s)*o,0):90===i||270===i?this.velocity.set(0,Math.sin(s)*o):this.velocity.set(Math.cos(s)*o,Math.sin(s)*o),this.isMoving=!0)},setSize:function(t,e,i,s){void 0===i&&(i=this.offset.x),void 0===s&&(s=this.offset.y),this.sourceWidth=t,this.sourceHeight=e,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.offset.setTo(i,s),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight),this.isCircle=!1,this.radius=0},setCircle:function(t,e,i){void 0===e&&(e=this.offset.x),void 0===i&&(i=this.offset.y),0e.deltaAbsY()?l=-1:e.deltaAbsX()e.left&&(s=t.right-o-e.left)>this.TILE_BIAS&&(s=0),0!==s&&(t.customSeparateX?t.overlapX=s:this.processTileSeparationX(t,s)),s},tileCheckY:function(t,e,i){var s=0,o=i.fixedToCamera?0:i.position.y;return t.deltaY()<0&&!t.blocked.up&&e.collideDown&&t.checkCollision.up?e.faceBottom&&t.y-oe.top&&(s=t.bottom-o-e.top)>this.TILE_BIAS&&(s=0),0!==s&&(t.customSeparateY?t.overlapY=s:this.processTileSeparationY(t,s)),s},processTileSeparationX:function(t,e){e<0?t.blocked.left=!0:0=this.firstgid&&tthis.right||e>this.bottom)},intersects:function(t,e,i,s){return!(i<=this.worldX)&&(!(s<=this.worldY)&&(!(t>=this.worldX+this.width)&&!(e>=this.worldY+this.height)))},setCollisionCallback:function(t,e){this.collisionCallback=t,this.collisionCallbackContext=e},destroy:function(){this.collisionCallback=null,this.collisionCallbackContext=null,this.properties=null},setCollision:function(t,e,i,s){this.collideLeft=t,this.collideRight=e,this.collideUp=i,this.collideDown=s,this.faceLeft=t,this.faceRight=e,this.faceTop=i,this.faceBottom=s},resetCollision:function(){this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1,this.faceTop=!1,this.faceBottom=!1,this.faceLeft=!1,this.faceRight=!1},isInteresting:function(t,e){return t&&e?this.collideLeft||this.collideRight||this.collideUp||this.collideDown||this.faceTop||this.faceBottom||this.faceLeft||this.faceRight||this.collisionCallback:t?this.collideLeft||this.collideRight||this.collideUp||this.collideDown:!!e&&(this.faceTop||this.faceBottom||this.faceLeft||this.faceRight)},copy:function(t){this.index=t.index,this.alpha=t.alpha,this.properties=t.properties,this.collideUp=t.collideUp,this.collideDown=t.collideDown,this.collideLeft=t.collideLeft,this.collideRight=t.collideRight,this.collisionCallback=t.collisionCallback,this.collisionCallbackContext=t.collisionCallbackContext}},H.Tile.prototype.constructor=H.Tile,Object.defineProperty(H.Tile.prototype,"collides",{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown}}),Object.defineProperty(H.Tile.prototype,"canCollide",{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown||this.collisionCallback}}),Object.defineProperty(H.Tile.prototype,"left",{get:function(){return this.worldX}}),Object.defineProperty(H.Tile.prototype,"right",{get:function(){return this.worldX+this.width}}),Object.defineProperty(H.Tile.prototype,"top",{get:function(){return this.worldY}}),Object.defineProperty(H.Tile.prototype,"bottom",{get:function(){return this.worldY+this.height}}),H.Tilemap=function(t,e,i,s,o,n){this.game=t,this.key=e;var a=H.TilemapParser.parse(this.game,e,i,s,o,n);null!==a&&(this.width=a.width,this.height=a.height,this.tileWidth=a.tileWidth,this.tileHeight=a.tileHeight,this.orientation=a.orientation,this.format=a.format,this.version=a.version,this.properties=a.properties,this.widthInPixels=a.widthInPixels,this.heightInPixels=a.heightInPixels,this.layers=a.layers,this.tilesets=a.tilesets,this.imagecollections=a.imagecollections,this.tiles=a.tiles,this.objects=a.objects,this.collideIndexes=[],this.collision=a.collision,this.images=a.images,this.enableDebug=!1,this.currentLayer=0,this.debugMap=[],this._results=[],this._tempA=0,this._tempB=0)},H.Tilemap.CSV=0,H.Tilemap.TILED_JSON=1,H.Tilemap.NORTH=0,H.Tilemap.EAST=1,H.Tilemap.SOUTH=2,H.Tilemap.WEST=3,H.Tilemap.prototype={create:function(t,e,i,s,o,n){return void 0===n&&(n=this.game.world),this.width=e,this.height=i,this.setTileSize(s,o),this.layers.length=0,this.createBlankLayer(t,e,i,s,o,n)},setTileSize:function(t,e){this.tileWidth=t,this.tileHeight=e,this.widthInPixels=this.width*t,this.heightInPixels=this.height*e},addTilesetImage:function(t,e,i,s,o,n,a){if(void 0===t)return null;void 0===i&&(i=this.tileWidth),void 0===s&&(s=this.tileHeight),void 0===o&&(o=0),void 0===n&&(n=0),void 0===a&&(a=0),0===i&&(i=32),0===s&&(s=32);var r=null;if(null==e&&(e=t),e instanceof H.BitmapData)r=e.canvas;else{if(!this.game.cache.checkImageKey(e))return null;r=this.game.cache.getImage(e)}var h=this.getTilesetIndex(t);if(null===h&&this.format===H.Tilemap.TILED_JSON)return null;if(this.tilesets[h])return this.tilesets[h].setImage(r),this.tilesets[h];var l=new H.Tileset(t,a,i,s,o,n,{});l.setImage(r),this.tilesets.push(l);for(var c=this.tilesets.length-1,p=o,u=o,d=0,y=0,g=0,f=a;fthis.layers.length)){void 0===e||e<=0?e=Math.min(this.game.width,this.layers[o].widthInPixels):e>this.game.width&&(e=this.game.width),void 0===i||i<=0?i=Math.min(this.game.height,this.layers[o].heightInPixels):i>this.game.height&&(i=this.game.height),this.enableDebug;var n=s.add(new H.TilemapLayer(this.game,this,o,e,i));return this.enableDebug,n}},createBlankLayer:function(t,e,i,s,o,n){if(void 0===n&&(n=this.game.world),null===this.getLayerIndex(t)){for(var a,r={name:t,x:0,y:0,width:e,height:i,widthInPixels:e*s,heightInPixels:i*o,alpha:1,visible:!0,properties:{},indexes:[],callbacks:[],bodies:[],data:null},h=[],l=0;lthis.game.width&&(p=this.game.width),u>this.game.height&&(u=this.game.height),(h=new H.TilemapLayer(this.game,this,this.layers.length-1,p,u)).name=t,n.add(h)}},getIndex:function(t,e){for(var i=0;ithis.layers[o].width&&(i=this.layers[o].width),s>this.layers[o].height&&(s=this.layers[o].height),this._results.length=0,this._results.push({x:t,y:e,width:i,height:s,layer:o});for(var n=e;n>>0;o.data=r,delete o.encoding}else if(o.compression)continue;var l={name:o.name,x:o.x,y:o.y,width:o.width,height:o.height,widthInPixels:o.width*t.tilewidth,heightInPixels:o.height*t.tileheight,alpha:o.opacity,visible:o.visible,properties:{},indexes:[],callbacks:[],bodies:[]};o.properties&&(l.properties=o.properties);var c,p,u,d=0,y=[],g=[],f=0;for(a=o.data.length;f=this.firstgid&&t=this._timer)if(this._timer=this.game.time.time+this.frequency*this.game.time.slowMotion,0!==this._flowTotal)if(0=this._flowTotal)){this.on=!1;break}}else this.emitParticle()&&(this._counter++,-1!==this._flowTotal&&this._counter>=this._flowTotal&&(this.on=!1));else this.emitParticle()&&(this._counter++,0=this._quantity&&(this.on=!1));for(t=this.children.length;t--;)this.children[t].exists&&this.children[t].update()},H.Particles.Arcade.Emitter.prototype.makeParticles=function(t,e,i,s,o){var n;void 0===e&&(e=0),void 0===i&&(i=this.maxParticles),void 0===s&&(s=!1),void 0===o&&(o=!1);var a=0,r=t,h=e;for(this._frames=e,i>this.maxParticles&&(this.maxParticles=i);athis.maxParticles&&(i=this.maxParticles),this._counter=0,this._flowQuantity=i,this._flowTotal=s,o?(this.start(!0,t,e,i),this._counter+=i,this.on=!0,this._timer=this.game.time.time+e*this.game.time.slowMotion):this.start(!1,t,e,i),this},H.Particles.Arcade.Emitter.prototype.start=function(t,e,i,s,o){if(void 0===t&&(t=!0),void 0===e&&(e=0),null==i&&(i=250),void 0===s&&(s=0),void 0===o&&(o=!1),s>this.maxParticles&&(s=this.maxParticles),this.revive(),this.visible=!0,this.lifespan=e,this.frequency=i,t||o)for(var n=0;n=this.bulletFrames.length&&(this.bulletFrameIndex=0)):this.bulletFrameRandom&&(l.frame=this.bulletFrames[Math.floor(Math.random()*this.bulletFrames.length)]);if(l.data.bodyDirty&&(this._data.customBody&&l.body.setSize(this._data.width,this._data.height,this._data.offsetX,this._data.offsetY),l.body.collideWorldBounds=this.bulletCollideWorldBounds,l.data.bodyDirty=!1),l.body.velocity.set(r,h),l.body.gravity.set(this.bulletGravity.x,this.bulletGravity.y),0!==this.bulletSpeedVariance){var p=this.fireRate;(p+=H.Math.between(-this.fireRateVariance,this.fireRateVariance))<0&&(p=0),this._nextFire=this.game.time.now+p}else this._nextFire=this.game.time.now+this.fireRate;this.shots++,this.onFire.dispatch(l,this,s),0H.Weapon.KILL_LIFESPAN&&(this.data.killType===H.Weapon.KILL_DISTANCE?this.game.physics.arcade.distanceToXY(this,this.data.fromX,this.data.fromY,!0)>this.data.killDistance&&this.kill():this.data.bulletManager.bulletBounds.intersects(this)||this.kill()),this.data.rotateToVelocity&&(this.rotation=Math.atan2(this.body.velocity.y,this.body.velocity.x)),this.data.bulletManager.bulletWorldWrap&&this.game.world.wrap(this,this.data.bulletManager.bulletWorldWrapPadding))},H.Video=function(t,e,i){if(void 0===e&&(e=null),void 0===i&&(i=null),this.game=t,this.key=e,this.width=0,this.height=0,this.type=H.VIDEO,this.disableTextureUpload=!1,this.touchLocked=!1,this.onPlay=new H.Signal,this.onChangeSource=new H.Signal,this.onComplete=new H.Signal,this.onAccess=new H.Signal,this.onError=new H.Signal,this.onTimeout=new H.Signal,this.timeout=15e3,this._timeOutID=null,this.video=null,this.videoStream=null,this.isStreaming=!1,this.retryLimit=20,this.retry=0,this.retryInterval=500,this._retryID=null,this._codeMuted=!1,this._muted=!1,this._codePaused=!1,this._paused=!1,this._pending=!1,this._autoplay=!1,this._endCallback=null,this._playCallback=null,e&&this.game.cache.checkVideoKey(e)){var s=this.game.cache.getVideo(e);s.isBlob?this.createVideoFromBlob(s.data):this.video=s.data,this.width=this.video.videoWidth,this.height=this.video.videoHeight}else i&&this.createVideoFromURL(i,!1);this.video&&!i?this.baseTexture=new PIXI.BaseTexture(this.video):this.baseTexture=new PIXI.BaseTexture(H.Cache.DEFAULT.baseTexture.source),this.baseTexture.forceLoaded(this.width,this.height),this.texture=new PIXI.Texture(this.baseTexture),this.textureFrame=new H.Frame(0,0,0,this.width,this.height,"video"),this.texture.setFrame(this.textureFrame),this.texture.valid=!1,null!==e&&this.video&&(this.texture.valid=this.video.canplay),this.snapshot=null,H.BitmapData&&(this.snapshot=new H.BitmapData(this.game,"",this.width,this.height)),!this.game.device.cocoonJS&&(this.game.device.iOS||this.game.device.chrome)||window.PhaserGlobal&&window.PhaserGlobal.fakeiOSTouchLock?this.setTouchLock():s&&(s.locked=!1)},H.Video.prototype={connectToMediaStream:function(t,e){return t&&e&&(this.video=t,this.videoStream=e,this.isStreaming=!0,this.baseTexture.source=this.video,this.updateTexture(null,this.video.videoWidth,this.video.videoHeight),this.onAccess.dispatch(this)),this},startMediaStream:function(t,e,i){if(void 0===t&&(t=!1),void 0===e&&(e=null),void 0===i&&(i=null),!this.game.device.getUserMedia)return this.onError.dispatch(this,"No getUserMedia"),!1;null!==this.videoStream&&(this.videoStream.active?this.videoStream.active=!1:this.videoStream.stop()),this.removeVideoElement(),this.video=document.createElement("video"),this.video.setAttribute("autoplay","autoplay"),null!==e&&(this.video.width=e),null!==i&&(this.video.height=i),this._timeOutID=window.setTimeout(this.getUserMediaTimeout.bind(this),this.timeout);try{navigator.getUserMedia({audio:t,video:!0},this.getUserMediaSuccess.bind(this),this.getUserMediaError.bind(this))}catch(t){this.getUserMediaError(t)}return this},getUserMediaTimeout:function(){clearTimeout(this._timeOutID),this.onTimeout.dispatch(this)},getUserMediaError:function(t){clearTimeout(this._timeOutID),this.onError.dispatch(this,t)},getUserMediaSuccess:function(t){clearTimeout(this._timeOutID),this.videoStream=t,void 0!==this.video.mozSrcObject?this.video.mozSrcObject=t:this.video.src=window.URL&&window.URL.createObjectURL(t)||t;var o=this;this.video.onloadeddata=function(){var s=10;!function t(){if(0=n.f?s():o.fonts.load((t=n.a,P(t)+" "+t.f+"00 300px "+b(t.c)),n.h).then(function(t){1<=t.length?i():setTimeout(e,25)},function(){s()})}()}),i=null,e=new Promise(function(t,e){i=setTimeout(e,n.f)});Promise.race([e,t]).then(function(){i&&(clearTimeout(i),i=null),n.g(n.a)},function(){n.j(n.a)})};var O={D:"serif",C:"sans-serif"},M=null;function L(){if(null===M){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);M=!!t&&(parseInt(t[1],10)<536||536===parseInt(t[1],10)&&parseInt(t[2],10)<=11)}return M}function D(t,e,i){for(var s in O)if(O.hasOwnProperty(s)&&e===t.f[O[s]]&&i===t.f[O[s]])return!0;return!1}function R(t){var e,i=t.g.a.offsetWidth,s=t.h.a.offsetWidth;(e=i===t.f.serif&&s===t.f["sans-serif"])||(e=L()&&D(t,i,s)),e?r()-t.A>=t.w?L()&&D(t,i,s)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?F(t,t.v):F(t,t.B):setTimeout(y(function(){R(this)},t),50):F(t,t.v)}function F(t,e){setTimeout(y(function(){i(this.g.a),i(this.h.a),i(this.j.a),i(this.m.a),e(this.a)},t),0)}function G(t,e,i){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=i}I.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=r(),R(this)};var U=null;function N(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&g(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),T(t,"active")):S(t.a))}function t(t){this.j=t,this.a=new k,this.h=0,this.f=this.g=!0}function V(t,e){this.c=t,this.a=e}function H(t,e){this.c=t,this.a=e}function z(t,e){this.c=t||"https://fonts.googleapis.com/css",this.a=[],this.f=[],this.g=e||""}G.prototype.g=function(t){var e=this.a;e.g&&g(e.f,[e.a.c("wf",t.c,w(t).toString(),"active")],[e.a.c("wf",t.c,w(t).toString(),"loading"),e.a.c("wf",t.c,w(t).toString(),"inactive")]),T(e,"fontactive",t),this.m=!0,N(this)},G.prototype.h=function(t){var e=this.a;if(e.g){var i=n(e.f,e.a.c("wf",t.c,w(t).toString(),"active")),s=[],o=[e.a.c("wf",t.c,w(t).toString(),"loading")];i||s.push(e.a.c("wf",t.c,w(t).toString(),"inactive")),g(e.f,s,o)}T(e,"fontinactive",t),N(this)},t.prototype.load=function(t){this.c=new e(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(o,t,e){var i=[],s=e.timeout;n=t,n.g&&g(n.f,[n.a.c("wf","loading")]),T(n,"loading");var n;var i=function(t,e,i){var s,o=[];for(s in e)if(e.hasOwnProperty(s)){var n=t.c[s];n&&o.push(n(e[s],i))}return o}(o.a,e,o.c),a=new G(o.c,t,s);for(o.h=i.length,t=0,e=i.length;tr[1]||r[0]>a[1]?(m.push(t),u.push(a),u.push(r),!0):(n&&(a[0]r[1]?(i=a[0]-r[1],n.aInB=!1):i=(i=a[1]-r[0])<(s=r[1]-a[0])?i:-s),(s=Math.abs(i))n&&(i.aInB=!1);var g=f(h,l);if(-1===g){if(h.c(t.edges[u]),1===(g=f(h,p=m.pop().c(s).sub(a[u])))){if(o<(g=l.j()))return m.push(s),m.push(h),m.push(l),m.push(p),!1;i&&(i.bInA=!1,y=l.normalize(),d=o-g)}m.push(p)}else if(1===g){if(h.c(t.edges[p]),l.c(s).sub(a[p]),-1===(g=f(h,l))){if(o<(g=l.j()))return m.push(s),m.push(h),m.push(l),!1;i&&(i.bInA=!1,y=l.normalize(),d=o-g)}}else{if(p=h.m().normalize(),g=l.f(p),u=Math.abs(g),0o&&(o=r.x),r.yn&&(n=r.y)}return new l(this.pos.clone().add(new h(i,s)),o-i,n-s).l()},(i.Box=l).prototype.toPolygon=l.prototype.l=function(){var t=this.pos,e=this.w,i=this.h;return new s(new h(t.x,t.y),[new h,new h(e,0),new h(e,i),new h(0,i)])},(i.Response=e).prototype.clear=e.prototype.clear=function(){return this.bInA=this.aInB=!0,this.overlap=Number.MAX_VALUE,this};for(var m=[],a=0;a<10;a++)m.push(new h);var u=[];for(a=0;a<5;a++)u.push([]);var r=new e,d=new l(new h,1e-6,1e-6).l();return i.isSeparatingAxis=p,i.pointInCircle=function(t,e){var i=m.pop().c(t).sub(e.pos),s=e.r*e.r,o=i.g();return m.push(i),o<=s},i.pointInPolygon=function(t,e){d.pos.c(t),r.clear();var i=n(d,e,r);return i&&(i=r.aInB),i},i.testCircleCircle=function(t,e,i){var s=m.pop().c(e.pos).sub(t.pos),o=t.r+e.r,n=s.g();return o*o>0,0!==this._cycle&&this._cycle===this._totalTime/a&&y<=t&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=f-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof Ease?p:Ease.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,this.vars.easeParams):Ease.map[p]||v.defaultEase:v.defaultEase)),this.ratio=p?1-p.getRatio((f-this._time)/f):0)),this._time>f?this._time=f:this._time<0&&(this._time=0)),this._easeType&&!p?(r=this._time/f,(1===(h=this._easeType)||3===h&&.5<=r)&&(r=1-r),3===h&&(r*=2),1===(l=this._easePower)?r*=r:2===l?r*=r*r:3===l?r*=r*r*r:4===l&&(r*=r*r*r*r),1===h?this.ratio=1-r:2===h?this.ratio=r:this._time/f<.5?this.ratio=r/2:this.ratio=1-r/2):p||(this.ratio=this._ease.getRatio(this._time/f))),d!==this._time||i||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=d,this._totalTime=y,this._rawPrevTime=m,this._cycle=g,w.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||s||p?s&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/f)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==d&&0<=t&&(this._active=!0),0===y&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.duration=function(t){return arguments.length?s.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},x},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(c,p,u){var d=function(t){p.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,s=this.vars;for(i in s)e=s[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(e));g(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},t=u._internals,e=d._internals={},y=t.isSelector,g=t.isArray,f=t.lazyTweens,m=t.lazyRender,a=_gsScope._gsDefine.globals,v=function(t){var e,i={};for(e in t)i[e]=t[e];return i},x=function(t,e,i){var s,o,n=t.cycle;for(s in n)o=n[s],t[s]="function"==typeof o?o(i,e[i]):o[i%o.length];delete t.cycle},n=e.pauseCallback=function(){},b=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},i=d.prototype=new p;return d.version="1.20.4",i.constructor=d,i.kill()._gc=i._forcingPlayhead=i._hasPause=!1,i.to=function(t,e,i,s){var o=i.repeat&&a.TweenMax||u;return e?this.add(new o(t,e,i),s):this.set(t,i,s)},i.from=function(t,e,i,s){return this.add((i.repeat&&a.TweenMax||u).from(t,e,i),s)},i.fromTo=function(t,e,i,s,o){var n=s.repeat&&a.TweenMax||u;return e?this.add(n.fromTo(t,e,i,s),o):this.set(t,s,o)},i.staggerTo=function(t,e,i,s,o,n,a,r){var h,l,c=new d({onComplete:n,onCompleteParams:a,callbackScope:r,smoothChildTiming:this.smoothChildTiming}),p=i.cycle;for("string"==typeof t&&(t=u.selector(t)||t),y(t=t||[])&&(t=b(t)),(s=s||0)<0&&((t=b(t)).reverse(),s*=-1),l=0;lt._startTime;h._timeline;)l&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},i.remove=function(t){if(t instanceof c){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?c._rootFramesTimeline:c._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&g(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){return p.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},i.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,s){var o=u.delayedCall(0,n,i,s||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,s){var o,n;if(s instanceof c&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&g(s)))for(n=s.length;-1<--n;)s[n]instanceof c&&s[n].timeline===this&&this.remove(s[n]);if(o="number"!=typeof t||e?99999999999=t&&!h;)s._duration||"isPause"===s.data&&0this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause()}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=n}this._onUpdate&&(e||(f.length&&m(),this._callback("onUpdate"))),a&&(this._gc||u!==this._startTime&&d===this._timeScale||(0===this._time||p>=this.totalDuration())&&(o&&(f.length&&m(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,s){s=s||-9999999999;for(var o=[],n=this._first,a=0;n;)n._startTime=i&&(o._startTime+=t),o=o._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,o=!1;-1<--s;)i[s]._kill(t,e)&&(o=!0);return o},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return c.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return p.prototype._enabled.call(this,t,e)},i.totalTime=function(t,e,i){this._forcingPlayhead=!0;var s=c.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,i,s=0,o=this._last,n=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>n&&this._sortChildren&&!o._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(o,o._startTime-o._delay),this._calculatingDuration=0):n=o._startTime,o._startTime<0&&!o._paused&&(s-=o._startTime,this._timeline.smoothChildTiming&&(this._startTime+=o._startTime/this._timeScale,this._time-=o._startTime,this._totalTime-=o._startTime,this._rawPrevTime-=o._startTime),this.shiftChildren(-o._startTime,!1,-9999999999),n=0),s<(i=o._startTime+o._totalDuration/o._timeScale)&&(s=i),o=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration},i.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return c.prototype.paused.apply(this,arguments)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===c._rootFramesTimeline},i.rawTime=function(t){return t&&(this._paused||this._repeat&&0>0,0!==this._cycle&&this._cycle===this._totalTime/h&&y<=t&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time),this._time>d?t=(this._time=d)+1e-4:this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(p<=(t=this._time)||this._repeat&&x!==this._cycle)for(s=this._first;s&&s._startTime<=t&&!l;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(l=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!l;)s._duration||"isPause"===s.data&&0this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause()}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=n}this._onUpdate&&(e||(k.length&&A(),this._callback("onUpdate"))),a&&(this._locked||this._gc||g!==this._startTime&&f===this._timeScale||(0===this._time||u>=this.totalDuration())&&(o&&(k.length&&A(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}else y!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},o.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var s,o,n=[],a=this.getChildren(t,e,i),r=0,h=a.length;for(s=0;st)return i[e].name;return null},o.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},o.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},o.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},o.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),_=180/Math.PI,w=[],P=[],S=[],m={},i=_gsScope._gsDefine.globals,v=function(t,e,i,s){i===s&&(i=s-(s-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t},T=function(t,e,i,s){var o={a:t},n={},a={},r={c:s},h=(t+e)/2,l=(e+i)/2,c=(i+s)/2,p=(h+l)/2,u=(l+c)/2,d=(u-p)/8;return o.b=h+(t-h)/4,n.b=p+d,o.c=n.a=(o.b+n.b)/2,n.c=a.a=(p+u)/2,a.b=u-d,r.b=c+(s-c)/4,a.c=r.a=(a.b+r.b)/2,[o,n,a,r]},x=function(t,e,i,s,o){var n,a,r,h,l,c,p,u,d,y,g,f,m,v=t.length-1,x=0,b=t[0].a;for(n=0;n>0||6)-1,p=[],u=[];for(i in t)y(t[i],a,e);for(o=a.length,s=0;s>0]=u,r[n]=l,h=0,u=[]);return{length:l,lengths:r,segments:p}}(this._beziers,this._timeRes);this._length=u.length,this._lengths=u.lengths,this._segments=u.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),n=p.length;-1<--n;){for(a=0;a<3;a++)s=p[n][a],this._func[s]="function"==typeof t[s]&&t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)];s=p[n][2],this._initialRotations[n]=(this._func[s]?this._func[s].call(this._target):this._target[s])||0,this._overwriteProps.push(s)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,s,o,n,a,r,h,l,c,p=this._segCount,u=this._func,d=this._target,y=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,c=this._curSeg,t*=this._length,s=this._li,t>this._l2&&s=t;);0===s&&tthis._s2&&s=t;);0===s&&t>0)*(1/p))*p;for(i=1-a,s=this._props.length;-1<--s;)o=this._props[s],r=(a*a*(n=this._beziers[o][e]).da+3*i*(a*n.ca+i*n.ba))*a+n.a,this._mod[o]&&(r=this._mod[o](r,d)),u[o]?d[o](r):d[o]=r;if(this._autoRotate){var g,f,m,v,x,b,w,P=this._autoRotate;for(s=P.length;-1<--s;)o=P[s][2],b=P[s][3]||0,w=!0===P[s][4]?1:_,n=this._beziers[P[s][0]],g=this._beziers[P[s][1]],n&&g&&(n=n[e],g=g[e],f=n.a+(n.b-n.a)*a,f+=((v=n.b+(n.c-n.b)*a)-f)*a,v+=(n.c+(n.d-n.c)*a-v)*a,m=g.a+(g.b-g.a)*a,m+=((x=g.b+(g.c-g.b)*a)-m)*a,x+=(g.c+(g.d-g.c)*a-x)*a,r=y?Math.atan2(x-m,v-f)*w+b:this._initialRotations[s],this._mod[o]&&(r=this._mod[o](r,d)),u[o]?d[o](r):d[o]=r)}}}),t=f.prototype,f.bezierThrough=d,f.cubicToQuadratic=T,f._autoCSS=!0,f.quadraticToCubic=function(t,e,i){return new v(t,(2*e+t)/3,(2*e+i)/3,i)},f._cssRegister=function(){var t=i.CSSPlugin;if(t){var e=t._internals,d=e._parseToProxy,y=e._setPluginRatio,g=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,i,s,o,n){e instanceof Array&&(e={values:e}),n=new f;var a,r,h,l=e.values,c=l.length-1,p=[],u={};if(c<0)return o;for(a=0;a<=c;a++)h=d(t,l[a],s,o,n,c!==a),p[a]=h.end;for(r in e)u[r]=e[r];return u.values=p,(o=new g(t,"bezier",0,0,h.pt,2)).data=h,o.plugin=n,o.setRatio=y,0===u.autoRotate&&(u.autoRotate=!0),!u.autoRotate||u.autoRotate instanceof Array||(a=!0===u.autoRotate?0:Number(u.autoRotate),u.autoRotate=null!=h.end.left?[["left","top","rotation",a,!1]]:null!=h.end.x&&[["x","y","rotation",a,!1]]),u.autoRotate&&(s._transform||s._enableTransforms(!1),h.autoRotate=s._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,s._overwriteProps.push("rotation")),n._onInitTween(h.proxy,u,s._tween),o}})}},t._mod=function(t){for(var e,i=this._overwriteProps,s=i.length;-1<--s;)(e=t[i[s]])&&"function"==typeof e&&(this._mod[i[s]]=e)},t._kill=function(t){var e,i,s=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=s.length;-1<--i;)s[i]===e&&s.splice(i,1);if(s=this._autoRotate)for(i=s.length;-1<--i;)t[s[i][2]]&&s.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,N){var y,S,k,g,V=function(){n.call(this,"css"),this._overwriteProps.length=0,this.setRatio=V.prototype.setRatio},l=_gsScope._gsDefine.globals,f={},t=V.prototype=new n("css");(t.constructor=V).version="1.20.5",V.API=2,V.defaultTransformPerspective=0,V.defaultSkewType="compensated",V.defaultSmoothOrigin=!0,t="px",V.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var A,m,v,F,x,T,B,C,e,i,E=/(?:\-|\.|\b)(\d|\.|e\-)+/g,I=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,c=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,O=/(?:\d|\-|\+|=|#|\.)*/g,M=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,a=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,r=/([A-Z])/g,h=/-([a-z])/gi,_=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,p=function(t,e){return e.toUpperCase()},d=/(?:Left|Right|Width)/i,u=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,R=/[\s,\(]/i,G=Math.PI/180,H=180/Math.PI,U={},s={style:{}},z=_gsScope.document||{createElement:function(){return s}},X=function(t,e){return z.createElementNS?z.createElementNS(e||"http://www.w3.org/1999/xhtml",t):z.createElement(t)},j=X("div"),W=X("img"),o=V._internals={_specialProps:f},q=(_gsScope.navigator||{}).userAgent||"",Y=(e=q.indexOf("Android"),i=X("a"),v=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===e||3>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),dt[t])i=dt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(s=t.charAt(1))+s+(o=t.charAt(2))+o+(n=t.charAt(3))+n),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=u=t.match(E),e){if(-1!==t.indexOf("="))return t.match(I)}else a=Number(i[0])%360/360,r=Number(i[1])/100,s=2*(h=Number(i[2])/100)-(o=h<=.5?h*(r+1):h+r-h*r),3s--)for(;++ss--)for(;++s>0];return s.parse(t,a,o,n)}},bt=(o._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,o,n,a=this.data,r=a.proxy,h=a.firstMPT;h;)e=r[h.v],h.r?e=h.r(e):e<1e-6&&-1e-6r.length?h.length:r.length,a=0;an.pr;)a=a._next;(n._prev=a?a._prev:h)?n._prev._next=n:r=n,(n._next=a)?a._prev=n:h=n,n=l}this._firstPT=r}return!0},t.parse=function(t,e,i,s){var o,n,a,r,h,l,c,p,u,d,y=t.style;for(o in e){if("function"==typeof(l=e[o])&&(l=l(C,B)),n=f[o])i=n.parse(t,l,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",l+"",o,!1,o);continue}h=et(t,o,k)+"",u="string"==typeof l,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||u&&P.test(l)?(u||(l=(3<(l=gt(l)).length?"rgba(":"rgb(")+l.join(",")+")"),i=_t(y,o,h,l,!0,"transparent",i,0,s)):u&&R.test(l)?i=_t(y,o,h,l,!0,null,i,0,s):(c=(a=parseFloat(h))||0===a?h.substr((a+"").length):"",""!==h&&"auto"!==h||(c="width"===o||"height"===o?(a=ht(t,o,k),"px"):"left"===o||"top"===o?(a=st(t,o,k),"px"):(a="opacity"!==o?0:1,"")),""===(p=(d=u&&"="===l.charAt(1))?(r=parseInt(l.charAt(0)+"1",10),l=l.substr(2),r*=parseFloat(l),l.replace(O,"")):(r=parseFloat(l),u?l.replace(O,""):""))&&(p=o in S?S[o]:c),l=r||0===r?(d?r+a:r)+p:e[o],c!==p&&(""===p&&"lineHeight"!==o||(r||0===r)&&a&&(a=it(t,o,a,c),"%"===p?(a/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(h=a+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?a/=it(t,o,1,p):"px"!==p&&(r=it(t,o,r,p),p="px"),d&&(r||0===r)&&(l=r+a+p))),d&&(r+=a),!a&&0!==a||!r&&0!==r?void 0!==y[o]&&(l||l+""!="NaN"&&null!=l)?(i=new wt(y,o,r||a||0,0,i,-1,o,!1,0,h,l)).xs0="none"!==l||"display"!==o&&-1===o.indexOf("Style")?l:h:J(e[o]):(i=new wt(y,o,a,r-a,i,0,o,!1!==A&&("px"===p||"zIndex"===o),0,h,l)).xs0=p)}s&&i&&!i.plugin&&(i.plugin=s)}return i},t.setRatio=function(t){var e,i,s,o=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;o;){if(e=o.c*t+o.s,o.r?e=o.r(e):e<1e-6&&-1e-6this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},y.ease=new y(.7,.7),g.config=y.config=function(t,e,i){return new y(t,e,i)},(g=(i=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new f).constructor=i,g.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=i.config=function(t,e){return new i(t,e)},(g=(s=h("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0)).prototype=new f).constructor=s,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=s.config=function(t,e,i){return new s(t,e,i)},(g=(e=h("easing.RoughEase",function(t){for(var e,i,s,o,n,a,r=(t=t||{}).taper||"none",h=[],l=0,c=0|(t.points||20),p=c,u=!1!==t.randomize,d=!0===t.clamp,y=t.template instanceof f?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;-1<--p;)e=u?Math.random():1/c*p,i=y?y.getRatio(e):e,s="none"===r?g:"out"===r?(o=1-e)*o*g:"in"===r?e*e*g:e<.5?(o=2*e)*o*.5*g:(o=2*(1-e))*o*.5*g,u?i+=Math.random()*s-.5*s:p%2?i+=.5*s:i-=.5*s,d&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},g.config=function(t){return new e(t)},e.ease=new e,p("Bounce",l("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),p("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),p("Elastic",(t=function(t,e,i){var s=h("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),o=s.prototype=new f;return o.constructor=s,o.getRatio=e,o.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),t("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),t("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),p("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),p("Sine",l("SineOut",function(t){return Math.sin(t*r)}),l("SineIn",function(t){return 1-Math.cos(t*r)}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(t){return f.map[t]}},!0),c(o.SlowMo,"SlowMo","ease,"),c(e,"RoughEase","ease,"),c(i,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(u,d){"use strict";var y={},s=u.document,g=u.GreenSockGlobals=u.GreenSockGlobals||u;if(g.TweenLite)return g.TweenLite;var t,e,i,f,m,o,n,v=function(t){var e,i=t.split("."),s=g;for(e=0;e=i&&tthis._duration?this._duration:t,e)):this._time},i.totalTime=function(t,e,i){if(m||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,o=this._timeline;if(sn;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=o,this._recent=t,this._timeline&&this._uncache(!0),this},i._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},i.render=function(t,e,i){var s,o=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;o;)s=o._next,(o._active||t>=o._startTime&&!o._paused&&!o._gc)&&(o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(t-o._startTime)*o._timeScale,e,i):o.render((t-o._startTime)*o._timeScale,e,i)),o=s},i.rawTime=function(){return m||f.wake(),this._totalTime};var L=S("TweenLite",function(t,e,i){if(c.call(this,e,i),this.render=L.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:L.selector(t)||t;var s,o,n,a=t.jquery||t.length&&t!==u&&t[0]&&(t[0]===u||t[0].nodeType&&t[0].style&&!t.nodeType),r=this.vars.overwrite;if(this._overwrite=r=null==r?Y[L.defaultOverwrite]:"number"==typeof r?r>>0:Y[r],(a||t instanceof Array||t.push&&w(t))&&"number"!=typeof t[0])for(this._targets=n=h(t),this._propLookup=[],this._siblings=[],s=0;s=Q){for(i in Q=f.frame+(parseInt(L.autoSleep,10)||120),j){for(t=(e=j[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete j[i]}if((!(i=J._first)||i._paused)&&L.autoSleep&&!K._first&&1===f._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||f.sleep()}}},f.addEventListener("tick",c._updateRoot);var $=function(t,e,i){var s,o,n=t._gsTweenID;if(j[n||(t._gsTweenID=n="t"+W++)]||(j[n]={target:t,tweens:[]}),e&&((s=j[n].tweens)[o=s.length]=e,i))for(;-1<--o;)s[o]===e&&s.splice(o,1);return j[n].tweens},tt=function(t,e,i,s){var o,n,a=t.vars.onOverwrite;return a&&(o=a(t,e,i,s)),(a=L.onOverwrite)&&(n=a(t,e,i,s)),!1!==o&&!1!==n},et=function(t,e,i,s,o){var n,a,r,h;if(1===s||4<=s){for(h=o.length,n=0;nc&&((d||!r._initted)&&c-r._startTime<=2e-10||(p[u++]=r)));for(n=u;-1<--n;)if(r=p[n],2===s&&r._kill(i,t,e)&&(a=!0),2!==s||!r._firstPT&&r._initted){if(2!==s&&!tt(r,e))continue;r._enabled(!1,!1)&&(a=!0)}return a},it=function(t,e,i){for(var s=t._timeline,o=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,o*=s._timeScale,s._paused)return-100;s=s._timeline}return e<(n/=o)?n-e:i&&n===e||!t._initted&&n-e<2e-10?x:(n+=t.totalDuration()/t._timeScale/o)>e+x?0:n-e-x};i._init=function(){var t,e,i,s,o,n,a=this.vars,r=this._overwrittenProps,h=this._duration,l=!!a.immediateRender,c=a.ease;if(a.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),o={},a.startAt)o[s]=a.startAt[s];if(o.data="isStart",o.overwrite=!1,o.immediateRender=!0,o.lazy=l&&!1!==a.lazy,o.startAt=o.delay=null,o.onUpdate=a.onUpdate,o.onUpdateParams=a.onUpdateParams,o.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=L.to(this.target||{},0,o),l)if(0r.pr;)s=s._next;(r._prev=s?s._prev:n)?r._prev._next=r:o=r,(r._next=s)?s._prev=r:n=r,r=a}r=e._firstPT=o}for(;r;)r.pg&&"function"==typeof r.t[t]&&r.t[t]()&&(i=!0),r=r._next;return i},st.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===st.API&&(X[(new t[e])._propName]=t[e]);return!0},a.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,o=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=S("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){st.call(this,i,s),this._overwriteProps=o||[]},!0===t.global),r=a.prototype=new st(i);for(e in(r.constructor=a).API=t.API,n)"function"==typeof t[e]&&(r[n[e]]=t[e]);return a.version=t.version,st.activate([a]),a},t=u._gsQueue){for(e=0;ee.levels.latestCompleted&&t<11&&(e.levels.latestCompleted=t,Constants.latestCompleted=t)},this,null,!1),this.state=GameStates.Loading},t.prototype.changeLevel=function(r,h,l,t,c){var p=this;void 0===l&&(l=!1),void 0===t&&(t=-1),void 0===c&&(c=0),this.challengeStep=t,Constants.levelMapStartTime||(Constants.levelMapStartTime=Date.now()),"11"===this.prevLevel&&this.game.world.setBounds(-3e3,-3e3,9e3,6e3);var u=0;if(0===t){var e=SaveGame.getInstance().getChallengeData();0p.levels.latestCompleted&&e<11&&(p.levels.latestCompleted=e,Constants.latestCompleted=e)}if(p.destroyLevel(),"11"===p.currentLevelID){var i=p.currentLevel.data.files.slice(),s=void 0;p.roomslist=[],p.roomsSize=[],p.roomsData=p.currentLevel.data.rooms;var o=[];o.push(i.splice(24,1)[0]),o.push(i.splice(21,1)[0]),o.push(i.splice(18,1)[0]),o.push(i.splice(15,1)[0]),o.push(i.splice(12,1)[0]),o.push(i.splice(2,1)[0]),o=Phaser.ArrayUtils.shuffle(o);for(var n=0;n<3;n++)s=o.splice(Math.floor(Math.random()*o.length),1)[0],p.roomslist.push(s),p.roomsSize.push({width:p.roomsData[s].width,height:p.roomsData[s].height});i=i.concat(o);for(n=0;nthis.challengeStep?(l.splice(c,1),c--):"finishPortal"===l[c].type&&(r.push(l[c]),l[c].challengeStep>r[h].challengeStep&&(h=r.length-1));r.splice(h,1);c=0;for(var p=r.length;c=Constants.particleLimit)for(var p=0,u=this.particles;p=Constants.particleLimit)for(var u=0,d=this.particlesUI;u=Constants.particleLimit)for(var u=0,d=this.particles;uthis.currentLevel.topTime&&this.resetLevel(!0,!0)),this.checkParallax();break;case GameStates.PlayingMainMenu:for(var g=0,f=this.cannons;gthis.currentLevel.topTime&&this.resetLevel(!0,!0)),this.checkParallax();break;case GameStates.Window:case GameStates.PauseMainMenu:break;case GameStates.MainMenu:Constants.parallax&&(this.background.x+=1,this.background.y+=1,this.background.x=this.background.x%140,this.background.y=this.background.y%140)}this.trophiesUI&&this.trophiesUI.setUI(),this.gameplayUI.updateAchievment()},t.prototype.checkParallax=function(){Constants.parallax?(this.background.x=this.game.camera.x+this.game.camera.x/10%140,this.background.y=this.game.camera.y+this.game.camera.y/10%140):(this.background.x=this.game.camera.x,this.background.y=this.game.camera.y)},t.prototype.resetDeath=function(){this.resumeOnReset()},t.prototype.pauseOnLevelEnd=function(){this.game.paused=!0,this.keys.hide(),this.player.pause()},t.prototype.resumeOnReset=function(){var t=Date.now();this.currentTime=t,this.game.paused=!1;for(var e=0,i=this.blocks;eConstants.minSizeView?1:Constants.minSizeView/this.game.width,e=this.game.height>Constants.minSizeView?1:Constants.minSizeView/this.game.height,i=ethis.maxScaleTime&&(this.scaling=!1,this.falling=!0,this.setJump(),this.lastScaled=!1),this.xVelocity=this.forcedXVelocity=0):(e&&this.scaleHistory!=t.rightEdge||!e&&this.scaleHistory!==t.leftEdge)&&(this.scaleTime=0,this.scaling=!0,this.falling=!1,this.diving=!1,this.rotation=0,this.rotationDest=0,5this.xPos+40||r.topEdge>this.yPos+80||r.bottomEdgethis.fallingMax&&SAT.testPolygonPolygon(this.totalPolygon,r.topBoundPolygon)){if("bounce"===r.blockType&&SAT.testPolygonPolygon(this.totalPolygon,r.topBoundPolygon)){this.land(r);continue}return void this.kill(1)}if(0r.xPos-.5*r.width&&this.xPosr.rightEdge)continue;if(this.hanging||this.yVelocity-r.yVelocity<=.5){this.scaling||this.hanging?(this.setJump(),this.scaling=!1,this.scaleTime=0,this.hanging=!1,this.hangTime=0,this.currentHang=null,this.yVelocity=2,this.falling=!0,this.scaleHistory=4e3,this.lastZipline=!1):this.yVelocity*=-.5,"ice"===r.blockType?this.yPos=r.yPos+.5*r.height+r.yVelocity+this.height+2:this.yPos=r.yPos+.5*r.height+4*r.yVelocity+this.height+1,0!=r.yVelocity&&(this.yPos+=20,this.yVelocity=0),this.updateHitBoxesPos(),i=!0,"push"===r.blockType&&(n=!0);continue}}if(!this.currentHang&&this.poolCoolDown<=0&&!this.swimming){if(r.hangable&&this.falling&&this.hangTime>=this.maxHangCoolDown&&(0<=this.yVelocity||r.yVelocity<0)){if(SAT.testPolygonPolygon(this.handsPolygon,r.lhBoundPolygon)&&!this.checkForBlock(r.leftEdge+3,r.topEdge-5)&&!this.checkForBlock(r.leftEdge-3,r.topEdge-5)){this.hang(r),o=t=!0;continue}if(SAT.testPolygonPolygon(this.handsPolygon,r.rhBoundPolygon)&&!this.checkForBlock(r.rightEdge+3,r.topEdge-5)&&!this.checkForBlock(r.rightEdge+-3,r.topEdge-5)){this.hang(r,!1),s=t=!0;continue}}}else{if(null!==this.currentHang&&!this.currentHang.alive){this.unhang(),this.setRun(),this.xVelocity=0;continue}if("right"===this.facing&&this.currentHang===r){this.hang(this.currentHang),o=!0;continue}if("left"===this.facing&&this.currentHang===r){this.hang(this.currentHang,!1),s=!0;continue}t=!0}if(this.xPos>r.rightEdge||this.xPosthis.xVelocity&&(r.xVelocity=this.xVelocity);l=r;this.xPos=r.rightEdge+this.width/2+this.xVelocity,l.pushingLeft=!0,l.pushed=!0,this.state!==PlayerState.Pushing&&this.setPush()}else;}}}else void 0!==r.isIgnore&&(r.isIgnore=!0)}if(s&&o||e&&i)return n&&this.main.achievements.gotAchievement("headsup"),void this.kill(3);t||e&&this.state!==PlayerState.Pushing||this.currentSlope||this.currentHang||(this.falling=!0,!this.diving&&this.yVelocity<=this.fallingMax&&(this.rotationDest=0),this.state===PlayerState.Running||this.state===PlayerState.Idle||this.state===PlayerState.Pushing?this.setJump():this.crouching?(this.setJump(),this.crouching=!1):(this.scaling||this.hanging)&&(this.setJump(),this.scaling=!1,this.scaleTime=0,this.hanging=!1,this.hangTime=0))}},t.prototype.checkSlopeCollisions=function(){this.currentSlope=null;for(var t=0,e=this.main.slopes;ti.leftEdge&&this.xPos=i.bottomEdge+.5*this.height&&this.yVelocity<0&&(this.yPos=i.bottomEdge+this.height,this.yVelocity*=-.5,this.yPos+=this.yVelocity,this.updatePositions(),this.scaleHistory=4e3,this.currentZipline=null),this.xPos>i.leftEdge&&this.xPosi.topEdge&&this.yPos=i.bottomEdge-i.height*s){o=i.height/i.width;if(this.yVelocity>-5-o){if(20<=this.yVelocity)return void this.kill(3);this.state!==PlayerState.Crouching&&(1=i.bottomEdge-i.height*s){var o=i.height/i.width;if(this.yVelocity>-5-o){if(20<=this.yVelocity)return void this.kill(3);1-this.maxVelocity?(this.xVelocity-=this.acc,0e.rightEdge||this.xPos+40e.bottomEdge||this.yPos+80this.fallingMax?(this.state!=PlayerState.Falling&&(this.setFall(),this.diving=!1),this.rotationDest+=-this.container.scale.x*this.yVelocity*.25*this.main.gameSpeed,(this.rotation<-150||150e*s?this.xVelocity=e*s:e<0&&this.xVelocityi*s?this.yVelocity=i*s:i<0&&this.yVelocitye*s?this.xVelocity=e*s:e<0&&this.xVelocityi*s?this.yVelocity=i*s:i<0&&this.yVelocitythis.xPos+40||e.topEdge>this.yPos+80||e.bottomEdgei.height/2-40)return;t=!0,this.currentRope!==i&&(this.rotationDest=0,this.rotation=0,this.xPosConstants.minSizeView?200:1/Constants.zoom*200,s=this.game.height>Constants.minSizeView?200:1/Constants.zoom*200;n=(this.game.input.activePointer.position.x-t)/t*i+this.xPos*(1/Constants.zoom),a=(this.game.input.activePointer.position.y-e)/e*s+this.yPos*(1/Constants.zoom),h=n-this.game.camera.x-t,l=a-this.game.camera.y-e;(r=Math.sqrt(Math.pow(this.game.camera.y-a,2)+Math.pow(this.game.camera.x-n,2)))<.5?(this.game.camera.x=n,this.game.camera.y=a):(this.game.camera.x+=h/15,this.game.camera.y+=l/15)}else{var o=0;10this.rotation?this.rotation+=t+(this.rotationDest-this.rotation)/3:this.rotationDestthis.maxBreathe&&(this.breathe=this.maxBreathe))}this.breatheBar(),this.game.device.desktop&&this.pressDown.blink()}this.main.followingWire||"mainmenu"===this.main.currentLevelID||this.cameraLogic()},t.prototype.breatheBar=function(){if(this.swimming){this.breatheGroup.visible=!0,this.breatheGroup.rotation=-this.container.rotation,this.breatheGroup.scale.x<1&&(this.breatheGroup.scale.x+=-.1,1=this.fadeAfter){if(this.sprite.alpha-=.1*this.main.gameSpeed,this.sprite.alpha<=0)return void this.destroy()}else this.fadeTime++;var t=this.xPos,e=this.yPos;r.prototype.update.call(this),this.alive&&(this.rotation+=this.rotSpeed,0=this.timeHide?this.hide():!this.alive&&this.actTime>=this.timeShow&&this.show(),this.alive&&this.actTime>=this.timeHide*(1-Constants.alertDisapper)?this.sprite.tint=30583:!this.alive&&this.actTime>=this.timeShow*(1-Constants.alertApper)&&(this.sprite.alpha=.2,this.sprite.tint=16777215)},t.prototype.show=function(){this.actTime=0,this.alive=!0,this.sprite.alpha=1},t.prototype.hide=function(){this.actTime=0,this.alive=!1,this.sprite.alpha=0},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},t.prototype.resetLevel=function(){o.prototype.resetLevel.call(this),this.actTime=0,this.alive=this.initVisible,this.sprite.alpha=this.initVisible?1:0},t.TOP_BOUND_HEIGHT=12,t}(Block),BasicBlock=function(o){function a(t,e,i){var s=o.call(this,t,e,i)||this;return s.sprite=i.create(0,0,"basicBlockColors"),s.sprite.autoCull=!0,s.sprite.visible=!1,s.alive=!1,s.hangable=!0,s.scalable=!0,s}return __extends(a,o),a.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.width=i,this.height=s,this.sprite.position.set(t,e),this.sprite.scale.set(i/this.sprite.width,s/this.sprite.height),this.sprite.anchor.set(.5,.5),this.sprite.frame=parseInt(this.main.currentLevelID),this.sprite.visible=!0,this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-.5*i,this.rightEdge=t+.5*i,this.topEdge=e-.5*s,this.bottomEdge=e+.5*s,this.xVelocity=0,this.yVelocity=0,this.landed=null,this.alive=!0;var o=.5*this.width,n=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),i,s),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.topBound=new SAT.Box(new SAT.Vector(t,e),i,a.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),o,a.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),o,a.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-n)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),o,s),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),o,s),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-n)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),i,a.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-o,n-a.TOP_BOUND_HEIGHT))},a.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height,this.sprite.position.set(this.xPos,this.yPos),this.totalBoundPolygon.pos.x=this.xPos,this.totalBoundPolygon.pos.y=this.yPos,this.topBoundPolygon.pos.x=this.xPos,this.topBoundPolygon.pos.y=this.yPos,this.lhBoundPolygon.pos.x=this.xPos,this.lhBoundPolygon.pos.y=this.yPos,this.rhBoundPolygon.pos.x=this.xPos,this.rhBoundPolygon.pos.y=this.yPos,this.leftBoundPolygon.pos.x=this.xPos,this.leftBoundPolygon.pos.y=this.yPos,this.rightBoundPolygon.pos.x=this.xPos,this.rightBoundPolygon.pos.y=this.yPos,this.bottomBoundPolygon.pos.x=this.xPos,this.bottomBoundPolygon.pos.y=this.yPos},a.prototype.update=function(){this.xPos==this.prevX&&this.yPos==this.prevY||this.updatePosition()},a.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},a.prototype.reset=function(){},a.TOP_BOUND_HEIGHT=12,a}(Block),BlockedWall=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.sprite=i.create(0,0,"blockedWall"),s.sprite.animations.add("blockedwall"),s.sprite.animations.play("blockedwall",null,!0),s.sprite.autoCull=!0,s.sprite.visible=!1,s.alive=!1,s.hangable=!0,s.scalable=!0,s.hangable=!1,s.scalable=!1,s.blockType="wall",s}return __extends(t,o),t.prototype.spawn=function(t,e,i,s,o,n,a){this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.levelNum=a,this.width=i,this.height=s,this.sprite.position.set(t,e),this.sprite.angle=o,this.sprite.anchor.set(.5,.5),this.sprite.frame=parseInt(this.main.currentLevelID),this.sprite.visible=!0,this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-.5*i,this.rightEdge=t+.5*i,this.topEdge=e-.5*s,this.bottomEdge=e+.5*s,this.xVelocity=0,this.yVelocity=0,n.colorFilter&&this.main.options.blend?this.sprite.filters=[n.colorFilter]:this.sprite.filters=null,this.landed=null,this.alive=!0;var r=.5*this.width,h=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),i,s),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-r,-h)),this.topBound=new SAT.Box(new SAT.Vector(t,e),i,PushBlock.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-r,-h)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),r,PushBlock.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-r,-h)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),r,PushBlock.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-h)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),r,s),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-r,-h)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),r,s),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-h)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),i,PushBlock.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-r,h-PushBlock.TOP_BOUND_HEIGHT)),-1!==n.topTime&&(this.alive=!1,this.sprite.visible=!1)},t.prototype.redrawHitBoxes=function(){this.hitGraphic.clear(),this.hitGraphic.beginFill(16711680,.5),this.hitGraphic.moveTo(this.xPos+this.totalBoundPolygon.calcPoints[0].x,this.yPos+this.totalBoundPolygon.calcPoints[0].y);for(var t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.totalBoundPolygon.calcPoints[t].x,this.yPos+this.totalBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.totalBoundPolygon.calcPoints[0].x,this.yPos+this.totalBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(65280,.5),this.hitGraphic.moveTo(this.xPos+this.topBoundPolygon.calcPoints[0].x,this.yPos+this.topBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.topBoundPolygon.calcPoints[t].x,this.yPos+this.topBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.topBoundPolygon.calcPoints[0].x,this.yPos+this.topBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(255,.5),this.hitGraphic.moveTo(this.xPos+this.lhBoundPolygon.calcPoints[0].x,this.yPos+this.lhBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.lhBoundPolygon.calcPoints[t].x,this.yPos+this.lhBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.lhBoundPolygon.calcPoints[0].x,this.yPos+this.lhBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(6710784,.5),this.hitGraphic.moveTo(this.xPos+this.rhBoundPolygon.calcPoints[0].x,this.yPos+this.rhBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.rhBoundPolygon.calcPoints[t].x,this.yPos+this.rhBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.rhBoundPolygon.calcPoints[0].x,this.yPos+this.rhBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(26214,.5),this.hitGraphic.moveTo(this.xPos+this.leftBoundPolygon.calcPoints[0].x,this.yPos+this.leftBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.leftBoundPolygon.calcPoints[t].x,this.yPos+this.leftBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.leftBoundPolygon.calcPoints[0].x,this.yPos+this.leftBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(6684774,.5),this.hitGraphic.moveTo(this.xPos+this.rightBoundPolygon.calcPoints[0].x,this.yPos+this.rightBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.rightBoundPolygon.calcPoints[t].x,this.yPos+this.rightBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.rightBoundPolygon.calcPoints[0].x,this.yPos+this.rightBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill(),this.hitGraphic.beginFill(16773120,.5),this.hitGraphic.moveTo(this.xPos+this.bottomBoundPolygon.calcPoints[0].x,this.yPos+this.bottomBoundPolygon.calcPoints[0].y);for(t=1;t<4;t++)this.hitGraphic.lineTo(this.xPos+this.bottomBoundPolygon.calcPoints[t].x,this.yPos+this.bottomBoundPolygon.calcPoints[t].y);this.hitGraphic.lineTo(this.xPos+this.bottomBoundPolygon.calcPoints[0].x,this.yPos+this.bottomBoundPolygon.calcPoints[0].y),this.hitGraphic.endFill()},t.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height,this.sprite.position.set(this.xPos,this.yPos),this.totalBoundPolygon.pos.x=this.xPos,this.totalBoundPolygon.pos.y=this.yPos,this.topBoundPolygon.pos.x=this.xPos,this.topBoundPolygon.pos.y=this.yPos,this.lhBoundPolygon.pos.x=this.xPos,this.lhBoundPolygon.pos.y=this.yPos,this.rhBoundPolygon.pos.x=this.xPos,this.rhBoundPolygon.pos.y=this.yPos,this.leftBoundPolygon.pos.x=this.xPos,this.leftBoundPolygon.pos.y=this.yPos,this.rightBoundPolygon.pos.x=this.xPos,this.rightBoundPolygon.pos.y=this.yPos,this.bottomBoundPolygon.pos.x=this.xPos,this.bottomBoundPolygon.pos.y=this.yPos},t.prototype.update=function(){this.xPos==this.prevX&&this.yPos==this.prevY||this.updatePosition()},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},t.prototype.reset=function(){},t.TOP_BOUND_HEIGHT=12,t}(Block);!function(t){t[t.up=0]="up",t[t.down=1]="down",t[t.left=2]="left",t[t.right=3]="right"}(SpikeDirection||(SpikeDirection={}));var Fabrique,BlockSpike=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.sprite=i.create(0,0,"basicBlockColors"),s.sprite.autoCull=!0,s.sprite.visible=!1,s.alive=!1,s.spikeUpEnable=!1,s.spikeDownEnable=!1,s.spikeLeftEnable=!1,s.spikeRightEnable=!1,s.hangable=!0,s.scalable=!0,s.spikesUp=null,s.spikesDown=null,s.spikesLeft=null,s.spikesRight=null,s}return __extends(t,o),Object.defineProperty(t.prototype,"upEnable",{get:function(){return this.spikeUpEnable?1:0},set:function(t){t?this.enableSpike(SpikeDirection.up):this.disableSpike(SpikeDirection.up)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"downEnable",{get:function(){return this.spikeDownEnable?1:0},set:function(t){t?this.enableSpike(SpikeDirection.down):this.disableSpike(SpikeDirection.down)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftEnable",{get:function(){return this.spikeLeftEnable?1:0},set:function(t){t?this.enableSpike(SpikeDirection.left):this.disableSpike(SpikeDirection.left)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightEnable",{get:function(){return this.spikeRightEnable?1:0},set:function(t){t?this.enableSpike(SpikeDirection.right):this.disableSpike(SpikeDirection.right)},enumerable:!1,configurable:!0}),t.prototype.spawn=function(t,e,i,s,o,n,a,r,h){this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.width=99,this.height=99,this.spikeMove=0,this.isSpikeUp=i,this.startSpikeUp=i,this.timeDown=h,this.timeUp=r,this.actTime=this.isSpikeUp?this.timeDown:this.timeUp,this.isDelay=!0,s&&this.enableSpike(SpikeDirection.up),o&&this.enableSpike(SpikeDirection.down),n&&this.enableSpike(SpikeDirection.left),a&&this.enableSpike(SpikeDirection.right);var l=this.isSpikeUp?Constants.spikeBlockUp:Constants.spikeBlockDown;this.spikeUpEnable&&this.spikesUp.spawn(this.xPos,this.yPos-(49.5+this.spikesUp.height/2)-l,0),this.spikeDownEnable&&this.spikesDown.spawn(this.xPos,this.yPos+(49.5+this.spikesDown.height/2)+l,180),this.spikeLeftEnable&&this.spikesLeft.spawn(this.xPos-(49.5+this.spikesLeft.height/2)-l,this.yPos,-90),this.spikeRightEnable&&this.spikesRight.spawn(this.xPos+(49.5+this.spikesRight.height/2)+l,this.yPos,90),this.sprite.position.set(t,e),this.sprite.scale.set(this.width/this.sprite.width,this.height/this.sprite.height),this.sprite.anchor.set(.5,.5),this.sprite.frame=parseInt(this.main.currentLevelID),this.sprite.visible=!0,this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-.5*this.width,this.rightEdge=t+.5*this.width,this.topEdge=e-.5*this.height,this.bottomEdge=e+.5*this.height,this.xVelocity=0,this.yVelocity=0,this.landed=null,this.alive=!0;var c=.5*this.width,p=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),this.width,this.height),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-c,-p)),this.topBound=new SAT.Box(new SAT.Vector(t,e),this.width,BasicBlock.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-c,-p)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),c,BasicBlock.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-c,-p)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),c,BasicBlock.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-p)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),c,this.height),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-c,-p)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),c,this.height),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-p)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),this.width,BasicBlock.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-c,p-BasicBlock.TOP_BOUND_HEIGHT))},t.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height,this.sprite.position.set(this.xPos,this.yPos),this.totalBoundPolygon.pos.x=this.xPos,this.totalBoundPolygon.pos.y=this.yPos,this.topBoundPolygon.pos.x=this.xPos,this.topBoundPolygon.pos.y=this.yPos,this.lhBoundPolygon.pos.x=this.xPos,this.lhBoundPolygon.pos.y=this.yPos,this.rhBoundPolygon.pos.x=this.xPos,this.rhBoundPolygon.pos.y=this.yPos,this.leftBoundPolygon.pos.x=this.xPos,this.leftBoundPolygon.pos.y=this.yPos,this.rightBoundPolygon.pos.x=this.xPos,this.rightBoundPolygon.pos.y=this.yPos,this.bottomBoundPolygon.pos.x=this.xPos,this.bottomBoundPolygon.pos.y=this.yPos},t.prototype.enableSpike=function(t){switch(t){case SpikeDirection.up:if(!this.spikeUpEnable){var e=new Spike10xHigh(this.main,this.game,this.main.obstacleLayer);this.main.obstacles.push(e),(this.spikesUp=e).enableDestroyMain=!1,this.spikeUpEnable=!0}break;case SpikeDirection.down:if(!this.spikeDownEnable){e=new Spike10xHigh(this.main,this.game,this.main.obstacleLayer);this.main.obstacles.push(e),(this.spikesDown=e).enableDestroyMain=!1,this.spikeDownEnable=!0}break;case SpikeDirection.left:if(!this.spikeLeftEnable){e=new Spike10xHigh(this.main,this.game,this.main.obstacleLayer);this.main.obstacles.push(e),(this.spikesLeft=e).enableDestroyMain=!1,this.spikeLeftEnable=!0}break;case SpikeDirection.right:if(!this.spikeRightEnable){e=new Spike10xHigh(this.main,this.game,this.main.obstacleLayer);this.main.obstacles.push(e),(this.spikesRight=e).enableDestroyMain=!1,this.spikeRightEnable=!0}}},t.prototype.disableSpike=function(t){switch(t){case SpikeDirection.up:if(this.spikeUpEnable){var e=this.main.obstacles.indexOf(this.spikesUp);this.main.obstacles.splice(e,1),this.spikesUp.destroy(!1),this.spikesUp=null,this.spikeUpEnable=!1}break;case SpikeDirection.down:if(this.spikeDownEnable){e=this.main.obstacles.indexOf(this.spikesDown);this.main.obstacles.splice(e,1),this.spikesDown.destroy(!1),this.spikesDown=null,this.spikeDownEnable=!1}break;case SpikeDirection.left:if(this.spikeLeftEnable){e=this.main.obstacles.indexOf(this.spikesLeft);this.main.obstacles.splice(e,1),this.spikesLeft.destroy(!1),this.spikesLeft=null,this.spikeDownEnable=!1}break;case SpikeDirection.right:if(this.spikeRightEnable){e=this.main.obstacles.indexOf(this.spikesRight);this.main.obstacles.splice(e,1),this.spikesRight.destroy(!1),this.spikesRight=null,this.spikeDownEnable=!1}}},t.prototype.update=function(){if(this.isDelay)return this.actTime-=this.main.gameSpeed,void(this.actTime<=0&&(this.isDelay=!1));var t=Constants.spikeBlockVelocity*this.main.gameSpeed;this.spikeMove=this.spikeMove+t;var e,i,s=Math.abs(Constants.spikeBlockDown-Constants.spikeBlockUp);this.spikeMove>=s&&(t=s-(this.spikeMove-t),this.spikeMove=0),this.isSpikeUp&&(t*=-1),this.spikeUpEnable&&(e=this.spikesUp.yPos-t,this.spikesUp.movePosition(this.spikesUp.xPos,e)),this.spikeDownEnable&&(e=this.spikesDown.yPos+t,this.spikesDown.movePosition(this.spikesDown.xPos,e)),this.spikeLeftEnable&&(i=this.spikesLeft.xPos-t,this.spikesLeft.movePosition(i,this.spikesLeft.yPos)),this.spikeRightEnable&&(i=this.spikesRight.xPos+t,this.spikesRight.movePosition(i,this.spikesRight.yPos)),0===this.spikeMove&&(this.isSpikeUp=!this.isSpikeUp,this.isDelay=!0,this.actTime=this.isSpikeUp?this.timeUp:this.timeDown),this.xPos==this.prevX&&this.yPos==this.prevY||this.updatePosition()},t.prototype.destroy=function(){if(this.spikeUpEnable){var t=this.main.obstacles.indexOf(this.spikesUp);this.main.obstacles.splice(t,1),this.spikesUp.destroy(!1)}if(this.spikeDownEnable){t=this.main.obstacles.indexOf(this.spikesDown);this.main.obstacles.splice(t,1),this.spikesDown.destroy(!1)}if(this.spikeLeftEnable){t=this.main.obstacles.indexOf(this.spikesLeft);this.main.obstacles.splice(t,1),this.spikesLeft.destroy(!1)}if(this.spikeRightEnable){t=this.main.obstacles.indexOf(this.spikesRight);this.main.obstacles.splice(t,1),this.spikesRight.destroy(!1)}this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},t.prototype.resetLevel=function(){this.spikeMove=0,this.isSpikeUp=this.startSpikeUp;var t=this.isSpikeUp?Constants.spikeBlockUp:Constants.spikeBlockDown;this.spikeUpEnable&&this.spikesUp.movePosition(this.xPos,this.yPos-(49.5+this.spikesUp.height/2)-t),this.spikeDownEnable&&this.spikesDown.movePosition(this.xPos,this.yPos+(49.5+this.spikesDown.height/2)+t),this.spikeLeftEnable&&this.spikesLeft.movePosition(this.xPos-(49.5+this.spikesLeft.height/2)-t,this.yPos),this.spikeRightEnable&&this.spikesRight.movePosition(this.xPos+(49.5+this.spikesRight.height/2)+t,this.yPos)},t.TOP_BOUND_HEIGHT=12,t}(Block),BounceBlock=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.bounceStr=4,s.container=s.game.add.group(i),s.sprite=s.container.create(0,0,"atlas_gameplay","bounceBlock"),s.sprite.autoCull=!0,s.arrowAnimation=s.container.create(0,0,"arrowAnimation"),s.arrowAnimation.autoCull=!0,s.sprite.anchor.set(.5,.5),s.arrowAnimation.anchor.set(.5,.5),s.alive=!1,s.hangable=!0,s.scalable=!0,s.blockType="bounce",s}return __extends(t,o),t.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.startY=e,this.spriteYOff=0,this.width=i,this.height=s,this.container.position.set(t,e),this.container.scale.set(i/100,s/100),this.arrowMask=this.game.add.graphics(0,0,this.container),this.main.options.blend?(this.arrowMask.beginFill(0),this.arrowMask.drawRect(-50,-50,100,100),this.arrowMask.endFill(),this.arrowAnimation.mask=this.arrowMask,this.arrowAnimation.animations.add("arrow"),this.arrowAnimation.play("arrow",60*this.main.gameSpeed,!0)):this.arrowAnimation.loadTexture("atlas_gameplay","arrow-static"),this.startScaleX=i/100,this.startScaleY=s/100,this.sprite.anchor.set(.5,.5),this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-.5*i,this.rightEdge=t+.5*i,this.topEdge=e-.5*s,this.bottomEdge=e+.5*s,this.landed=null,this.bouncing=!1,this.alive=!0;var o=.5*this.width,n=.5*this.height,a=t-o,r=e-n;this.totalBound=new SAT.Box(new SAT.Vector(a,r),i,s),this.topBound=new SAT.Box(new SAT.Vector(a,r),i,BasicBlock.TOP_BOUND_HEIGHT),this.lhBound=new SAT.Box(new SAT.Vector(a,r),o,BasicBlock.TOP_BOUND_HEIGHT),this.rhBound=new SAT.Box(new SAT.Vector(t,r),o,BasicBlock.TOP_BOUND_HEIGHT),this.leftBound=new SAT.Box(new SAT.Vector(a,r),o,s),this.rightBound=new SAT.Box(new SAT.Vector(t,r),o,s),this.bottomBound=new SAT.Box(new SAT.Vector(a,e+n-BasicBlock.TOP_BOUND_HEIGHT),i,BasicBlock.TOP_BOUND_HEIGHT),this.totalBoundPolygon=this.totalBound.toPolygon(),this.topBoundPolygon=this.topBound.toPolygon(),this.lhBoundPolygon=this.lhBound.toPolygon(),this.rhBoundPolygon=this.rhBound.toPolygon(),this.leftBoundPolygon=this.leftBound.toPolygon(),this.rightBoundPolygon=this.rightBound.toPolygon(),this.bottomBoundPolygon=this.bottomBound.toPolygon()},t.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height;var t=.5*this.width,e=.5*this.height,i=this.xPos-t,s=this.yPos-e;this.totalBound.pos.x=i,this.totalBound.pos.y=s,this.topBound.pos.x=i,this.topBound.pos.y=s,this.lhBound.pos.x=i,this.lhBound.pos.y=s,this.rhBound.pos.x=this.xPos,this.rhBound.pos.y=s,this.leftBound.pos.x=i,this.leftBound.pos.y=s,this.rightBound.pos.x=this.xPos,this.rightBound.pos.y=s,this.bottomBound.pos.x=i,this.bottomBound.pos.y=this.yPos+this.height-BasicBlock.TOP_BOUND_HEIGHT,this.topBoundPolygon=this.topBound.toPolygon(),this.lhBoundPolygon=this.lhBound.toPolygon(),this.rhBoundPolygon=this.rhBound.toPolygon(),this.leftBoundPolygon=this.leftBound.toPolygon(),this.rightBoundPolygon=this.rightBound.toPolygon(),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.container.y=this.yPos},t.prototype.update=function(){this.landed?this.specificLand():1==this.container.scale.x&&1==this.container.scale.y||(this.container.scale.y-=(this.container.scale.y-this.startScaleY)*(.15*this.main.gameSpeed),this.container.scale.x-=(this.container.scale.x-this.startScaleX)*(.15*this.main.gameSpeed),this.spriteYOff=(this.startScaleY-this.container.scale.y)*this.height*.5),this.container.position.y=this.yPos+2*this.spriteYOff},t.prototype.specificLand=function(){this.container.scale.x+=.01*this.bounceStr*this.main.gameSpeed,this.container.scale.y-=.01*this.bounceStr*this.main.gameSpeed,this.spriteYOff=(this.startScaleY-this.container.scale.y)*this.height*.5,this.bouncing?(this.main.player.xPos=this.lockX,this.main.player.spriteYOff=2*this.spriteYOff+5,this.main.player.updatePositions()):(this.lockX=this.main.player.xPos,this.main.player.setCrouch(),this.main.player.bouncing=!0,this.bouncing=!0),this.container.scale.y<.25&&(this.main.player.yPos-=.5*this.height,this.main.player.xPos=this.lockX,this.main.player.jump(-35*this.height*.01),this.main.player.bouncing=!1,this.main.player.spriteYOff=0,this.bouncing=!1,this.main.sounds.playSound("bounce1"))},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.arrowAnimation.destroy(),this.arrowAnimation=null,this.arrowMask&&(this.arrowMask.destroy(),this.arrowMask=null),this.container.destroy(),this.container=null,o.prototype.destroy.call(this)},t}(Block),Elevator=function(n){function t(t,e,i,s){var o=n.call(this,t,e,i)||this;return o.sprite=i.create(0,0,"elevatorUp"),o.sprite.autoCull=!0,o.sprite.visible=!1,o.alive=!1,o.generator=s,o.hangable=!0,o.scalable=!0,o}return __extends(t,n),t.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.xVelocity=i;var o=(this.yVelocity=s)<0?"elevatorUp":"elevatorDown";this.sprite.loadTexture(o),this.prevX=t,this.prevY=e,this.width=this.sprite.width,this.height=this.sprite.height,this.sprite.position.set(t,e),this.sprite.scale.set(this.width/this.sprite.width,this.height/this.sprite.height),this.sprite.anchor.set(.5,.5),this.sprite.frame=parseInt(this.main.currentLevelID),this.sprite.visible=!0,this.leftEdge=t-.5*this.width,this.rightEdge=t+.5*this.width,this.topEdge=e-.5*this.height,this.bottomEdge=e+.5*this.height,this.landed=null,this.alive=!0;var n=.5*this.width,a=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),this.width,this.height),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-n,-a)),this.topBound=new SAT.Box(new SAT.Vector(t,e),this.width,BasicBlock.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-n,-a)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),n,BasicBlock.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-n,-a)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),n,BasicBlock.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-a)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),n,this.height),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-n,-a)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),n,this.height),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-a)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),this.width,BasicBlock.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-n,a-BasicBlock.TOP_BOUND_HEIGHT))},t.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height,this.sprite.position.set(this.xPos,this.yPos),this.totalBoundPolygon.pos.x=this.xPos,this.totalBoundPolygon.pos.y=this.yPos,this.topBoundPolygon.pos.x=this.xPos,this.topBoundPolygon.pos.y=this.yPos,this.lhBoundPolygon.pos.x=this.xPos,this.lhBoundPolygon.pos.y=this.yPos,this.rhBoundPolygon.pos.x=this.xPos,this.rhBoundPolygon.pos.y=this.yPos,this.leftBoundPolygon.pos.x=this.xPos,this.leftBoundPolygon.pos.y=this.yPos,this.rightBoundPolygon.pos.x=this.xPos,this.rightBoundPolygon.pos.y=this.yPos,this.bottomBoundPolygon.pos.x=this.xPos,this.bottomBoundPolygon.pos.y=this.yPos},t.prototype.update=function(){this.xPos+=this.xVelocity,this.yPos+=this.yVelocity,this.updatePosition();for(var t=0,e=this.main.elevatorEliminator;t=this.xPos&&i.xPos-i.width/2<=this.xPos){if(this.isDown&&i.yPos>=this.yPos){var s=i.yPos-this.yPos;this.cable.spawn(this.xPos,this.yPos,s);break}if(!this.isDown&&i.yPos<=this.yPos){s=i.yPos-this.yPos;this.cable.spawn(this.xPos,this.yPos,s);break}this.cable.spawn(this.xPos,this.yPos,0)}else this.cable.spawn(this.xPos,this.yPos,0)}},a.prototype.spawn=function(t,e){this.destroyAllPlatforms();this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.spawnCable(),this.width=150,this.height=60,this.sprite.position.set(t,e),this.sprite.width=150,this.sprite.height=60,this.sprite.anchor.set(.5,.5),this.sprite.frame=parseInt(this.main.currentLevelID),this.sprite.visible=!0,this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-75,this.rightEdge=t+75,this.topEdge=e-30,this.bottomEdge=e+30,this.xVelocity=0,this.yVelocity=0,this.spawSpikes(),this.landed=null,this.alive=!0;var i=.5*this.width,s=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),150,60),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-i,-s)),this.topBound=new SAT.Box(new SAT.Vector(t,e),150,BasicBlock.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-i,-s)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),i,BasicBlock.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-i,-s)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),i,BasicBlock.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-s)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),i,60),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-i,-s)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),i,60),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-s)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),150,BasicBlock.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-i,s-BasicBlock.TOP_BOUND_HEIGHT))},a.prototype.destroy=function(){this.destroyAllPlatforms(),this.cable.destroy(),this.sprite.destroy(),this.sprite=null,this.spikes=[],n.prototype.destroy.call(this)},a.prototype.update=function(){if(0this.startX+this.maxMoveDist&&(this.xVelocity=-this.xVelocity):this.xPosthis.game.camera.x+640||this.bottomEdgethis.game.camera.y+560)return;this.meltScale-=this.depletionRate,this.maskGraphic?(this.maskGraphic.scale.y=this.meltScale,this.maskGraphic.y-=this.depletionRate*this.startHeight/2):(this.sprite.scale.y=this.height/100*this.meltScale,this.sprite.position.y=this.yPos-this.height/2*(1-this.meltScale));var t=.5*this.width,e=.5*this.height,i=(this.width,this.height),s=this.xPos,o=this.yPos;this.totalBound=new SAT.Box(new SAT.Vector(this.xPos,this.yPos),this.width,this.height*this.meltScale),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-t,-e)),this.leftBound=new SAT.Box(new SAT.Vector(s,o),t,i*this.meltScale),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-t,-e)),this.rightBound=new SAT.Box(new SAT.Vector(s,o),t,i*this.meltScale),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-e)),this.bottomBoundPolygon.setOffset(new SAT.Vector(-t,this.meltScale*e-r.TOP_BOUND_HEIGHT)),this.meltScale<=0&&(this.melted=!0,this.alive=!1,this.sprite.visible=!1)}},r.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.maskGraphic&&(this.maskGraphic.destroy(),this.maskGraphic=null),this.hitGraphics.destroy(),delete this.hitGraphics,o.prototype.destroy.call(this)},r.prototype.resetLevel=function(){this.reset()},r.prototype.reset=function(){this.meltScale=1,this.maskGraphic&&(this.maskGraphic.scale.y=1,this.maskGraphic.y=this.startY),this.sprite.scale.set(this.startXScale,this.startYScale),this.sprite.visible=!0,this.alive=!0,this.melted=!1,o.prototype.reset.call(this)},r.TOP_BOUND_HEIGHT=12,r}(Block),InvisBlock=function(o){function i(t,e,i){var s=o.call(this,t,e,i)||this;return s.init(),s.hangable=!0,s.scalable=!0,s}return __extends(i,o),i.prototype.init=function(){this.sprite=this.layer.create(0,0,"atlas_gameplay","invisBlock"),this.sprite.autoCull=!0,this.alive=!1},i.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.prevX=t,this.prevY=e,this.startX=t,this.startY=e,this.width=i,this.height=s,this.sprite.position.set(t,e),this.sprite.scale.set(i/100,s/100),this.sprite.anchor.set(.5,.5),this.xVelocity=0,this.yVelocity=0,this.leftEdge=t-.5*i,this.rightEdge=t+.5*i,this.topEdge=e-.5*s,this.bottomEdge=e+.5*s,this.xVelocity=0,this.yVelocity=0,this.landed=null,this.alive=!0;var o=.5*this.width,n=.5*this.height;this.totalBound=new SAT.Box(new SAT.Vector(t,e),i,s),this.totalBoundPolygon=this.totalBound.toPolygon(),this.totalBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.topBound=new SAT.Box(new SAT.Vector(t,e),i,PushBlock.TOP_BOUND_HEIGHT),this.topBoundPolygon=this.topBound.toPolygon(),this.topBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.lhBound=new SAT.Box(new SAT.Vector(t,e),o,PushBlock.TOP_BOUND_HEIGHT),this.lhBoundPolygon=this.lhBound.toPolygon(),this.lhBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.rhBound=new SAT.Box(new SAT.Vector(t,e),o,PushBlock.TOP_BOUND_HEIGHT),this.rhBoundPolygon=this.rhBound.toPolygon(),this.rhBoundPolygon.setOffset(new SAT.Vector(0,-n)),this.leftBound=new SAT.Box(new SAT.Vector(t,e),o,s),this.leftBoundPolygon=this.leftBound.toPolygon(),this.leftBoundPolygon.setOffset(new SAT.Vector(-o,-n)),this.rightBound=new SAT.Box(new SAT.Vector(t,e),o,s),this.rightBoundPolygon=this.rightBound.toPolygon(),this.rightBoundPolygon.setOffset(new SAT.Vector(0,-n)),this.bottomBound=new SAT.Box(new SAT.Vector(t,e),i,PushBlock.TOP_BOUND_HEIGHT),this.bottomBoundPolygon=this.bottomBound.toPolygon(),this.bottomBoundPolygon.setOffset(new SAT.Vector(-o,n-PushBlock.TOP_BOUND_HEIGHT))},i.prototype.updatePosition=function(){this.leftEdge=this.xPos-.5*this.width,this.rightEdge=this.xPos+.5*this.width,this.topEdge=this.yPos-.5*this.height,this.bottomEdge=this.yPos+.5*this.height,this.sprite.position.set(this.xPos,this.yPos),this.totalBoundPolygon.pos.x=this.xPos,this.totalBoundPolygon.pos.y=this.yPos,this.topBoundPolygon.pos.x=this.xPos,this.topBoundPolygon.pos.y=this.yPos,this.lhBoundPolygon.pos.x=this.xPos,this.lhBoundPolygon.pos.y=this.yPos,this.rhBoundPolygon.pos.x=this.xPos,this.rhBoundPolygon.pos.y=this.yPos,this.leftBoundPolygon.pos.x=this.xPos,this.leftBoundPolygon.pos.y=this.yPos,this.rightBoundPolygon.pos.x=this.xPos,this.rightBoundPolygon.pos.y=this.yPos,this.bottomBoundPolygon.pos.x=this.xPos,this.bottomBoundPolygon.pos.y=this.yPos},i.prototype.update=function(){if(this.alive){var t=this.main.player,e=Math.sqrt(Math.pow(t.xPos-this.xPos,2)+Math.pow(t.yPos-this.yPos,2));this.sprite.alpha=i.RANGEthis.startY+this.maxMoveDist&&(this.yVelocity=-this.yVelocity,this.landed&&(this.main.player.yPos+=2*this.yVelocity),this.main.player.updatePositions()),this.yPos+=this.yVelocity;for(var t=0;tthis.startY+this.maxMoveDist&&(this.yVelocity=-this.yVelocity,this.landed&&(this.main.player.yPos+=2*this.yVelocity),this.main.player.updatePositions()),this.yPos+=this.yVelocity;for(var t=0;ti.yPos-.5*i.height&&(!t&&this.yVelocity,this.yVelocity-=this.main.gameSpeed,this.yVelocity<-3&&(this.yVelocity=-3),this.inWater=!0))}},a.prototype.checkTrapped=function(){for(var t=new SAT.Vector(this.leftEdge-5,this.topEdge+10),e=new SAT.Vector(this.rightEdge+5,this.topEdge+10),i=0;i5*this.speedInc)&&(this.main.player.xVelocity+=this.speedInc,this.main.player.xVelocity===this.speedInc&&(this.main.player.xVelocity+=.75*this.speedInc))},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.arrowMask&&(this.arrowMask.destroy(),this.arrowMask=null),this.container.destroy(),this.container=null,o.prototype.destroy.call(this)},t.TOP_BOUND_HEIGHT=12,t}(Block),SwimmingPool=function(o){function t(t,e,i){var s=o.call(this,t)||this;return s.game=e,s.layer=i,s.sprite=i.create(0,0,"atlas_gameplay","swimmingPool"),s.sprite.anchor.set(.5,.5),s.sprite.alpha=.6,s.topMask=e.add.graphics(0,0,s.layer),s}return __extends(t,o),t.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.width=i,this.height=s,this.sprite.position.set(t,e),this.sprite.scale.set(i/250,s/250),this.electric=!1,this.prevElec=!1,this.totalPolygon=new SAT.Box(new SAT.Vector(t-i/2,e-s/2),i,s).toPolygon(),this.topPolygon=new SAT.Box(new SAT.Vector(t-i/2,e-s/2),i,12).toPolygon(),this.topMask.beginFill(16776960,.5),this.topMask.drawRect(0,0,i,s),this.topMask.endFill(),this.topMask.position.set(t-this.width/2,e-this.height/2)},t.prototype.update=function(){this.electric?(this.topMask.visible=!0,this.prevElec=!0):(this.topMask.visible=!1,this.prevElec=!1),this.electric=!1},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.topMask.destroy(),this.topMask=null,this.game=null,this.layer=null,this.totalPolygon=null,this.topPolygon=null,o.prototype.destroy.call(this)},t}(Entity),VerticalDownBlock=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.maxMoveDist=100,s.sprite=i.create(0,0,"atlas_gameplay","verticalDownBlock"),s.sprite.autoCull=!0,s.alive=!1,s.hangable=!0,s.scalable=!0,s}return __extends(t,o),t.prototype.levelStart=function(){for(var t=new SAT.Box(new SAT.Vector(this.leftEdge,this.topEdge-10),this.width,this.height+20).toPolygon(),e=0;ethis.startY+this.maxMoveDist&&(this.yVelocity=-this.yVelocity):this.yPosthis.startY+this.maxMoveDist&&(this.yVelocity=-this.yVelocity,this.landed&&(this.main.player.yPos+=2*this.yVelocity),this.main.player.updatePositions()),this.yPos+=this.yVelocity,this.xPos==this.prevX&&this.yPos==this.prevY||this.updatePosition()},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.attachments=null,this.attachmentOffsets=null,o.prototype.destroy.call(this)},t}(Block),ControllerButton=function(){function t(t,e,i,s,o){this.game=t,this.sprite=t.add.sprite(e,i,s),this.sprite.alpha=.5,this.sprite.anchor.set(.5,.5),this.sprite.scale.set(1.35,1.35),this.sprite.fixedToCamera=!0,this.sprite.inputEnabled=!0,o&&(this.sprite.events.onInputOver.add(this.onDown,this),this.sprite.events.onInputOut.add(this.onUp,this)),this.sprite.events.onInputDown.add(this.onDown,this),this.sprite.events.onInputUp.add(this.onUp,this),this.pressedDown=new Phaser.Signal,this.isDown=!1,this.isPressed=!1,this.setHitArea()}return t.prototype.setHitArea=function(){this.sprite.hitArea=new Phaser.Circle(0,0,1.3*this.sprite.width)},t.prototype.onDown=function(t,e){this.pointer=e,this.isDown=!0},t.prototype.onUp=function(){this.isDown&&this.pressedDown.dispatch(),this.isDown=!1,this.isPressed=!1},t.prototype.hide=function(){this.sprite.visible=!1},t.prototype.show=function(){this.sprite.visible=!0},t.prototype.buttonPressed=function(){return this.isDown},t}(),ControllerStick=function(){function t(t,e,i,s,o){this.game=t,this.sprite=t.add.sprite(e,i,s),this.sprite.alpha=.5,this.sprite.anchor.set(.5,.5),this.sprite.scale.set(1.35,1.35),this.sprite.hitArea=new Phaser.Rectangle(-this.sprite.width/2,-this.sprite.height/1.4,1.2*this.sprite.width,1.35*this.sprite.height),this.sprite.fixedToCamera=!0,this.sprite.inputEnabled=!0,this.sprite.events.onInputDown.add(this.onDown,this),this.sprite.events.onInputUp.add(this.onUp,this),this.pressedDown=new Phaser.Signal,this.isDown=!1,this.upDd=!1,this.downDd=!1,this.leftDd=!1,this.oneStick=o}return t.prototype.setHitArea=function(){this.sprite.hitArea=new Phaser.Rectangle(-1.2*this.sprite.width*this.sprite.anchor.x,-1.35*this.sprite.height*this.sprite.anchor.y,1.2*this.sprite.width,1.35*this.sprite.height)},t.prototype.onDown=function(t,e){this.pointer=e,this.isDown=!0},t.prototype.onUp=function(){this.isDown&&this.pressedDown.dispatch(),this.isDown=!1,this.upDd=!1,this.downDd=!1,this.leftDd=!1,this.rightDd=!1},t.prototype.hide=function(){this.sprite.visible=!1},t.prototype.show=function(){this.sprite.visible=!0},t.prototype.upIsDown=function(){return this.upDd},t.prototype.downIsDown=function(){return this.downDd},t.prototype.leftIsDown=function(){return this.leftDd},t.prototype.rightIsDown=function(){return this.rightDd},t.prototype.update=function(){if(this.isDown)if(this.oneStick){var t=this.sprite.x-this.game.camera.x;this.pointer.position.xthis.bestRank||(this.topTime=t,this.topTime>t&&(this.topTime=t),this.bestRank=i,this.saveLevel())},t.prototype.gotGold=function(){return-1!==this.topTime&&this.topTime<=this.goldTime},t.prototype.getRankSpriteKey=function(){return this.gotGold()&&this.gotStar&&this.challengeCompleted?"clearText":t.RANK_SPRITE_KEYS[this.bestRank]},t.prototype.loadLevel=function(){var t=parseInt(this.id),e=SaveGame.getInstance().getLevel(t-1);this.topTime=e.tt,this.bestRank=e.br,this.gotStar=e.gs,this.challengeCompleted=e.cc,this.extremeCompleted=e.ec},t.prototype.saveLevel=function(){var t={tt:this.topTime,br:this.bestRank,gs:this.gotStar,cc:this.challengeCompleted,ec:this.extremeCompleted,fn:this.found};SaveGame.getInstance().saveLevels(parseInt(this.id),t)},t.prototype.clearSavedData=function(){SaveGame.getInstance().resetLevels()},t.RANK_SPRITE_KEYS={0:"perfectText",1:"goldText",2:"silverText",3:"bronzeText",4:"clearText"},t.ChallengeSteps=0,t}(),Levels=function(){function t(t,e){this.levels={},this.game=t,this.totalLoad=0,this.loadedNum=0,this.doneCallback=e,this.latestCompleted=Constants.latestCompleted;var i=this.game.cache.getJSON("levelsConfig");for(var s in i)if(i.hasOwnProperty(s)){var o=void 0,n=void 0,a=i[s].name,r=i[s].nameHard,h=i[s].hue;if("hub"===s)o=i[s].file,n=this.game.cache.getJSON(o),levelData[o]=n,this.loadLevel(s,o,a,-1,-1,-1);else if("11"===s){for(var l=i[s].roomsFiles,c=0,p=i[s].roomsFiles;c=this.fadeAfter){if(this.graphics.alpha-=.1*this.main.gameSpeed,this.scaleOut&&(this.graphics.scale.x*=.8,this.graphics.scale.y=this.graphics.scale.x),this.graphics.alpha<=0)return void this.destroy(this.isUI)}else this.fadeTime++;var t=this.xPos,e=this.yPos;c.prototype.update.call(this),this.alive&&(t==this.xPos&&e==this.yPos||(this.graphics.position.set(this.xPos,this.yPos),this.hitBoxPolygon.pos.x=this.xPos-.5*this.size,this.hitBoxPolygon.pos.y=this.yPos-.5*this.size))}},t}(Particle),DeathText=function(){function t(t,e){this.text=t.add.bitmapText(0,0,"grobred32","",18),this.text.visible=!1,this.text.anchor.set(.5,.5),e.add(this.text),this.alive=!1}return t.prototype.show=function(t,e,i){this.xPos=t,this.yPos=e,this.text.position.set(t,e),this.text.setText(i),this.text.visible=!0,this.text.scale.set(.75,.75),this.tarY=e+30,this.alive=!0},t.prototype.update=function(){this.alive&&(this.text.scale.x<1.3?(this.text.scale.x-=.05*(this.text.scale.x-1.3),this.text.scale.y=this.text.scale.x,1.3-this.text.scale.x<.01&&this.text.scale.set(1.3,1.3)):(this.text.alpha-=.15*this.text.alpha,this.text.alpha&&(this.alive=!1,this.text.visible=!1)),this.yPos--,this.text.position.y=this.yPos)},t}(),SimpleTransition=function(){function t(t,e,i){this.main=t,this.game=e,this.scaleX=e.width/640,this.scaleY=e.height/560,this.topHalf=i.create(0,0,"simpleTransition"),this.topHalf.scale.set(this.scaleX,this.scaleY),this.bottomHalf=i.create(0,0,"simpleTransition"),this.bottomHalf.anchor.set(1,1),this.bottomHalf.scale.set(-this.scaleX,-this.scaleY),this.topHalf.fixedToCamera=!0,this.bottomHalf.fixedToCamera=!0,this.topHalf.visible=!1,this.bottomHalf.visible=!1,this.state=0}return t.prototype.beginTransition=function(t,e,i){this.state=1,this.isHub=i,this.topHalf.cameraOffset.set(0,0),this.topHalf.anchor.set(0,0),this.bottomHalf.cameraOffset.set(0,0),this.bottomHalf.anchor.set(1,1),this.topHalf.rotation=-90,this.bottomHalf.rotation=90,this.callback=t,e&&this.main.options.blend?(this.topHalf.filters=[e],this.bottomHalf.filters=[e]):(this.topHalf.filters=null,this.bottomHalf.filters=null),this.topHalf.visible=!0,this.bottomHalf.visible=!0},t.prototype.update=function(){if(1===this.state){var t=this.topHalf.angle-0;this.topHalf.angle-=t/10,Math.abs(t)<.5&&(this.topHalf.rotation=0,this.bottomHalf.rotation=0,this.topHalf.cameraOffset.set(this.game.width,this.game.height),this.bottomHalf.cameraOffset.set(this.game.width,this.game.height),this.topHalf.anchor.set(1,1),this.bottomHalf.anchor.set(0,0),this.state=2,this.callback()),this.bottomHalf.rotation=-this.topHalf.rotation}else if(2===this.state){t=this.topHalf.angle-60;this.topHalf.angle-=t/10,Math.abs(t)<.5&&(this.topHalf.rotation=90,this.bottomHalf.rotation=-this.topHalf.rotation,this.state=0,this.topHalf.visible=!1,this.bottomHalf.visible=!1),this.bottomHalf.rotation=-this.topHalf.rotation}},t.prototype.resizeStage=function(t,e){this.scaleX=t/640,this.scaleY=e/560,this.topHalf.scale.set(this.scaleX,this.scaleY),this.bottomHalf.anchor.set(1,1),this.bottomHalf.scale.set(-this.scaleX,-this.scaleY)},t}(),Sounds=function(){function t(t,e){var i;this.main=t,this.nextMusicNormalIndex=0,this.nextMusicHardIndex=0,this.muted=!1,this.connectHang=e.add.audio("connectHang"),this.fall=e.add.audio("fall",.2),this.downgrade=e.add.audio("downgrade",.7),this.poleSwing=e.add.audio("poleSwing",.7),this.splash1=e.add.audio("splash1",.7),this.ziplineFull=e.add.audio("ziplineFull",.7),this.cannonEnter=e.add.audio("cannonEnter",.7),this.wallSlide=e.add.audio("wallSlide",.7),this.connectSlide=e.add.audio("connect",.7),this.land=e.add.audio("land",.5),this.slide=e.add.audio("slide",.7),this.death1=e.add.audio("death1",.7),this.death2=e.add.audio("death2",.7),this.electricity=e.add.audio("electricity",.5),this.poleWoosh=e.add.audio("poleWoosh",.7),this.bounce1=e.add.audio("bounce1",.7),this.cannonFire=e.add.audio("cannonFire",.7),this.glassSmash=e.add.audio("glassSmash",.7),this.fallingBlock=e.add.audio("fallingBlock",.7),this.blockDestroy=e.add.audio("blockDestroy",.7),this.buttonClick=e.add.audio("buttonClick",.7),this.achievementUnlocked=e.add.audio("achievementUnlocked",.7),this.footstep=e.add.audio("footstep",.7),this.laserFire=e.add.audio("laserFire",.7),this.ding=e.add.audio("ding",.7),this.kickBlock=e.add.audio("kickBlock",.7),this.starPickup=e.add.audio("starPickup",.7),this.menuSong=e.add.audio("vexSong1",.7,!0),this.vexationSong=e.add.audio("vexSong2",.7,!0),this.challengeSong=e.add.audio("vexSong12",.7,!0),this.songs=[],this.vexSongNormal=[],this.vexSongHard=[],i=e.add.audio("vexSong3",.7,!0),this.vexSongNormal.push(i),this.songs.push(i),i=e.add.audio("vexSong4",.7,!0),this.vexSongNormal.push(i),this.songs.push(i),i=e.add.audio("vexSong5",.7,!0),this.vexSongNormal.push(i),this.songs.push(i),i=e.add.audio("vexSong6",.7,!0),this.vexSongNormal.push(i),this.songs.push(i),i=e.add.audio("vexSong7",.7,!0),this.vexSongNormal.push(i),this.songs.push(i),i=e.add.audio("vexSong8",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong9",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong10",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong11",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong12",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong13",.7,!0),this.vexSongHard.push(i),this.songs.push(i),i=e.add.audio("vexSong14",.7,!0),this.vexSongHard.push(i),this.songs.push(i)}return t.prototype.playSound=function(t){Constants.muted||this[t].play(null,null,.6*this.main.options.effectVolume)},t.prototype.playRandomMusic=function(){for(var t=0,e=this.songs;tthis.disappearDistSq&&(this.reappear>=this.reappearTime?(this.sprite.alpha-=.25*this.sprite.alpha,this.sprite.scale.x-=.25*this.sprite.scale.x,this.sprite.scale.y=this.sprite.scale.x):this.reappear++)},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.main=null},t}();!function(t){var e=function(){function t(){}return t.show=function(){var t=document.getElementById("loader");t&&(t.style.display="block")},t.hide=function(){var t=document.getElementById("loader");t&&(t.style.display="none")},t}();t.LoaderHelper=e}(Fabrique||(Fabrique={})),function(t){var e=function(){function t(){var n,t,a,e,i,r,s=this;this.apiKey="REHaiXjhpLx62lFah1bMUA",this.recurringError=[],n=window,t=document,a="rg4js",n.RaygunObject=a,n[a]=n[a]||function(){(n[a].o=n[a].o||[]).push(arguments)},e=t.createElement("script"),i=t.getElementsByTagName("script")[0],e.async=1,e.src="./raygun.min.js",i.parentNode.insertBefore(e,i),r=n.onerror,n.onerror=function(t,e,i,s,o){r&&r(t,e,i,s,o),o||(o=new Error(t)),n[a].q=n[a].q||[],n[a].q.push({e:o})},rg4js("apiKey",this.apiKey),rg4js("enableCrashReporting",!0),rg4js("setVersion",version),rg4js("options",{ignore3rdPartyErrors:!0}),rg4js("onBeforeSend",function(t){return s.filterError(t)}),rg4js("enablePulse",!1)}return t.getInstance=function(){return null===t.instance&&(t.instance=new t),t.instance},t.prototype.filterError=function(t){if(void 0!==t&&t.Details&&t.Details.Error&&t.Details.Error.Message){if(-1!==this.recurringError.indexOf(t.Details.Error.Message))return!1;this.recurringError.push(t.Details.Error.Message)}return t},t.prototype.setUser=function(){var t=function(){var t,o="brzcrz_local";try{t=window.localStorage.getItem(o)}catch(t){}if(t)return t;var e=function(){for(var t=o+"=",e=document.cookie.split(";"),i=0;iConstants.latestChallengeStep&&(Constants.latestChallengeStep=t)},e.prototype.getAllLevels=function(){return this.levels},e.prototype.setCheckPoint=function(t){this.checkPoint=t},e.prototype.setLevel=function(t,e){var i=t-1,s=this.levels[i];(s=e).id=t,this.levels[i]=s},e.prototype.setAllLevels=function(t){this.levels=[],this.levels=t},e.prototype.getLevel=function(t){return this.levels[t]},e.prototype.getCheckPoint=function(){return this.checkPoint},e.prototype.getAchievements=function(){return this.achievements},e.prototype.getChallengeData=function(){return this.challengeData},e.prototype.setAchievements=function(t){this.achievements=t},e.prototype.setChallengeData=function(t){this.challengeData=t},e.prototype.clearOptions=function(){Constants.musicVolume=1,Constants.effectVolume=.5,Constants.autoReset=!1,Constants.particleLimit=30,Constants.oldControls=!1,Constants.blend=!0,Constants.waves=!0,Constants.parallax=!0,Constants.muted=!1,Constants.mutedMusic=!1,this.game.device.desktop||(Constants.particleLimit=0,Constants.blend=!1,Constants.waves=!1,Constants.parallax=!1)},e.prototype.clearStats=function(){Constants.totalDeaths=0,Constants.timePlayed=0},e.prototype.clearLevel=function(){return{tt:-1,br:4,gs:!1,cc:!1,fn:!1}},e.prototype.clearAllLevels=function(){this.levels=[];for(var t=0;t<=10;t++){var e=this.clearLevel();e.id=t+1,this.levels.push(e)}this.latestCompleted=Constants.latestCompleted},e.prototype.clearChallengeData=function(){this.challengeData={deaths:0,time:0,floor:0}},e.prototype.clearAchievements=function(){this.achievements=Constants.achievements},e.prototype.saveOptions=function(t){this.save()},e.prototype.resetOptions=function(){this.clearOptions(),this.save()},e.prototype.saveStats=function(t){this.save()},e.prototype.resetStats=function(){this.clearStats(),this.save()},e.prototype.saveLevels=function(t,e){this.setLevel(t,e),this.setLastLevel(t),this.save()},e.prototype.saveCheckPoint=function(t,e){this.setCheckPoint({x:t,y:e}),this.save()},e.prototype.removeCheckPoint=function(){this.setCheckPoint(null),this.save()},e.prototype.saveChallengeStep=function(t){this.setLastChallengeStep(t),this.save()},e.prototype.resetLevels=function(){this.clearAllLevels(),this.setLastLevel(0),this.save()},e.prototype.saveAchievements=function(t){this.setAchievements(t),this.save()},e.prototype.resetAchievements=function(){this.clearAchievements(),this.save()},e.prototype.setChallengeStep=function(t){this.setChallengeData(t),this.save()},e.prototype.clearAll=function(){this.checkPoint=null,this.clearOptions(),this.clearStats(),this.clearAllLevels(),this.clearChallengeData(),this.save()},e.prototype.save=function(){var t=JSON.stringify(this.getAllValues()),e=this.hash([t.options,t.stats,t.latestCompleted,t.latestChallengeStep,t.levels,t.achievements,t.challengeData,t.checkPoint].join("-"));this.game.storage.setItem("sg",t),this.game.storage.setItem("h",e)},e.prototype.restore=function(){var e=this;this.game.storage.getItem("sg").then(function(t){e.setAllValues(JSON.parse(t))})},e.prototype.load=function(){return this.game.storage.getItem("sg")},e.prototype.hash=function(t){var e,i,s=0;if(0===t.length)return s.toString();for(e=0,i=t.length;ethis.particleSpawnRate&&(this.main.createColorParticle(this.xPos-80+160*Math.random(),this.yPos-80+160*Math.random(),0,0,4649252,4,!1),this.particleTimer=0);for(var t=0,e=this.main.particles;tthis.yPos&&(i.yVelocity-=.75),i.xPosthis.xPos&&(i.xVelocity-=.75))}},n.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,this.hitBoxPolygon=null,o.prototype.destroy.call(this)},n}(Entity),HazardStrips=function(o){function t(t,e,i){var s=o.call(this,t)||this;return s.game=e,s.layer=i,s.sprite=i.create(0,0,"atlas_gameplay","hazardStrips"),s.sprite.autoCull=!0,s.sprite.visible=!1,s.alive=!1,s}return __extends(t,o),t.prototype.spawn=function(t,e){this.xPos=t,this.yPos=e,this.sprite.position.set(t,e),this.sprite.visible=!0,this.alive=!0},t.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},t}(Entity),Key=function(o){function t(t,e,i){var s=o.call(this,t)||this;return s.game=e,s.layer=i,s.init(),s.hitBoxPolygon=new SAT.Box(new SAT.Vector(0,0),20,40).toPolygon(),s.hitBoxPolygon.setOffset(new SAT.Vector(-10,-20)),s.alive=!1,s.lineColor=16763904,s}return __extends(t,o),t.prototype.init=function(){this.sprite=this.layer.create(0,0,"atlas_gameplay","key"),this.sprite.autoCull=!0,this.sprite.anchor.set(.5,.5),this.lineGraphic=this.game.add.graphics(0,0,this.layer)},t.prototype.spawn=function(t,e){this.xPos=t,this.yPos=e,this.startX=t,this.startY=e,this.xVelocity=0,this.yVelocity=0,this.sprite.position.set(t,e),this.hitBoxPolygon.pos.x=t,this.hitBoxPolygon.pos.y=e,this.alive=!0,this.used=!1,this.keyNum=0,this.saveUse=!1,this.following=!1,this.rad=0},t.prototype.useKey=function(){this.used=!0,this.lineGraphic.clear(),this.sprite.visible=!1,this.alive=!1},t.prototype.followPlayer=function(){var t,e,i=10*(this.keyNum-1);this.rad=-4*this.player.xVelocity*Math.PI/180,this.yVelocity<0&&(this.yVelocity+=.5),this.yPos+=this.yVelocity,e=this.player.swimming?(t=this.player.xPos,this.player.yPos-i):(t="right"===this.player.facing?this.player.xPos-30:this.player.xPos+30,this.player.yPos-6-i);var s=t-this.xPos,o=e-this.yPos;this.xPos+=s/5,this.yPos+=o/5,Math.abs(s)<1&&(this.xPos=t),Math.abs(o)<1&&(this.yPos=e),this.hitBoxPolygon.pos.x=this.xPos,this.hitBoxPolygon.pos.y=this.yPos},t.prototype.runCollisions=function(){for(var t=0,e=this.main.blocks;t=t.TIMER_MAX?(this.main.player.loseKey(this),this.reset()):this.timer++),o.prototype.update.call(this)},t.TIMER_MAX=180,t}(Key),WindBlaster=function(h){function t(t,e,i){var s=h.call(this,t)||this;s.game=e,s.layer=i,s.container=e.add.group(i),s.windGraphics=[];var o=e.make.graphics(0,0);o.lineStyle(1,2236962),o.moveTo(0,0),o.lineTo(27,0);var n=o.generateTexture();o.destroy();for(var a=0;a<6;a++){var r=s.game.add.sprite(0,0,n,null,s.container);r.visible=!1,s.windGraphics.push(r)}return s.sprite=s.container.create(0,0,"atlas_gameplay","windBlaster"),s.sprite.autoCull=!0,s.sprite.anchor.set(0,.5),s.fanSprite=e.add.sprite(0,0,"windFan"),s.fanSprite.anchor.set(0,.5),s.fanSprite.animations.add("fan"),s.fanSprite.play("fan",null,!0),s.sprite.addChild(s.fanSprite),s.fanMask=new SAT.Box(new SAT.Vector(0,0),180,50).toPolygon(),s.fanMask.setOffset(new SAT.Vector(0,-25)),s.alive=!1,s}return __extends(t,h),t.prototype.spawn=function(t,e,i){this.xPos=t,this.yPos=e,this.container.position.set(t,e),this.container.angle=i,this.rotation=i,this.fanMask.pos.x=t,this.fanMask.pos.y=e,this.fanMask.setAngle(i*Math.PI/180),this.alive=!0;for(var s=this.inc=0,o=this.windGraphics;sthis.yPos-5&&(this.main.player.yPos=this.yPos-5,this.main.player.yVelocity=-4,this.main.player.updateHitBoxesPos(),this.main.player.falling=!0),this.inc<2.5?this.inc+=.25:this.inc=2.5}else this.inc-=.25,this.inc<0&&(this.inc=0);for(var s=0,o=this.windGraphics;sthis.startX+this.maxMoveDist&&(this.xVelocity=-this.xVelocity):this.xPosthis.startY+this.maxMoveDist&&(this.yVelocity=-this.yVelocity),this.yPos+=this.yVelocity,this.yPos!=t&&this.updatePosition()},t.prototype.updatePosition=function(){this.sprite.position.set(this.xPos,this.yPos),this.deathCircle.pos.y=this.yPos},t.prototype.reset=function(){this.yVelocity=-2,this.updatePosition()},t.prototype.resetLevel=function(){this.reset()},t}(Buzzsaw),ClassicLaser=function(o){function h(t,e,i){var s=o.call(this,t,e,i)||this;return s.sprite=i.create(0,0,"atlas_gameplay","classicLaser"),s.sprite.autoCull=!0,s.sprite.anchor.set(.5,.5),s.bullet=new Bullet(t,e,t.obstacleLayer),s.main.obstacles.push(s.bullet),s.alive=!1,s}return __extends(h,o),h.prototype.spawn=function(t,e){this.xPos=t,this.yPos=e,this.startX=t,this.startY=e,this.rad=Math.PI/2,this.sprite.position.set(t,e),this.sprite.rotation=this.rad,this.spinDest=Math.PI/2,this.shootTimer=0},h.prototype.levelStart=function(){this.storeNearbyPlatforms()},h.prototype.storeNearbyPlatforms=function(){this.platforms=[];for(var t=new SAT.Circle(new SAT.Vector(this.xPos,this.yPos),250),e=0,i=this.main.blocks;e=h.FIRE_RATE&&(this.shootTimer=0,this.bullet.spawn(this.xPos,this.yPos,25*Math.cos(this.rad),25*Math.sin(this.rad),this.rad),this.main.sounds.playSound("laserFire")))}else this.spinDest=Math.PI/2;var r=this.rad-this.spinDest;Math.abs(r)<.5*Math.PI/180?this.rad=this.spinDest:r>200*Math.PI/180?this.rad=this.spinDest:this.rad-=.25*r,this.sprite.rotation=this.rad}},h.prototype.destroy=function(){this.sprite.destroy(),this.sprite=null,o.prototype.destroy.call(this)},h.prototype.reset=function(){this.shootTimer=0},h.prototype.resetLevel=function(){this.reset(),this.rad=Math.PI/2,this.spinDest=Math.PI/2},h.FIRE_RATE=40,h.RANGE_SQ=62500,h}(Obstacle),EnlargingBuzzsaw=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.obstacleType="buzzsaw",s.alive=!1,s}return __extends(t,o),t.prototype.spawn=function(t,e,i){void 0===i&&(i=1),this.xPos=t,this.yPos=e,this.sprite.position.set(t,e),this.sprite.visible=!0,this.enlarging=!0,this.deathCircle.pos.x=t,this.deathCircle.pos.y=e,this.scaleXStart=i,this.scaleYStart=i,this.scale=i,this.alive=!0},t.prototype.update=function(){this.enlarging?(this.scale+=.02*this.scaleXStart*this.main.gameSpeed,this.scale>2.5*this.scaleXStart&&(this.scale=2.5*this.scaleXStart,this.enlarging=!1)):(this.scale-=.02*this.scaleXStart*this.main.gameSpeed,this.scale<.5*this.scaleXStart&&(this.scale=.5*this.scaleXStart,this.enlarging=!0)),o.prototype.update.call(this),this.updatePosition()},t.prototype.updatePosition=function(){this.sprite.scale.set(this.scale,this.scale),this.sprite.position.set(this.xPos,this.yPos),this.deathCircle.pos.y=this.yPos,this.deathCircle.r=42*this.scale},t.prototype.resetLevel=function(){},t}(Buzzsaw),FallingSpike=function(r){function t(t,e,i,s){void 0===s&&(s=!1);var o=r.call(this,t,e,i)||this;o.game=e,o.layer=i,o.obstacleType="spike",o.sprite=o.layer.create(0,0,"atlas_gameplay","fallingSpike"),o.sprite.autoCull=!0,o.sprite.anchor.set(.5,.5),o.sprite.visible=!1,o.alive=!1,o.dispenser=s,o.enableDestroyMain=!0,o.graphics=o.game.add.graphics(0,0,o.layer),o.graphics.visible=!0,o.width=7.5,o.height=14.75,o.deathBoxPolygon=new SAT.Box(new SAT.Vector(0,0),o.width,o.height).toPolygon();var n=.5*o.width,a=.5*o.height;return o.deathBoxPolygon.setOffset(new SAT.Vector(-n,-a)),o}return __extends(t,r),t.prototype.spawn=function(t,e,i){this.xPos=t,this.yPos=e,this.startX=t,this.startY=e,this.rotation=i,this.rad=i*Math.PI/180,this.xVelocity=0,this.yVelocity=0,this.sprite.position.set(t,e),this.sprite.angle=i,this.dispenser||(this.sprite.visible=!0),this.alive=!0,this.deathBoxPolygon.pos.x=t,this.deathBoxPolygon.pos.y=e,this.falling=!1,this.fallDist=0,this.speed=0},t.prototype.levelStart=function(){this.range=350;for(var t=this.rotation*Math.PI/180,e=0,i=10;i<=this.range;){for(var s=new SAT.Polygon(new SAT.Vector(this.xPos,this.yPos),[new SAT.Vector(0,0),new SAT.Vector(Math.cos(t)*i,Math.sin(t)*i)]),o=0,n=this.main.blocks;oe&&(e=Math.abs(r.overlap))}if(0this.range&&(i=this.range)}this.hitDist=i,this.searchHitBox=new SAT.Box(new SAT.Vector(this.xPos,this.yPos),this.hitDist,16).toPolygon(),this.searchHitBox.offset=new SAT.Vector(0,-8),this.searchHitBox.setAngle(t)},t.prototype.update=function(){if(this.alive)if(this.falling)this.xVelocity+=Math.cos(this.rad)*this.main.gravity,this.yVelocity+=Math.sin(this.rad)*this.main.gravity,this.speed+=this.main.gravity,this.xPos+=this.xVelocity,this.yPos+=this.yVelocity,this.fallDist+=this.speed,this.updatePositions(),this.fallDist>this.hitDist&&this.reset();else{if(this.xPos!=this.startX||this.yPos!=this.startY){var t=this.startX-this.xPos,e=this.startY-this.yPos;Math.abs(t)<1?this.xPos=this.startX:this.xPos+=t/5,Math.abs(e)<1?this.yPos=this.startY:this.yPos+=(this.startY-this.yPos)/5,this.updatePositions()}var i=this.main.player;SAT.testPolygonPolygon(this.searchHitBox,i.totalPolygon)&&(this.falling=!0)}},t.prototype.updatePositions=function(){this.sprite.position.set(this.xPos,this.yPos),this.deathBoxPolygon.pos.x=this.xPos,this.deathBoxPolygon.pos.y=this.yPos},t.prototype.reset=function(){this.dispenser?this.die():(this.falling=!1,this.xPos=this.startX-15*Math.cos(this.rad),this.yPos=this.startY-15*Math.sin(this.rad),this.xVelocity=0,this.yVelocity=0,this.sprite.position.set(this.xPos,this.yPos),this.deathBoxPolygon.pos.x=this.xPos,this.deathBoxPolygon.pos.y=this.yPos,this.fallDist=0,this.speed=0)},t.prototype.dispenserFire=function(){this.falling=!0,this.alive=!0,this.xPos=this.startX+15*Math.cos(this.rad),this.yPos=this.startY+15*Math.sin(this.rad),this.xVelocity=0,this.yVelocity=0,this.sprite.position.set(this.xPos,this.yPos),this.sprite.visible=!0,this.deathBoxPolygon.pos.x=this.xPos,this.deathBoxPolygon.pos.y=this.yPos,this.fallDist=0,this.speed=0},t.prototype.die=function(){this.sprite.visible=!1,this.alive=!1},t.prototype.destroy=function(t){void 0===t&&(t=!0),t===this.enableDestroyMain&&(this.sprite.destroy(),this.searchHitBox=null,this.deathBoxPolygon=null,this.graphics.destroy(),r.prototype.destroy.call(this))},t.prototype.resetLevel=function(){this.reset()},t}(Obstacle),LaserPoint=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.laserGraphic=e.add.graphics(0,0,i),s.obstacleType="laser",s}return __extends(t,o),t.prototype.spawn=function(t,e,i,s){this.xPos=t,this.yPos=e,this.xLength=i-t,this.yLength=s-e,this.alive=!0,this.deathHitBoxPolygon=new SAT.Polygon(new SAT.Vector(this.xPos,this.yPos),[new SAT.Vector(0,0),new SAT.Vector(i-t,s-e)]),this.laserGraphic.position.set(this.xPos,this.yPos),this.laserGraphic.lineStyle(2,16724787),this.laserGraphic.moveTo(0,0),this.laserGraphic.lineTo(i-t,s-e)},t.prototype.update=function(){if(Math.random()<.05){var t=Math.random(),e=this.xPos+this.xLength*t,i=this.yPos+this.yLength*t;this.main.createColorParticle(e,i,10*Math.random()-5,-5*Math.random(),16711680,4,!1,!1,10,!0)}},t.prototype.destroy=function(){this.game=null,this.layer=null,this.laserGraphic.destroy(),this.laserGraphic=null,o.prototype.destroy.call(this)},t}(Obstacle),Quadrant=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.sprite=i.create(0,0,"atlas_gameplay","quadrant"),s.sprite.autoCull=!0,s.sprite.anchor.set(.5,.5),s.sprite.visible=!1,s.obstacleType="quadrant",s.deathHitBoxPolygons=[],s}return __extends(t,o),t.prototype.spawn=function(t,e,i,s,o){var n;void 0===o&&(o=1),this.xPos=t,this.yPos=e,this.startX=t,this.startY=e,this.rad=i*Math.PI/180,this.startRad=this.rad,this.rotSpeed=s,this.sprite.position.set(t,e),this.sprite.visible=!0,this.sprite.scale.set(o,o),this.alive=!0,this.attachHitBoxPolygon=new SAT.Box(new SAT.Vector(t,e),10,10).toPolygon(),this.attachHitBoxPolygon.setOffset(new SAT.Vector(-5,-5)),(n=new SAT.Box(new SAT.Vector(0,0),10*o,10*o).toPolygon()).setOffset(new SAT.Vector(75*o,0)),this.deathHitBoxPolygons.push(n),(n=new SAT.Box(new SAT.Vector(0,0),10*o,10*o).toPolygon()).setOffset(new SAT.Vector(0,75*o)),this.deathHitBoxPolygons.push(n),(n=new SAT.Box(new SAT.Vector(0,0),10*o,10*o).toPolygon()).setOffset(new SAT.Vector(-75*o,0)),this.deathHitBoxPolygons.push(n),(n=new SAT.Box(new SAT.Vector(0,0),10*o,10*o).toPolygon()).setOffset(new SAT.Vector(0,-75*o)),this.deathHitBoxPolygons.push(n)},t.prototype.update=function(){this.rad+=this.rotSpeed,this.updatePosition()},t.prototype.updatePosition=function(){this.sprite.position.set(this.xPos,this.yPos),this.sprite.rotation=this.rad;for(var t=0,e=this.deathHitBoxPolygons;t=r.CHARGE_TIME&&(this.fireSpikes(),this.charge=0,this.rad=0)}}this.chargeo.fireTimer)){this.cooldown=0;var t=this.shurikanPool.pop();if(!t)return;var e=1.3*Math.cos(this.rotation*Math.PI/180),i=1.3*Math.sin(this.rotation*Math.PI/180),s=0;90==this.rotation||-90==this.rotation?s=1:0!=this.rotation&&-180!=this.rotation&&180!=this.rotation&&(s=2),this.shurikanActivePool.push(t),t.spawn(this.xPos,this.yPos,e,i,s),this.spawned++,3===this.spawned&&(this.cooldown=-60)}},o.prototype.resetLevel=function(){this.spawned=0,this.cooldown=0},o.prototype.destroy=function(){for(;0this.sparkBlock.rightEdge&&(this.xPos=this.sparkBlock.rightEdge,this.direction="down");break;case"down":this.yPos+=5*this.main.gameSpeed,this.yPos>this.sparkBlock.bottomEdge&&(this.yPos=this.sparkBlock.bottomEdge,this.direction="left");break;case"left":this.xPos-=5*this.main.gameSpeed,this.xPos=this.wires.length-4)return!0;this.followWire=this.wires[this.followInd],this.followDist=0,this.followX=this.followWire.xPos+25*Math.cos(this.followWire.rad)-this.main.game.width/2,this.followY=this.followWire.yPos+25*Math.sin(this.followWire.rad)-this.main.game.height/2,this.followXSpeed=-8*Math.cos(this.followWire.rad),this.followYSpeed=-8*Math.sin(this.followWire.rad)}return this.main.game.camera.x=this.followX,this.main.game.camera.y=this.followY,!1},t.prototype.destroy=function(){var t=this.main.obstacles.indexOf(this.spark);this.main.obstacles.splice(t,1),this.spark.destroy(),this.burning=!1,this.main=null,this.wires=null,this.spark=null},t.prototype.resetLevel=function(){for(var t=0,e=this.wires;t=window.innerHeight))return void this.handleIncorrect();this.handleCorrect()}var e=1;1this.currentLevel.goldTime&&(this.main.sounds.playSound("downgrade"),this.rankType=RANKTYPE.silver,this.setrankingText(this.currentLevel.silverTime));break;case RANKTYPE.silver:t>this.currentLevel.silverTime&&(this.main.sounds.playSound("downgrade"),this.rankType=RANKTYPE.bronza,this.setrankingText(this.currentLevel.bronzeTime));break;case RANKTYPE.bronza:t>this.currentLevel.bronzeTime&&(this.main.sounds.playSound("downgrade"),this.rankType=RANKTYPE.none,this.setrankingText(this.currentLevel.bronzeTime))}}else this.uiElements[UIGPELEMENTS.levelTime].setText(timeDecoratorHub(Date.now()-Constants.levelMapStartTime))},t.prototype.updateAchievment=function(){if(this.showingAchievement&&(this.showTimeAchievement--,this.showTimeAchievement<=0))return this.uiElements[UIGPELEMENTS.achievementContainer].visible=!1,void(this.showingAchievement=!1)},t.prototype.setrankingText=function(t){switch(this.rankType){case RANKTYPE.perfect:this.uiElements[UIGPELEMENTS.levelRankTime].setText(timeDecorator(t)),this.uiElements[UIGPELEMENTS.levelRankTime].addColor("#aeff2f",0),this.uiElements[UIGPELEMENTS.levelRank].frameName="perfect.png";break;case RANKTYPE.gold:this.uiElements[UIGPELEMENTS.levelRankTime].setText(timeDecorator(t)),this.uiElements[UIGPELEMENTS.levelRankTime].addColor("#ffffff",0),this.uiElements[UIGPELEMENTS.levelRank].frameName="gold.png";break;case RANKTYPE.silver:this.uiElements[UIGPELEMENTS.levelRankTime].setText(timeDecorator(t)),this.uiElements[UIGPELEMENTS.levelRankTime].addColor("#ffffff",0),this.uiElements[UIGPELEMENTS.levelRank].frameName="silver.png";break;case RANKTYPE.bronza:this.uiElements[UIGPELEMENTS.levelRankTime].setText(timeDecorator(t)),this.uiElements[UIGPELEMENTS.levelRankTime].addColor("#ffffff",0),this.uiElements[UIGPELEMENTS.levelRank].frameName="bronze.png";break;case RANKTYPE.none:this.uiElements[UIGPELEMENTS.levelRankTime].setText(timeDecorator(t)),this.uiElements[UIGPELEMENTS.levelRankTime].addColor("#96989A",0),this.uiElements[UIGPELEMENTS.levelRank].frameName="bronze.png"}},t.prototype.updateFloor=function(t){this.uiElements[UIGPELEMENTS.levelFloor].setText(t+"/"+Level.ChallengeSteps)},t.prototype.getRank=function(){return this.rankType},t.prototype.getTime=function(){return this.uiElements[UIGPELEMENTS.levelTime].text},t}(Phaser.Group),LevelCompleteUI=function(s){function t(t,e){var i=s.call(this,t)||this;return i.main=e,i.ui=i.game.add.ph2UI("ui_lvl_complete","atlas_ui_lvl_complete"),i.createOverlay(),i.add(i.ui),i.addTouchCallback(),i.localization(),i.visible=!1,i}return __extends(t,s),t.prototype.createOverlay=function(){this.darkGraphics=this.game.add.graphics(0,0,this),this.darkGraphics.alpha=.4,this.darkGraphics.beginFill(0),this.darkGraphics.drawRect(0,0,this.game.width,this.game.height),this.darkGraphics.endFill(),this.darkGraphics.inputEnabled=!0,this.darkGraphics.input.useHandCursor=!1},t.prototype.addTouchCallback=function(){Game.Util.addTouchCallbackToButton("container/close",this.ui,this.hide,this),Game.Util.addTouchCallbackToButton("container/play",this.ui,this.hide,this),Game.Util.addTouchCallbackToButton("container/trophies",this.ui,this.showTrophie,this),Game.Util.addTouchCallbackToButton("container/reload",this.ui,this.resetlevel,this)},t.prototype.localization=function(){Game.LocalizationManager.getInstance(this.game).localizeText("container/title",this.ui,"ui_level_complet_title")},t.prototype.goBack=function(){this.hide(null,null,!0,[]),this.main.exitLevel()},t.prototype.showTrophie=function(){this.main.trophiesUI.show()},t.prototype.resetlevel=function(){this.hide(null,null,!0,[],!0)},t.prototype.show=function(){Constants.pausedMapTime=Date.now(),null!==Constants.actStartTime&&(Constants.pausedActTime=Date.now()),this.main.player.pause(),this.main.keys.hide(),this.main.state=GameStates.Window,this.visible=!0},t.prototype.updateData=function(t,e){var i=Ph2.UISystem.findObject("container/time",this.ui);i.setText(t);var s=Ph2.UISystem.findObject("container/image",this.ui);switch(s.visible=!0,e){case RANKTYPE.perfect:i.setText(t),i.addColor("#ffffff",0),s.frameName="perfect.png";break;case RANKTYPE.gold:i.setText(t),i.addColor("#ffffff",0),s.frameName="gold.png";break;case RANKTYPE.silver:i.setText(t),i.addColor("#ffffff",0),s.frameName="silver.png";break;case RANKTYPE.bronza:i.setText(t),i.addColor("#ffffff",0),s.frameName="bronze.png";break;case RANKTYPE.none:i.setText(t),i.addColor("#ffffff",0),s.frameName="bronze.png",s.visible=!1}"11"===this.main.currentLevelID&&(s.visible=!1,i.addColor("#ffffff",0))},t.prototype.hide=function(t,e,i,s,o){void 0===o&&(o=!1);var n=Date.now()-Constants.pausedMapTime;if(Constants.levelMapStartTime+=n,null!==Constants.actStartTime){var a=Date.now()-Constants.pausedActTime;Constants.actStartTime+=a}this.main.state=GameStates.Playing,this.visible=!1,this.main.player.resume(),this.main.keys.show(),o?(this.main.player.respawn(),this.main.firstSpawn=!0,this.main.resumeOnReset(),this.main.resetLevel()):this.main.pressContinueLevelCompleted()},t.prototype.resize=function(){var t=960this.game.height+500?(this.container.position.y=900,this.container.visible=!1):this.container.position.y-=e/4}},t.prototype.resizeStage=function(t,e){this.container.x=t/2},t}(),OrientationWindow=function(o){function t(t,e,i){var s=o.call(this,t,e,i)||this;return s.frame=i.create(0,0,"orientationWindow"),s.showY=170,s.init(),s.closeButton.position.set(450,-30),s}return __extends(t,o),t}(VexWindow); \ No newline at end of file diff --git a/gs/list/list.html b/gs/list/list.html index 30f2303..aabbc9c 100644 --- a/gs/list/list.html +++ b/gs/list/list.html @@ -67,6 +67,7 @@

HTML5 Games

Trimps Typer Underrun +vex5 Wordle xx142-b2.exe you are bezos