essai

Application:

Contenu: 
{"backgroundUrl":"images/game/end_screens/end_screen_3.png","characters":[{"position":{"x":7,"y":2},"url":"images/game/characters/bugfive/","code":"","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>"}],"tiles":[{"position":{"x":0,"y":2},"traversable":true,"url":"images/game/bonus/drapeau_jaune.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>"},{"position":{"x":0,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":1,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":6,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":7,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":8,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":9,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":10,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":11,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":12,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":13,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":14,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":15,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":16,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":5,"y":3},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","code":""},{"url":"images/game/blocks/bidon.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":5,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":2,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":3,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":19,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":20,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":21,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":22,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":23,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":26,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":27,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":34,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":35,"y":1},"traversable":false,"code":null},{"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"quand('joueur arrive', function () {\n victoire();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"`=5(oRMY-`S.Dy^ccqg|\" x=\"199\" y=\"152\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"g]iO2wv,i]x,k]k8nTRO\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"j81J@Bo78F4]`J;1pPNj\"></block></statement></block></xml>","traversable":true,"position":{"x":35,"y":2}},{"url":"images/game/bonus/action2.png","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":17,"y":2}},{"url":"images/game/bonus/action2.png","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":24,"y":2}},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":32,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":31,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BB.png","type":"wall","position":{"x":30,"y":3},"traversable":false,"code":null},{"url":"images/game/bonus/action2.png","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":28,"y":2}},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":36,"y":1},"traversable":false,"code":null}],"player":{"urls":{"head":"images/game/players/elf/","body":"images/game/players/elf/","bullet":"images/game/players/elf/"},"position":{"x":3,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_hit\" id=\",3RqJDesd,HRzhQ60yz/\" x=\"397\" y=\"249\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"yM@[G~`0JYo|fvK6-QzY\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"jump\" id=\"^DO:LZc|`uVse92mwq#~\"></block></value></block></statement></block></xml>","code":"quand('tir touche', fonction (personnage) {\n personnage.saute();\n});\n"},"endGame":{"wallpaper":"images/game/end_screens/end_screen_2.jpg","winText":"Victoire !","loseText":"Défaite :("},"sounds":{"music":"sounds/musics/feel_good","win":"sounds/win/01","loose":"sounds/loose/01","items":"sounds/bonus/01"},"soundEnable":false,"name":"Test","goal":"Finir le niveau","generalScript":"gravite = 50;","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"397\" y=\"249\"><value name=\"VALUE\"><block type=\"math_number\" id=\",Q)DNQ?o,qry-f+8S/.m\"><field name=\"NUM\">50</field></block></value></block></xml>","code":""}