sans titre

Mission: 
Mission 1
Contenu: 
{"backgroundUrl":"images/game/end_screens/end_screen_0.jpg","characters":[{"position":{"x":17,"y":2},"url":"images/game/charactersV2/bugseven/","code":"personnage.vitesse = 15;\nquand('est touché', fonction () {\n personnage.disparait();\n personnage.dit('Ouille !');\n});\ntoujours(fonction () {\n personnage.avance();\n});\nquand('est bloqué', fonction () {\n personnage.retourneToi();\n});\nquand('joueur arrive', fonction () {\n joueur.vie = (joueur.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=\"Ts(M{|f#BtXTq_gXE!Z~\" x=\"301\" y=\"170\"><value name=\"variable\"><block type=\"character_variables\" id=\"dwv%MBuQO5|#zsCu:YDe\"><field name=\"variable\">vitesse</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"Bs~N4d*GC-09oU?o{uu/\"><field name=\"NUM\">15</field></block></value><next><block type=\"gamecode_when\" id=\"K1*06_:8{E2gx@~%?(o*\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"Z5Ac@h#F|rH](,m-Unh%\"></block></value><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"2wI#7BvPrQ2eLTmTG6}F\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"disappear\" id=\"3xZe;!w_:aw-jAj.~ww}\"></block></value><next><block type=\"get_entities_character\" id=\"J.?4_ymx)#[c0_|#!h,C\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"v=tj]+LDnCY|dBB(emuU\"><value name=\"TEXT\"><block type=\"text\" id=\"{bb:1AumBB_mNwnonv!8\"><field name=\"TEXT\">Ouille !</field></block></value></block></value></block></next></block></statement><next><block type=\"always\" id=\";|1MT[l:e67Qmx#%q?0j\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"4aH;yzh{HVEx]E5gbAH!\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"move_forward\" id=\"{/lwR}.Uu1:^.s?0IkcJ\"></block></value></block></statement><next><block type=\"gamecode_when\" id=\")}f-U?i/%:jGRJ~t]}-b\"><value name=\"EVENT\"><block type=\"event_is_blocked\" id=\"/9AdOY0oJ8]+Dt5Q;5Ad\"></block></value><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"DUkEAV%RzU6x?:.;}~A9\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"turn_back\" id=\"]w#)r4ZWo2m!(5R.pc1+\"></block></value></block></statement><next><block type=\"gamecode_when\" id=\"m4M20!Y#if{DJmA^GG9h\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"SKbRD|_G?8`5eUDdo3Y+\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"AqBBFCTx{?AZ%HL0`9Yq\"><value name=\"variable\"><block type=\"player_variables\" id=\"m@kifzV.O_EF2T4cUJO4\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"Tnc8U!BD]qIMN84r!#R2\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"`DFJST3s])@G*g#7u^q!\"><field name=\"variable\">life</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"p_T#*@s706}2-zMui%ZQ\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></next></block></xml>"},{"position":{"x":26,"y":1},"url":"images/game/charactersV2/bugheight/","code":"personnage.retourneToi();\n\npersonnage.vole = false;\npersonnage.cadenceDeTir = 0.5;\npersonnage.vaVers({x: personnage.x, y: 8});\ntoujours(fonction () {\n if (personnage.y >= 8) {\n personnage.vaVers({x: personnage.x, y: 1});\n } else if (personnage.y <= 1) {\n personnage.vaVers({x: personnage.x, y: 8});\n }});\nquand('est touché', fonction () {\n personnage.dit('Oh no!');\n personnage.disparait();\n});\ntoujours(fonction () {\n personnage.tire();\n});\npersonnage.vitesse = 4;\n","width":1,"height":2,"type":"character","id":1,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities_character\" id=\"sb2Lv792=_wj~e,_OkCX\" x=\"249\" y=\"170\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"turn_back\" id=\"10.0u:=q@sXF~nKxI{d,\"></block></value></block><block type=\"entities_assignment\" id=\"wALOA+)Y3pw,J0-//+2Q\" x=\"301\" y=\"200\"><value name=\"variable\"><block type=\"character_variables\" id=\"n#b9VcwNJ,||f*8?zoxc\"><field name=\"variable\">vole</field></block></value><value name=\"value\"><block type=\"logic_boolean\" id=\"-LK9wxk=N,X|Q=C%x%#Z\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"entities_assignment\" id=\"-UH/Qvjic9k_iilfm?^5\"><value name=\"variable\"><block type=\"character_variables\" id=\"KIqSxYI_v]VaNO/[C7YY\"><field name=\"variable\">cadenceDeTir</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"n+}Q:5hHTI1~DfC:B#Ts\"><field name=\"NUM\">0.5</field></block></value><next><block type=\"get_entities_character\" id=\"D]y0HVYTp38@(X?N7bG3\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"go_to\" id=\"z,;SnV9HCTWlfNbzw+v]\"><value name=\"POSITION\"><block type=\"point\" id=\"^dj64?L9cf5OrpJB(2Y9\"><value name=\"X\"><block type=\"character_variables\" id=\"7ML5_%u0,}fN;tr:8dgc\"><field name=\"variable\">x</field></block></value><value name=\"Y\"><block type=\"math_number\" id=\"HuPOYfs5Nwaoy-/*CNQs\"><field name=\"NUM\">8</field></block></value></block></value></block></value><next><block type=\"always\" id=\"=4pig7M#Q2z6Om=ZZMH9\"><statement name=\"BODY\"><block type=\"condition_if\" id=\"I:Zv{kMB!^=7txscM8U5\"><mutation elseif=\"1\"></mutation><value name=\"IF0\"><block type=\"compare\" id=\"Yec^Qdjy)Ph9Zni9/1.~\"><field name=\"OPERATOR\">≥</field><value name=\"FIRST_VALUE\"><block type=\"character_variables\" id=\"Pz9A~9:pmSOs|~dxo%^/\"><field name=\"variable\">y</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"iMra._NHy/-G)!kPlz|j\"><field name=\"NUM\">8</field></block></value></block></value><statement name=\"DO0\"><block type=\"get_entities_character\" id=\"apdV#_+41Siz;K``nDuK\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"go_to\" id=\"x#SDT2xyKoYCst8=%@kG\"><value name=\"POSITION\"><block type=\"point\" id=\"vIV~Tq6TzC51`[;]Xi#v\"><value name=\"X\"><block type=\"character_variables\" id=\"L%|0E9r^aS=:U~l8?Txb\"><field name=\"variable\">x</field></block></value><value name=\"Y\"><block type=\"math_number\" id=\"9)B?D[Dlm}}n=}M,9?3~\"><field name=\"NUM\">1</field></block></value></block></value></block></value></block></statement><value name=\"IF1\"><block type=\"compare\" id=\"E]T{^##M3CGlVOq?QSqd\"><field name=\"OPERATOR\">≤</field><value name=\"FIRST_VALUE\"><block type=\"character_variables\" id=\"Vq4MML[K:zOE[`RXv;l|\"><field name=\"variable\">y</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\".40SWUIbt0_PfiOWD:sN\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO1\"><block type=\"get_entities_character\" id=\"84^bRmtRhq%6y{UqX!s}\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"go_to\" id=\"@G/vl?sz_r,(?f2V}j}V\"><value name=\"POSITION\"><block type=\"point\" id=\")ynSdFtZcmjEqgI3xz!`\"><value name=\"X\"><block type=\"character_variables\" id=\"v(M;LvhLyzqun/yB5EM)\"><field name=\"variable\">x</field></block></value><value name=\"Y\"><block type=\"math_number\" id=\"X)D9qE9wAN*tOkAL*2sM\"><field name=\"NUM\">8</field></block></value></block></value></block></value></block></statement></block></statement><next><block type=\"gamecode_when\" id=\"bIjd-1fw]2/cXeYlSd:A\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"B_Xl2M3dd4li)|zR;2OD\"></block></value><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"BDCU;y(Oxlp8qFO#DLr8\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"Arj!;DPUmriS+qyPET9!\"><value name=\"TEXT\"><block type=\"text\" id=\";RXZ9ZR}S;UW5tU~M6wo\"><field name=\"TEXT\">Oh no!</field></block></value></block></value><next><block type=\"get_entities_character\" id=\"+l!|AQ/}!)X_BN}W0Bl1\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"disappear\" id=\"u:=dx*#+qr3M6=F4TdE5\"></block></value></block></next></block></statement><next><block type=\"always\" id=\"rgR?vJ1hxM[0J;Jug4?Z\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"hC#F^JNTPSO#O,N(HrnT\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"shoot\" id=\"0Iq4|m_Lr]3E(JF;=P3g\"></block></value></block></statement><next><block type=\"entities_assignment\" id=\"M!G5wnLq%*R)}2_]+pfi\"><value name=\"variable\"><block type=\"character_variables\" id=\"Usu6m5iSdwQO?}J:ga^J\"><field name=\"variable\">vitesse</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"euvG()A?G`a[a.cC4nKX\"><field name=\"NUM\">4</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>"}],"tiles":[{"position":{"x":0,"y":1},"url":"images/game/blocks/grass/HERBE-GAUCHE.png","type":"wall","code":null,"traversable":false},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":1,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":2,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":3,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":4,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":5,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":6,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-DROITE.png","type":"wall","position":{"x":7,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":9,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":9,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AA.png","type":"wall","position":{"x":9,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AB.png","type":"wall","position":{"x":10,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AC.png","type":"wall","position":{"x":11,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BC.png","type":"wall","position":{"x":11,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BC.png","type":"wall","position":{"x":11,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BB.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BB.png","type":"wall","position":{"x":10,"y":1},"traversable":false,"code":null},{"url":"images/game/bonus/drapeau_jaune.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","traversable":true,"position":{"x":0,"y":2}},{"url":"images/game/blocks/grass/HERBE-GAUCHE.png","type":"wall","position":{"x":13,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":14,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":15,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":16,"y":1},"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/dalle.png","type":"wall","position":{"x":14,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-DROITE.png","type":"wall","position":{"x":21,"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/dalle.png","type":"wall","position":{"x":20,"y":2},"traversable":false,"code":null},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"301\" y=\"170\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":4,"y":4}},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"301\" y=\"170\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":10,"y":6}},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"249\" y=\"475\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":17,"y":5}},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":23,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BA.png","type":"wall","position":{"x":23,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AC.png","type":"wall","position":{"x":25,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BC.png","type":"wall","position":{"x":25,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BC.png","type":"wall","position":{"x":25,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AB.png","type":"wall","position":{"x":24,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-AA.png","type":"wall","position":{"x":23,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BB.png","type":"wall","position":{"x":24,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/stone/ROCHE-BB.png","type":"wall","position":{"x":24,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-GAUCHE.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":32,"y":1},"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":34,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-DROITE.png","type":"wall","position":{"x":35,"y":1},"traversable":false,"code":null},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"211\" y=\"170\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":28,"y":4}},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"211\" y=\"170\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":34,"y":4}},{"url":"images/game/blocks/dalle.png","type":"wall","position":{"x":31,"y":2},"traversable":false,"code":null},{"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"quand('joueur arrive', fonction () {\n victoire();\n});\n\ngravite = 50;","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"EXn3bK]TF*_Dg4Ruc}?K\" x=\"-2670\" y=\"-1049\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"2;-Ghtnv`M[1cF`F[z}J\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"6Vrhgrpq*KR4i)[8NGlp\"></block></statement></block><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"211\" y=\"170\"><value name=\"VALUE\"><block type=\"math_number\" id=\",Q)DNQ?o,qry-f+8S/.m\"><field name=\"NUM\">50</field></block></value></block></xml>","traversable":true,"position":{"x":35,"y":2}},{"url":"images/game/bonus/anims/hearth.png","type":"item","code":"gravite = 50;\nquand('joueur arrive', fonction () {\n joueur.vie = (joueur.vie+1);\n objet.disparait();\n objet.dit('+10');\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"-3173\" y=\"62\"><value name=\"VALUE\"><block type=\"math_number\" id=\",Q)DNQ?o,qry-f+8S/.m\"><field name=\"NUM\">50</field></block></value></block><block type=\"gamecode_when\" id=\"#@n1GdFf}5{Ci~F2Yl=]\" x=\"249\" y=\"170\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\":5[w.^:73)y4Hyp3u.7y\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"H6IguZp4?=1*gL6X}yE~\"><value name=\"variable\"><block type=\"player_variables\" id=\"uVjdtOS]I%Uw9;fK34/S\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"q32HOJ?b7X|mIyjVv(zO\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"[?Bo]5{Or_?89{[-ZsMv\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"CFveJ3f-!smdJ`J7PVbA\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_object\" id=\"MgGcs/8#sU9p~7O{56/=\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"aqy*^dK.p4MA0=8Sh*7V\"></block></value><next><block type=\"get_entities_object\" id=\"kVWiNudE]7:yxYg|_KNz\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"^kLgG:kqJuHU3ZQm)P?g\"><value name=\"TEXT\"><block type=\"text\" id=\"TCl]pPvP=]~;D4@W[,;!\"><field name=\"TEXT\">+10</field></block></value></block></value></block></next></block></next></block></statement></block></xml>","traversable":true,"position":{"x":24,"y":6}},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"var scoreText;\n\n\nscoreText = 'Score:';\nquand('joueur arrive', fonction () {\n joueur.Score = (joueur.Score+1);\n joueur.dit(scoreText+joueur.Score);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"m]/wrcxsrAfR]{DE-m6)\" x=\"211\" y=\"170\"><field name=\"VARNAME\">scoreText</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"7^Et[gXyXmr2hTNwd!f7\"><field name=\"TEXT\">Score:</field></block></value><next><block type=\"gamecode_when\" id=\"r,zl,j~cW:3)[63+?bGm\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"iMMnrQ|gzQ`:QDUVuk3D\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"bU|s.gR(#rp`+{%v[15^\"><value name=\"variable\"><block type=\"player_variables\" id=\"^F%PQ%Ao~4-JUXysih6)\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"cC)i~l[@%Jc|v{o~.+~.\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"g`E7#5BRsn}%!sI+Q:XV\"><field name=\"variable\">Score</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"zWi0[m:#{b%jPN?MLi.,\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_player\" id=\":~t^nhQuaj2};amz4dUo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"!DVrr4jwKy(4a6?HeCy;\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"eKFBRa#~Nda/b1IoG1Ix\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"4@IKf,#YQ4796V*/5PGq\"><field name=\"VAR\">scoreText</field></block></value><value name=\"B\"><block type=\"player_variables\" id=\"{BZ++FZ+S!}%/,nF[.HS\"><field name=\"variable\">Score</field></block></value></block></value></block></value><next><block type=\"get_entities_object\" id=\"]H.!IEBXgM=-wogm!/QS\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"[s+@ONAA;dvwf%C^b8#A\"></block></value></block></next></block></next></block></statement></block></next></block></xml>","traversable":true,"position":{"x":31,"y":5}}],"player":{"urls":{"head":"images/game/players/elf/","body":"images/game/players/elf/","bullet":"images/game/players/elf/"},"position":{"x":1,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"entities_assignment\" id=\"@L=q@CAi3DHzB%h#-)/w\" x=\"301\" y=\"170\"><value name=\"variable\"><block type=\"player_variables\" id=\"5a}@.(^uWmKX:D4PbCJA\"><field name=\"variable\">hauteurSaut</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"%ZzcnIJ*iOYip[uKB^+7\"><field name=\"NUM\">1</field></block></value><next><block type=\"entities_assignment\" id=\"qQcO;gAEo^qd`@HSm_%o\"><value name=\"variable\"><block type=\"player_variables\" id=\"HA-fPc1{%h@lc]jw9:^`\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"?R(UtMCg1txX?`~p%ixs\"><field name=\"NUM\">1</field></block></value><next><block type=\"entities_assignment\" id=\"I2lLXyvTX.:s4/1s1A}6\"><value name=\"variable\"><block type=\"player_variables\" id=\"Tyb#m%sFbD:A85EFB3)I\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"4uQrE@PU,dsc;(Vh9Kx0\"><field name=\"NUM\">1</field></block></value><next><block type=\"entities_assignment\" id=\"gBD!X{F(p)4yq8c:mL09\"><value name=\"variable\"><block type=\"player_variables\" id=\"ZJGfq41[,.9_Oh|SKuT7\"><field name=\"variable\">Score</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"v`a1Mt1]4Y#|e=ss|W3U\"><field name=\"NUM\">0</field></block></value><next><block type=\"gamecode_when\" id=\"5d?4/ahcX+6k38[M`afG\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"8H-8YfF3QRFf?/K-bM2h\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"VWfH!ID,?A6)!RVnUw5=\"><value name=\"variable\"><block type=\"player_variables\" id=\"xdmfz@K:#4a)dLIvIYi6\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"?kPak7ovMq]wH@c(SpeA\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"d!FcMo@ayyn?KgAA,|_q\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ls(mpcF{U4^jjB}|kBTB\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></next></block></xml>","code":"joueur.hauteurSaut = 1;\njoueur.vie = 1;\njoueur.vie = 1;\njoueur.Score = 0;\nquand('est touché', fonction () {\n joueur.vie = (joueur.vie-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=\"211\" y=\"170\"><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":"","customBlocklyDropdowns":{"player":[["Score","Score"]]},"needed":true}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

Nos partenaires GameCode