sans titre

Mission: 
Mission 1
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":16,"y":6},"url":"images/game/charactersV2/bugfour/","code":"character.rateOfFire = 0.5;\ncharacter.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=\"entities_assignment\" id=\"cNSK2c72rKX2OTQVsY83\" x=\"365\" y=\"202\"><value name=\"variable\"><block type=\"character_variables\" id=\"E=8l:|;p_[ce,3k*Da6I\"><field name=\"variable\">rateOfFire</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"^mNG}0Ig8=63#VAKqPeb\"><field name=\"NUM\">0.5</field></block></value><next><block type=\"get_entities_character\" id=\"U)^1?0.xL]!g%t7G|3UY\"><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></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":42,"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=\"250\" y=\"-340\"><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=\"330\" y=\"-210\"><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}],"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":11,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":12,"y":5},"traversable":false,"code":null},{"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":8,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":9,"y":5},"traversable":false,"code":null},{"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":6,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":15,"y":5},"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":17,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":17,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":18,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":18,"y":7},"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":20,"y":7},"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":20,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":21,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":22,"y":5},"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":29,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":28,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":27,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":28,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":28,"y":2},"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":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":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":32,"y":2},"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":35,"y":6},"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":34,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":34,"y":2},"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":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":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":39,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":39,"y":2},"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":33,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":43,"y":5},"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":42,"y":5},"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}}],"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=\"h*DT6z(7-%[fg`7zAI#A\" x=\"252\" y=\"139\"><value name=\"variable\"><block type=\"player_variables\" id=\"DT_(VA^}AuH##r(al}qo\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"c*u-q#d1BL0oLi-z=yMG\"><field name=\"NUM\">10</field></block></value><next><block type=\"entities_assignment\" id=\"0}}:{iZJ38n}[email protected])t=\"><value name=\"variable\"><block type=\"player_variables\" id=\"jd:@oR!gr!L#N7IJnf[N\"><field name=\"variable\">invincible</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"!Lpx-0+iJ^~9GlZ1xrKZ\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"gamecode_when\" id=\"oD8`o9IPQ9kr!#iZN#jM\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"nOa(ecvn.B,Cb`lee90Z\"></block></value><statement name=\"BODY\"><block type=\"condition_if\" id=\"e;^t-;n0O4xE*`[email protected]]RG\"><mutation elseif=\"1\"></mutation><value name=\"IF0\"><block type=\"compare\" id=\"_a^.]q%WLorvF0GI}Ye)\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"^#h|@VHI#1|S}jdv[]nj\"><field name=\"variable\">invincible</field></block></value><value name=\"SECOND_VALUE\"><block type=\"logic_boolean\" id=\":u8J`n=s%[email protected]\"><field name=\"BOOL\">FALSE</field></block></value></block></value><statement name=\"DO0\"><block type=\"condition_if\" id=\"ym65i329NfT}#=Theodz\"><value name=\"IF0\"><block type=\"compare\" id=\";QtB?%1[XtWs+5=Q[2vf\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"J+-3hwKLG*[email protected]/A2p?\"><field name=\"variable\">life</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\".R.`fvb5qzKn=|GE47gb\"><field name=\"NUM\">6</field></block></value></block></value><statement name=\"DO0\"><block type=\"entities_assignment\" id=\"Z/AO,=#n~}1{Z1!;~A1)\"><value name=\"variable\"><block type=\"player_variables\" id=\"[email protected]:k(j+H?=Q`A]O5yv\"><field name=\"variable\">invincible</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"ytGoXxX=q;5tKi=:7*iu\"><field name=\"BOOL\">TRUE</field></block></value><next><block type=\"delay\" id=\"-VdyGBc/owwcDp0z5z7d\"><value name=\"seconds\"><block type=\"math_number\" id=\"#0c;=[!~wK}?w+J.C=2;\"><field name=\"NUM\">5</field></block></value><statement name=\"body\"><block type=\"entities_assignment\" id=\"fS+/[email protected],C.1AhiI|\"><value name=\"variable\"><block type=\"player_variables\" id=\"8tBiVJiI%[email protected]\"><field name=\"variable\">invincible</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"KP/n]!C^!{^g*856hEq;\"><field name=\"BOOL\">FALSE</field></block></value></block></statement></block></next></block></statement><next><block type=\"entities_assignment\" id=\"Zy6s]@r?HtErT.pQGq73\"><value name=\"variable\"><block type=\"player_variables\" id=\"[email protected]:qWqAP\"><field name=\"variable\">life</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"[email protected])Sqh[f{x^t+!\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"Iwezg)1HOQ])cICC.zfO\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"G%tr`[email protected](fUNm=tF~5ElQ\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement><value name=\"IF1\"><block type=\"compare\" id=\"u/DdZ{P2k_P2s%:s|zSm\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"v(|3CWcIn.w+lFDGV;9}\"><field name=\"variable\">invincible</field></block></value><value name=\"SECOND_VALUE\"><block type=\"logic_boolean\" id=\"R#~q4MtFv8{#w]e~M(|z\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO1\"><block type=\"get_entities_player\" id=\"--le|n|Zw[g5wn}u(PGi\"><field name=\"NAME\">player</field><value name=\"BODY\"><block type=\"says\" id=\"}1yp.3,mGct)HCmVyvFx\"><value name=\"TEXT\"><block type=\"text\" id=\"X,)f4{*%[;/Yhp:1%k8}\"><field name=\"TEXT\">I'm Invincible!</field></block></value></block></value></block></statement></block></statement></block></next></block></next></block></xml>","code":"player.life = 10;\nplayer.invincible = false;\nwhen('is hit', function () {\n if (player.invincible === false) {\n if (player.life === 6) {\n player.invincible = true;\n delay(5 + ' seconds', function () {\n player.invincible = false;\n });\n } player.life = (player.life-1);\n } else if (player.invincible === true) {\n player.says('I\\'m Invincible!');\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":"gravity = 50;","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"460\" y=\"266\"><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