sans titre

Mission: 
Mission 2
Contenu: 
{"backgroundUrl":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/11336/11336-zenad-nabil-713377-unsplash.jpg","characters":[{"position":{"x":14,"y":2},"url":"images/game/charactersV2/bugseven/","code":"character.speed = 7.5;\nalways(function () {\n character.advance();\n character.shoot();\n});\nwhen('blocked', function () {\n character.turn();\n});\nwhen('player arrives', function () {\n player.life = (player.life-1);\n});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"entities_assignment\" id=\"ZEG*6cH9`]@eWy,c^T)Q\" x=\"365\" y=\"202\"><value name=\"variable\"><block type=\"character_variables\" id=\"7A5wZ=~LT6_lffAJe4.|\"><field name=\"variable\">speed</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"s`1cZ%e!Zb])K]X0;P!3\"><field name=\"NUM\">7.5</field></block></value><next><block type=\"always\" id=\"`k+k9.GL5`jw+pxJAn1`\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"U(?|_H_nFVs7)VfP[#D3\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"move_forward\" id=\"6!MMI~Dd?U=;2qEM:mAH\"></block></value><next><block type=\"get_entities_character\" id=\"V{UT6w!d_9l(T#9SS*nQ\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"Ca1a}|%jBT|U0^QEC,}]\"></block></value></block></next></block></statement><next><block type=\"gamecode_when\" id=\"dXco!}avHQVitD3cQN+i\"><value name=\"EVENT\"><block type=\"event_is_blocked\" id=\"[email protected]@4XKIUI8sxz!4ZMyD\"></block></value><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"ofv8eNUHXJt1`|:^Jy7_\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"turn_back\" id=\"56VF=y.om4A/EwmPy+kq\"></block></value></block></statement><next><block type=\"gamecode_when\" id=\"h|%aWe#movL?|wH~B*rN\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"kn~)}TYP-YxX4:W{8|w?\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"xAhSy~vw}|B][email protected]=OAt\"><value name=\"variable\"><block type=\"player_variables\" id=\"aVns1sd8^OZfGv|u03v]\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"=4kd;~Bm03-=ZuoQ)/W[\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"%rLwW+aNg*-Bj:r:lSs[\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"R.MsnFgI;?KZO1d14U_p\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></xml>"},{"position":{"x":20,"y":7},"url":"images/game/charactersV2/bugfour/","code":"character.turn();\nalways(function () {\n character.shoot();\n});\n","width":1,"height":2,"type":"character","id":1,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities_character\" id=\"U)^1?0.xL]!g%t7G|3UY\" x=\"365\" y=\"202\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"turn_back\" id=\"LZ3p-`@ErvHKLtt)4GMo\"></block></value><next><block type=\"always\" id=\"4LgcakQ?UHHs5us+!PMv\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"[~2?Mr5sV^%m0;w{fY%{\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"[email protected];rmu;|u.c4pf\"></block></value></block></statement></block></next></block></xml>"},{"position":{"x":32,"y":5},"code":"character.turn();\nalways(function () {\n character.shoot();\n});\n","url":"images/game/charactersV2/bugfour/","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities_character\" id=\"U)^1?0.xL]!g%t7G|3UY\" x=\"250\" y=\"-340\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"turn_back\" id=\"LZ3p-`@ErvHKLtt)4GMo\"></block></value><next><block type=\"always\" id=\"4LgcakQ?UHHs5us+!PMv\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"[~2?Mr5sV^%m0;w{fY%{\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"[email protected];rmu;|u.c4pf\"></block></value></block></statement></block></next></block></xml>","type":"character","width":1,"height":2,"id":2},{"position":{"x":38,"y":2},"code":"always(function () {\n character.shoot();\n});\n","url":"images/game/charactersV2/bugfour/","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"always\" id=\"4LgcakQ?UHHs5us+!PMv\" x=\"365\" y=\"202\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"[~2?Mr5sV^%m0;w{fY%{\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"[email protected];rmu;|u.c4pf\"></block></value></block></statement></block></xml>","type":"character","width":1,"height":2,"id":3},{"position":{"x":48,"y":2},"url":"images/game/charactersV2/bugheight/","code":"character.flies = true;\nalways(function () {\n if (character.y <= ) {\n character.goTo({x: character.x, y: 8});\n } });\nwhen('player arrives', function () {\n player.life = (player.life-1);\n});\n","width":1,"height":2,"type":"character","id":4,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"entities_assignment\" id=\"q23#2e|v,aV)[email protected]~u\" x=\"365\" y=\"202\"><value name=\"variable\"><block type=\"character_variables\" id=\"[email protected]:4:i8#[email protected]#S`U\"><field name=\"variable\">flies</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"0W1snC6|:wku;lW|K%Ph\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"always\" id=\":8Uwe}[email protected]{}[rShOW8\"><statement name=\"BODY\"><block type=\"condition_if\" id=\"]%+U/=6(4kp.KmA1}ZFR\"><value name=\"IF0\"><block type=\"compare\" id=\"D]9JUl4?%~5/?ZV;QbvT\"><field name=\"OPERATOR\">≤</field><value name=\"FIRST_VALUE\"><block type=\"character_variables\" id=\"a_?*3oYiH2p6q%|L:F)%\"><field name=\"variable\">y</field></block></value></block></value><statement name=\"DO0\"><block type=\"get_entities_character\" id=\"Ry4;^1m4})@dR[uVV?wo\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"go_to\" id=\"u6AT)_8DbJiUhlN[QjDF\"><value name=\"POSITION\"><block type=\"point\" id=\"3;2MlE5wu7XU.kG~,USt\"><value name=\"X\"><block type=\"character_variables\" id=\",S}o?5^)[email protected]]|=ozA=,T\"><field name=\"variable\">x</field></block></value><value name=\"Y\"><block type=\"math_number\" id=\"%g%HWfTAAOv},MT(U4Vi\"><field name=\"NUM\">8</field></block></value></block></value></block></value></block></statement></block></statement><next><block type=\"gamecode_when\" id=\"[email protected](8W_0\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"1SJA+tvV+f]NrX~|=la3\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"]B%Y70hlWz7Of21i9=4b\"><value name=\"variable\"><block type=\"player_variables\" id=\"IDr!w]:B.*J98xebgvqW\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"k*hka4#Wxvcz*=#S4ZqS\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"?`C7^!hR81ENLwAqxjIo\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"~*L2*#e8r%j+qcy,C1Q%\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></next></block></xml>"},{"position":{"x":54,"y":2},"code":"character.flies = true;\nalways(function () {\n if (character.y <= ) {\n character.goTo({x: character.x, y: 8});\n } });\nwhen('player arrives', function () {\n player.life = (player.life-1);\n});\n","url":"images/game/charactersV2/bugheight/","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"entities_assignment\" id=\"q23#2e|v,aV)[email protected]~u\" x=\"250\" y=\"-358\"><value name=\"variable\"><block type=\"character_variables\" id=\"[email protected]:4:i8#[email protected]#S`U\"><field name=\"variable\">flies</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"0W1snC6|:wku;lW|K%Ph\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"always\" id=\":8Uwe}[email protected]{}[rShOW8\"><statement name=\"BODY\"><block type=\"condition_if\" id=\"]%+U/=6(4kp.KmA1}ZFR\"><value name=\"IF0\"><block type=\"compare\" id=\"D]9JUl4?%~5/?ZV;QbvT\"><field name=\"OPERATOR\">≤</field><value name=\"FIRST_VALUE\"><block type=\"character_variables\" id=\"a_?*3oYiH2p6q%|L:F)%\"><field name=\"variable\">y</field></block></value></block></value><statement name=\"DO0\"><block type=\"get_entities_character\" id=\"Ry4;^1m4})@dR[uVV?wo\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"go_to\" id=\"u6AT)_8DbJiUhlN[QjDF\"><value name=\"POSITION\"><block type=\"point\" id=\"3;2MlE5wu7XU.kG~,USt\"><value name=\"X\"><block type=\"character_variables\" id=\",S}o?5^)[email protected]]|=ozA=,T\"><field name=\"variable\">x</field></block></value><value name=\"Y\"><block type=\"math_number\" id=\"%g%HWfTAAOv},MT(U4Vi\"><field name=\"NUM\">8</field></block></value></block></value></block></value></block></statement></block></statement><next><block type=\"gamecode_when\" id=\"[email protected](8W_0\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"1SJA+tvV+f]NrX~|=la3\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"]B%Y70hlWz7Of21i9=4b\"><value name=\"variable\"><block type=\"player_variables\" id=\"IDr!w]:B.*J98xebgvqW\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"k*hka4#Wxvcz*=#S4ZqS\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"?`C7^!hR81ENLwAqxjIo\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"~*L2*#e8r%j+qcy,C1Q%\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></next></block></xml>","type":"character","width":1,"height":2,"id":5},{"position":{"x":69,"y":2},"code":"character.turn();\nalways(function () {\n character.shoot();\n});\n","url":"images/game/charactersV2/bugfour/","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities_character\" id=\"U)^1?0.xL]!g%t7G|3UY\" x=\"250\" y=\"-340\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"turn_back\" id=\"LZ3p-`@ErvHKLtt)4GMo\"></block></value><next><block type=\"always\" id=\"4LgcakQ?UHHs5us+!PMv\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"[~2?Mr5sV^%m0;w{fY%{\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"[email protected];rmu;|u.c4pf\"></block></value></block></statement></block></next></block></xml>","type":"character","width":1,"height":2,"id":6},{"position":{"x":45,"y":6},"code":"always(function () {\n character.shoot();\n});\n","url":"images/game/charactersV2/bugfour/","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"always\" id=\"4LgcakQ?UHHs5us+!PMv\" x=\"365\" y=\"202\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"[~2?Mr5sV^%m0;w{fY%{\"><field name=\"NAME\">character</field><value name=\"BODY\"><block type=\"shoot\" id=\"[email protected];rmu;|u.c4pf\"></block></value></block></statement></block></xml>","type":"character","width":1,"height":2,"id":7}],"tiles":[{"position":{"x":0,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":1,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":2,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":6,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":7,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":8,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":9,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":10,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":11,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":12,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":13,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":14,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":15,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":16,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":0,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":17,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":18,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":19,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":20,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":21,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":22,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":23,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":24,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":25,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":24,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":25,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":25,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":32,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":33,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":32,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":34,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":34,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":31,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":34,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":37,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":38,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":40,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":41,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":33,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":44,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":45,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":46,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":47,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":49,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":50,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":51,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":52,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":53,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":55,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":56,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":58,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":57,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":59,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":61,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":62,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":63,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":64,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":65,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":66,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":67,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":75,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":74,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":68,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":72,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":69,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":70,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":71,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":72,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":73,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":54,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":48,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":75,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":75,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":75,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":74,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":74,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":74,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":73,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":73,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":73,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":72,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":71,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":71,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":70,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":72,"y":4},"traversable":false,"code":null},{"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"when('player arrives', function () {\n victory();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"[U%/ba,5OuYg9lj~~ci*\" x=\"670\" y=\"-10\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\";kby-`dBvdr^4Ep],,k!\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"[/QF`#Y0^+c-=ajpjbO+\"></block></statement></block></xml>","traversable":true,"position":{"x":75,"y":5}},{"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"when('player arrives', function () {\n victory();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"[U%/ba,5OuYg9lj~~ci*\" x=\"670\" y=\"-10\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\";kby-`dBvdr^4Ep],,k!\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"[/QF`#Y0^+c-=ajpjbO+\"></block></statement></block></xml>","traversable":true,"position":{"x":72,"y":5}},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":6,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":7,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":7,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":8,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":8,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":8,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":10,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":11,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":12,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":13,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":14,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":13,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":15,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":17,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":18,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":19,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":19,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":20,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":21,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":16,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":16,"y":4},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/inter01.png","position":{"x":14,"y":5},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"/2REw/ns9wl_4-=+x%nS\" x=\"365\" y=\"202\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"zUse5k]-1hx4+hR)RtzP\"></block></value><statement name=\"BODY\"><block type=\"game_over\" id=\"G%:[email protected]}g/\"></block></statement></block></xml>","code":"when('player arrives', function () {\n defeat();\n});\n"},{"url":"images/game/bonus/inter01.png","type":"item","code":"when('player arrives', function () {\n defeat();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"/2REw/ns9wl_4-=+x%nS\" x=\"670\" y=\"91\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"zUse5k]-1hx4+hR)RtzP\"></block></value><statement name=\"BODY\"><block type=\"game_over\" id=\"G%:[email protected]}g/\"></block></statement></block></xml>","traversable":true,"position":{"x":18,"y":5}},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":13,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":22,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":23,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":26,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":26,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":26,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":26,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":27,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":28,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":29,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":30,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":31,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":29,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":30,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":31,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":33,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":34,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":35,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":37,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":38,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":36,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":42,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":19,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":40,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":42,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":45,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":46,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":47,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":43,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":44,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":26,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":25,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":24,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":23,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":29,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":28,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":22,"y":7},"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=\"entities_assignment\" id=\"yS=*wH^cQ,ygGAXXS-/C\" x=\"365\" y=\"202\"><value name=\"variable\"><block type=\"player_variables\" id=\"V(tig4XuP,[email protected],d\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"p2Z_)9`z`.L[W%JuZenV\"><field name=\"NUM\">15</field></block></value><next><block type=\"gamecode_when\" id=\"%c0{vb1lXB|[email protected]\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"9vz%wSwZ)4TP=,uSWs=/\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"S-W9X[HQQHa;[email protected]\"><value name=\"variable\"><block type=\"player_variables\" id=\"!e`wk)ZLV}xW!W#ann|@\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"0FgJ6XGp#E/j]tK,IjKu\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"b2ULw;C4FApIVg-reg/K\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"hQb[Cxh:}l:]Ff*v=0dV\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"condition_if\" id=\"R3T~z[-{0rL+T[bXbP6i\"><value name=\"IF0\"><block type=\"logic_operation\" id=\")GXNa3?F7oaal#z5b%rW\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"compare\" id=\"z`6gTH67JVAaP`g0PSXg\"><field name=\"OPERATOR\">≥</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"#|I1QxsQ1kab44)o||)L\"><field name=\"variable\">life</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"Iw7},YsNC|ocaH4L5e+Q\"><field name=\"NUM\">10</field></block></value></block></value><value name=\"B\"><block type=\"compare\" id=\".EeG2.59dq8{t6z(JLn|\"><field name=\"OPERATOR\">≤</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"SW7F]X2G./[email protected]\"><field name=\"variable\">life</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"[email protected];xmbm-p94gyZ#GhY\"><field name=\"NUM\">5</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entities_assignment\" id=\"[email protected]*j\"><value name=\"variable\"><block type=\"player_variables\" id=\"xet{{.2we=X1JjinFHoe\"><field name=\"variable\">speed</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"%qqx!xK~6/{W!)nkw97R\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"q0JmpmV8L%oi3d[yln._\"><field name=\"variable\">speed</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ZiiIK91bu+ZDmSu?JJU=\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></statement></block></next></block></xml>","code":"player.life = 15;\nwhen('is hit', function () {\n player.life = (player.life-1);\n if (player.life >= 10 && player.life <= 5) {\n player.speed = (player.speed+1);\n } });\n"},"endGame":{"wallpaper":"images/game/end_screens/end_screen_2.jpg","winText":"Victory!","loseText":"Game Over!"},"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=\"278\" y=\"185\"><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":"","assetsLibrary":{"backgrounds":["https://www.code-decode.net/sites/default/files/images_modules/gamecode/11336/11336-nature-3048299_1920.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/11336/11336-zenad-nabil-713377-unsplash.jpg"]},"customBlocklyDropdowns":{"character":[["invincible","invincible"]],"player":[["invincible","invincible"]]},"needed":true}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

GameCode partners