test
Application:
Contenu:
{"backgroundUrl":"images/game/end_screens/snow_land.png","characters":[{"position":{"x":3,"y":7},"url":"images/game/characters/bugfive/","code":"gravite = 50;","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"397\" y=\"242\"><value name=\"VALUE\"><block type=\"math_number\" id=\",Q)DNQ?o,qry-f+8S/.m\"><field name=\"NUM\">50</field></block></value></block></xml>"},{"position":{"x":6,"y":5},"url":"images/game/charactersV2/bugsix/","code":"","width":1,"height":2,"type":"character","id":1}],"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":16,"y":2},"traversable":true,"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>"},{"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":2,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"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},{"url":"images/game/blocks/bidon.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/pilule.png","position":{"x":0,"y":3},"traversable":true},{"url":"images/game/blocks/wood/BOIS-CB.png","type":"wall","position":{"x":3,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-CC.png","type":"wall","position":{"x":4,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-CA.png","type":"wall","position":{"x":2,"y":6},"traversable":false,"code":null},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","traversable":true,"position":{"x":2,"y":7}},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":4,"y":7},"traversable":true},{"type":"item","url":"images/game/bonus/anims/hearth.png","position":{"x":7,"y":5},"traversable":true}],"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=\"199\" y=\"152\"><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', function (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=\"242\"><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":""}