Le grand voyage
- mai 04, 2017
- Ritha
Contenu:
{"backgroundUrl":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-Tour_Eiffel_-_25_Janvier_2012_-_Paris,_FRANCE.JPG","characters":[{"position":{"x":10,"y":3},"url":"images/game/charactersV2/bugsix/","code":"personnage.dit('je vais te poser des questions...');\nretarder(2 + ' secondes', fonction () {\n personnage.dit('Qui a été l\\'ingénieur de la tour Eiffel ?');\n});\nretarder(15 + ' secondes', fonction () {\n personnage.disparait();\n});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities\" id=\"([E!cfd..K`0!~|3IB|/\" x=\"-1132\" y=\"265\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"oK/SLm`vJKsIsa%]y:A#\"><value name=\"TEXT\"><block type=\"text\" id=\"HF2Jz(BNXqW5dV%Scq]=\"><field name=\"TEXT\">je vais te poser des questions...</field></block></value></block></value><next><block type=\"delay\" id=\"UnmGAivnU7N%m7[@ss%=\"><value name=\"seconds\"><block type=\"math_number\" id=\"73Qy-Ybwnd*69GFZP/%%\"><field name=\"NUM\">2</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"Z*#/]P/fr9vbFt@;oK.2\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"UBfcVw2hS`4KhWF0)H]O\"><value name=\"TEXT\"><block type=\"text\" id=\"1#F1+gGF%^m`K;yDWM-M\"><field name=\"TEXT\">Qui a été l'ingénieur de la tour Eiffel ?</field></block></value></block></value></block></statement><next><block type=\"delay\" id=\"MRr@!x*FcRZL{=(W^1Q:\"><value name=\"seconds\"><block type=\"math_number\" id=\"~Di=h=rBZN?dDVpxbE#H\"><field name=\"NUM\">15</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"y7+MXph0;9^B#z}Y.i+S\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"disappear\" id=\"r(~vU6GUa:O9ec_0oXZu\"></block></value></block></statement></block></next></block></next></block></xml>"},{"position":{"x":37,"y":2},"url":"images/game/charactersV2/bugseven/","code":"quand('joueur arrive', fonction () {\n personnage.dit('Je vais te poser des questions...');\n retarder(1 + ' secondes', fonction () {\n personnage.dit('Qui a écrit le tour du monde en 80 jours ?');\n });\n retarder(15 + ' secondes', fonction () {\n personnage.disparait();\n });\n});\n","width":1,"height":2,"type":"character","id":1,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"85Usf3js_odJ6IgL#WBy\" x=\"-1064\" y=\"197\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\".2~x]j@8DUapwu%ur_MY\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"Fq:b3U~?58)S,O-ch3;Y\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"1[OyxnKwA4.o4,%SN/_x\"><value name=\"TEXT\"><block type=\"text\" id=\"^rJ4Bx)S}XEGLyHf`*HV\"><field name=\"TEXT\">Je vais te poser des questions...</field></block></value></block></value><next><block type=\"delay\" id=\"YD261I)jNL1(dvRLMT7y\"><value name=\"seconds\"><block type=\"math_number\" id=\"cX/%T|Zs%~c{Q7:sBQZr\"><field name=\"NUM\">1</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"n=4P5W~_P2J7rMAfCG)9\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"F!DEAyBFC){XHM9cw~x4\"><value name=\"TEXT\"><block type=\"text\" id=\"`_nF*i9LBzw~im;Z^jE=\"><field name=\"TEXT\">Qui a écrit le tour du monde en 80 jours ?</field></block></value></block></value></block></statement><next><block type=\"delay\" id=\"+8be##^)etsD8W9mYO1p\"><value name=\"seconds\"><block type=\"math_number\" id=\"7Tv#rtzWDW@WB5T}Vy.x\"><field name=\"NUM\">15</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"=,(~fQ#Bo^/CN-u3R9SA\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"disappear\" id=\"SKVhUHpS_vMra=p~f7rc\"></block></value></block></statement></block></next></block></next></block></statement></block></xml>"},{"position":{"x":65,"y":3},"url":"images/game/charactersV2/bugtwo/","code":"joueur arrive;\n\nquand('joueur est devant', fonction () {\n personnage.dit('Je vais te poser une question...');\n retarder(2 + ' secondes', fonction () {\n personnage.dit('Au Moyen-Âge les sorcières étaient...');\n });\n retarder(15 + ' secondes', fonction () {\n personnage.disparait();\n });\n});\n\njoueur est devant;\n","width":1,"height":2,"type":"character","id":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"event_player_arrived\" id=\"B)UkaC03=}9L9FfV-8:5\" x=\"-2950\" y=\"-1190\"></block><block type=\"gamecode_when\" id=\"PtUp~jq|pl=)f3W23mHS\" x=\"-3228\" y=\"-1152\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"X^lfrfc9Zv)iQ^}O`X=O\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"d[4Ue.+P9f?0]8WEE^E5\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"Z_kRdvkrm/(~M(l}b;b)\"><value name=\"TEXT\"><block type=\"text\" id=\"H}u(f]eD2%-:Sw+tAhPQ\"><field name=\"TEXT\">Je vais te poser une question...</field></block></value></block></value><next><block type=\"delay\" id=\"(z#,Ve];.Mw2`gWH[O:5\"><value name=\"seconds\"><block type=\"math_number\" id=\"7%|9@{=BOr0vAreTLD^D\"><field name=\"NUM\">2</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"]CSY~]t{QAiL/i`l@q4[\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"qSg,3j?FfWQB`m7h1V=6\"><value name=\"TEXT\"><block type=\"text\" id=\"PDXbvM:2x#vkM0`b,HuM\"><field name=\"TEXT\">Au Moyen-Âge les sorcières étaient...</field></block></value></block></value></block></statement><next><block type=\"delay\" id=\"y^%t];MT97teUFw^TTf^\"><value name=\"seconds\"><block type=\"math_number\" id=\")2Nz3_bGNh9935k0nvIP\"><field name=\"NUM\">15</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"yr/)fN|P#~2!W]CY%h{S\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"disappear\" id=\"xE3!s.XgJx:1NC3=`NK}\"></block></value></block></statement></block></next></block></next></block></statement></block><block type=\"event_player_in_front\" id=\"0MVppNIx4=w|#T+UbW/o\" x=\"-2574\" y=\"692\"></block></xml>"},{"position":{"x":78,"y":7},"url":"images/game/charactersV2/bugfour/","code":"","width":1,"height":2,"type":"character","id":3}],"tiles":[{"position":{"x":0,"y":2},"traversable":true,"url":"images/game/bonus/drapeau_jaune.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>"},{"url":"images/game/blocks/tonneau.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-GAUCHE.png","type":"wall","position":{"x":-1,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":0,"y":1},"traversable":false,"code":null},{"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":9,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":8,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":10,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":11,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":12,"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-PLEIN.png","type":"wall","position":{"x":7,"y":1},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":8,"y":5},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"}vuF=+5STw.~Qa6iWp#m\" x=\"-3213\" y=\"203\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"A5s`*,PQfdLgTfmI!#Mn\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"N?1z@Y5MRP.cVj.i-ZMU\"><value name=\"variable\"><block type=\"player_variables\" id=\"c:~;pv=I~Qdl/OVwF1FT\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"X~OD)r7g+(TFIUOoy[vf\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"/uzY#XS*LY[QLJc)r.Em\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Grl^NkU0)}N/GcLJdK}2\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"get_entities\" id=\"_xmwt}P.SOAfn(c/?aLK\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"t!*X)RuUc9y2.yT3F7wX\"></block></value></block></next></block></statement></block><block type=\"always\" id=\"?#.O2@D{:JAzuEP.oLbe\" x=\"-6770\" y=\"490\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"9Rha0-7]3!F;WT8l5rJB\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"Mplq~;3kbml51@XdetJ_\"><value name=\"TEXT\"><block type=\"text\" id=\"PkwBux@`{JTPIV#gf/%L\"><field name=\"TEXT\">Paul Eiffel</field></block></value></block></value></block></statement></block><block type=\"event_disappear\" id=\"lK0h-8KFYxNKKrFcJ4wF\" x=\"-6530\" y=\"570\"></block></xml>","code":"quand('joueur arrive', fonction () {\n joueur.vie = (joueur.vie-2);\n objet.disparait();\n});\n\ntoujours(fonction () {\n objet.dit('Paul Eiffel');\n});\n\ndisparaît;\n"},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"toujours(fonction () {\n objet.dit('Gustave Eiffel');\n});\n\nquand('joueur arrive', fonction () {\n joueur.vie = (joueur.vie+1);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"always\" id=\"oD8T=-a9^~-QJi)By9W}\" x=\"-254\" y=\"229\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"xse_H?^/M-Flg3`gXj5k\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"Hz-!b_+G4}7?]|d,ww:^\"><value name=\"TEXT\"><block type=\"text\" id=\"2x-O!|33/Ib_Tqb22[Lv\"><field name=\"TEXT\">Gustave Eiffel</field></block></value></block></value></block></statement></block><block type=\"gamecode_when\" id=\"4duP6P!fnXgJEtnbedaZ\" x=\"230\" y=\"310\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"ulsOH+CpMXoQ53jlXi,a\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"kzD;3Xmmn}SAQiqqSG}U\"><value name=\"variable\"><block type=\"player_variables\" id=\"H!vy6~Svl{sce`,RMsyt\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"*3%r)EXLE/Od5#rU)HGJ\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"#j}^=^q*s-wHkOI0=rd@\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"GLFVWvio9b1PwKXO5hI@\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities\" id=\"-N~K|voer3=[Osxubp6l\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"h1+)E|9mmmQTBs|3yPe9\"></block></value></block></next></block></statement></block></xml>","traversable":true,"position":{"x":4,"y":5}},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":23,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":24,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":25,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":26,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":28,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":27,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","position":{"x":13,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-DROITE.png","type":"wall","position":{"x":14,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":34,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":35,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":36,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-A.png","type":"wall","position":{"x":18,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AC.png","type":"wall","position":{"x":19,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-A.png","type":"wall","position":{"x":14,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AC.png","type":"wall","position":{"x":15,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-A.png","type":"wall","position":{"x":21,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-CB.png","type":"wall","position":{"x":21,"y":9},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","position":{"x":22,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":17,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":37,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":38,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":39,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":40,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":41,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":42,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":43,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":44,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":45,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":30,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":32,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":32,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-BB.png","type":"wall","position":{"x":21,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/wood/BOIS-A.png","type":"wall","position":{"x":20,"y":1},"traversable":false,"code":null},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-flèche.jpg","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":19,"y":3}},{"url":"images/game/blocks/wood/BOIS.png","type":"wall","position":{"x":17,"y":5},"traversable":false,"code":null},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-danger.jpg","type":"item","code":"quand('joueur est devant', fonction () {\n joueur.vie = (joueur.vie-2);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"^/6dT6S3C3Dvgw`[Crsg\" x=\"-3083\" y=\"272\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"x(ADC?FN@q8m(nr%7q4G\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"~bX#-^s-u~g-BhKP:Oa#\"><value name=\"variable\"><block type=\"player_variables\" id=\"e)n:7~Bl2fU[3*]E)V}G\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"7rhjO1|fadWbh.kJe3Ot\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"c8UE9Wk6y2ZNk6dJ55sM\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"L3hx*vvFK9lsV(fZ:tfZ\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"get_entities\" id=\"A,,}{0kg=0n=fxdPuiR)\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"F9Mv/n;3!pu}|dxR/FFm\"></block></value></block></next></block></statement></block></xml>","traversable":true,"position":{"x":21,"y":6}},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-jules vernes.jpg","type":"item","code":"quand('joueur est devant', fonction () {\n joueur.vie = (joueur.vie+1);\n objet.disparait();\n});\n\ngravite = 50;\ntoujours(fonction () {\n objet.dit('Jules Vernes');\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"hSXqN=G|UAzz,!;KY~D,\" x=\"-2871\" y=\"-1026\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"}jGt`IrcX6*Oe,A0jLJg\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"4tMj~4dh^jd|]Pld]-J}\"><value name=\"variable\"><block type=\"player_variables\" id=\"b6`G#%BBCm=Q3VvMb-2e\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"Vx[~yWN|~FUmk=I/LdBh\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"KH~Qi[@qk#[LOfEw8`|?\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"%@_0,+#ciGyI-blb@DHl\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities\" id=\"c}g*0KEjc-G~9Wxx5~?g\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"X`QYwj_[ejH?E9Gp]D7H\"></block></value></block></next></block></statement></block><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"-20070\" y=\"2530\"><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=\"always\" id=\"HOPp}KA[:2LUxLpP|y65\" x=\"-20590\" y=\"2570\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"JOiiI@dTIS+.`oVrniVq\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"qfrq+F[D+i,B~4qC0t=)\"><value name=\"TEXT\"><block type=\"text\" id=\"j?xUCgsIJ^2jR|PC*W-l\"><field name=\"TEXT\">Jules Vernes</field></block></value></block></value></block></statement></block></xml>","traversable":true,"position":{"x":40,"y":5}},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-victor hugo.jpg","type":"item","code":"toujours(fonction () {\n objet.dit('Victor Hugo');\n});\n\nquand('joueur est devant', fonction () {\n joueur.vie = (joueur.vie-2);\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"always\" id=\"Mm!zhtL_[=LTquj4.s.A\" x=\"-1422\" y=\"-995\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"idmy?!I(pG)@/%,@:/Em\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"@k*{*=`JPF/=W8s?,((8\"><value name=\"TEXT\"><block type=\"text\" id=\"~If}|x8lrKI|.7Nou}i8\"><field name=\"TEXT\">Victor Hugo</field></block></value></block></value></block></statement></block><block type=\"gamecode_when\" id=\"f:k?c.5A,pdDICXzaa}x\" x=\"-2273\" y=\"776\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"o}YL5eZS:rfhI,cM_*qs\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"P=iVI#qlpGf:l.PaHzc1\"><value name=\"variable\"><block type=\"player_variables\" id=\"Yacmo}+|qRGh864c+BeD\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\";M[^V8SFY*?^waac!,5d\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"`5tR!,5Y=C3uj|0/]dI(\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"dA_ky8HrsDJ~.i?0kH[h\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"get_entities\" id=\"hML;;CB?P{MuK`Qoyb3p\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"%R.=S/({Seq1FX~N9@c!\"></block></value></block></next></block></statement></block></xml>","traversable":true,"position":{"x":43,"y":5}},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":47,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":51,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":50,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-DROITE.png","type":"wall","position":{"x":51,"y":7},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/inter01.png","position":{"x":47,"y":2},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"4z^o~dr1ragDx!cwsJ;l\" x=\"-737\" y=\"-8\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"9Wx@P8RgAG+Nw,|l_Pfz\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"(d]2TIo[iqb6ojRX)wy^\"><value name=\"variable\"><block type=\"player_variables\" id=\":{i!e{f8It|MOkcUdtc%\"><field name=\"variable\">hauteurSaut</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"Zc~()wp[l:hOl%|S=K5y\"><field name=\"NUM\">8</field></block></value></block></statement></block></xml>","code":"quand('joueur est devant', fonction () {\n joueur.hauteurSaut = 8;\n});\n"},{"url":"images/game/blocks/pavement/PAVE-DROITE.png","type":"wall","position":{"x":52,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-PLEIN.png","type":"wall","position":{"x":55,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-GAUCHE.png","type":"wall","position":{"x":54,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/pavement/PAVE-DROITE.png","type":"wall","position":{"x":56,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":59,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":60,"y":1},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/inter01.png","position":{"x":55,"y":4},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"`@M1oRa5M|yJZ9(CP.4~\" x=\"-2408\" y=\"-111\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"wBHj5Rxt`LwiH@cZ}YEM\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"vh0O0blw#{DQp-BT}vaz\"><value name=\"variable\"><block type=\"player_variables\" id=\"x@L(Y~tC[BFaeRf-~I)8\"><field name=\"variable\">hauteurSaut</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"]k3nKDqafzpGa#!tXl!f\"><field name=\"NUM\">4</field></block></value></block></statement></block></xml>","code":"quand('joueur est devant', fonction () {\n joueur.hauteurSaut = 4;\n});\n"},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":61,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":62,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":63,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":65,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":64,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":66,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":67,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":68,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":69,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":70,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":74,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":71,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":76,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":78,"y":6},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":80,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":81,"y":7},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":82,"y":7},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/drapeau_vert.png","position":{"x":81,"y":8},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"gU[3%qFKoeCUq[GyMT^d\" x=\"-830\" y=\"271\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"7bY]q9Tvl3b6:vt00G~B\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"e*NtIw6)2*_9e=@3j#Gl\"></block></statement></block></xml>","code":"quand('joueur est devant', fonction () {\n victoire();\n});\n"},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-coeur.jpg","type":"item","code":"quand('joueur est devant', fonction () {\n joueur.vie = (joueur.vie-2);\n objet.disparait();\n});\n\ntoujours(fonction () {\n objet.dit('aimée');\n});\n\ngravite = 50;\njoueur.x;\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"}A46.IEF^d!{E_eD}MCO\" x=\"-1110\" y=\"230\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\".-n/Ws%5z}L~HgG5Y];%\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"rS+UW#6r;sy}Hrp0O:=)\"><value name=\"variable\"><block type=\"player_variables\" id=\"KH~Qi[@qk#[LOfEw8`|?\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"rUS~RittxaW*AiQmAjg^\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"_Cy5Im@r?6/tV-M@{[*4\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"ikkoN4s0QjdUqubo=Wj|\"><field name=\"NUM\">2</field></block></value></block></value><next><block type=\"get_entities\" id=\"./5Njdp;7RQH((mOLE2B\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"qR5/.XR:o/L!^}msc%t#\"></block></value></block></next></block></statement></block><block type=\"always\" id=\"5@~)#n{W:syL~5VMF~_W\" x=\"-5365\" y=\"718\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"CPCzFo@Kamvip1Q[Vbm+\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"b^BS|6rHgl49iA{HS}zc\"><value name=\"TEXT\"><block type=\"text\" id=\"teLTexJVAat)t!%OFu)z\"><field name=\"TEXT\">aimée</field></block></value></block></value></block></statement></block><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"-8021\" y=\"2923\"><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=\"player_variables\" id=\"b6`G#%BBCm=Q3VvMb-2e\" x=\"-7666\" y=\"2923\"><field name=\"variable\">x</field></block></xml>","traversable":true,"position":{"x":66,"y":6}},{"url":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-feu.jpg","type":"item","code":"quand('joueur est devant', fonction () {\n joueur.vie = (joueur.vie+1);\n objet.disparait();\n});\n\ntoujours(fonction () {\n objet.dit('brulée');\n});\n\ngravite = 50;\njoueur.x;\n\ntrue;\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"I0xt(?]%hHgrcy^pv.`=\" x=\"-7385\" y=\"-2337\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"dYm(4G9ab4]W`RRazg+E\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"MeqC)bhH=A(M=6:Wo0ci\"><value name=\"variable\"><block type=\"player_variables\" id=\"KH~Qi[@qk#[LOfEw8`|?\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"=[awm[EWMyEv=9GLQ6;_\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"player_variables\" id=\"6dsB`f+p[NCTMk/UjXhu\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"DvDk043B*SVZX/tKQuy[\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities\" id=\"n5+H@tL/h0_@|K^RYbED\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"8V3d(IpuozMZVwo~_/JM\"></block></value></block></next></block></statement></block><block type=\"always\" id=\"?5IAXVZG.y2~n!ltvI:~\" x=\"-8290\" y=\"-2090\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"Vnz[*#Whm/JC(5D-62}Y\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"says\" id=\"yOHNE3U5Uj*Ab6XCBPcP\"><value name=\"TEXT\"><block type=\"text\" id=\"u43oK:Pn?%yXm]@xGWUn\"><field name=\"TEXT\">brulée</field></block></value></block></value></block></statement></block><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"-8021\" y=\"2923\"><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=\"player_variables\" id=\"b6`G#%BBCm=Q3VvMb-2e\" x=\"-7666\" y=\"2923\"><field name=\"variable\">x</field></block><block type=\"logic_boolean\" id=\"U2X10xi1:eZKFt0v1*bW\" x=\"-19521\" y=\"5210\"><field name=\"BOOL\">TRUE</field></block></xml>","traversable":true,"position":{"x":69,"y":6}},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":64,"y":2},"traversable":false,"code":null}],"player":{"urls":{"head":"./images/game/players/ninja/","body":"./images/game/players/unicorn_bug/","bullet":"./images/game/players/unicorn_bug/"},"position":{"x":3,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"object_variables\" id=\"4ERV}r?=lY-9:QAK9xjC\" x=\"-3214\" y=\"265\"><field name=\"variable\">x</field></block><block type=\"get_entities\" id=\"LH[`4X.@y3]_Qi|JI_3(\" x=\"-1023\" y=\"203\"><field name=\"NAME\">joueur</field></block><block type=\"entities_assignment\" id=\"diB1t|Rs=sKEQgReVjlx\" x=\"-990\" y=\"310\"><value name=\"variable\"><block type=\"player_variables\" id=\"GZI`[6G-fL^sL:vFp|B4\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"XicJfN/oQ{bHAxn]*vDt\"><field name=\"NUM\">4</field></block></value></block><block type=\"entities_assignment\" id=\"@:EvCkPo:p2JuKj994c2\" x=\"-2850\" y=\"470\"><value name=\"variable\"><block type=\"player_variables\" id=\"Tx`1AYZn5!21.uky[Ub4\"><field name=\"variable\">vie</field></block></value></block><block type=\"entities_assignment\" id=\"^oBk]y+,75@E)|?5`r|n\" x=\"-1090\" y=\"410\"><value name=\"variable\"><block type=\"player_variables\" id=\"OFYY/0PM8)j5W]._BO5r\"><field name=\"variable\">vitesse</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"b-v!?hxb!j|mB=TydA;d\"><field name=\"NUM\">5</field></block></value></block><block type=\"when_hit\" id=\",3RqJDesd,HRzhQ60yz/\" x=\"-3092\" y=\"539\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"yM@[G~`0JYo|fvK6-QzY\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"jump\" id=\"^DO:LZc|`uVse92mwq#~\"></block></value></block></statement></block><block type=\"compare\" id=\"*GQ|*JqZyxM@qyX.y0Hz\" x=\"-2550\" y=\"570\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"lO8ZR4k#uA!u6d|XygmL\"><field name=\"variable\">vie</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"%y[W9Myb8XpG*Cdes(yU\"><field name=\"NUM\">3</field></block></value></block><block type=\"math_arithmetic_custom\" id=\",R0qEmLrh%zKCg*B,.#f\" x=\"-1650\" y=\"670\"><field name=\"OPERATION\">+</field></block><block type=\"character_variables\" id=\"R8;tZe%Gz4S*dKnzMDrn\" x=\"-1450\" y=\"1270\"><field name=\"variable\">x</field></block></xml>","code":"objet.x;\n\njoueur;\n\njoueur.vie = 4;\n\njoueur.vie = ;\n\njoueur.vitesse = 5;\n\nquand('tir touche', fonction (personnage) {\n personnage.saute();\n});\n\njoueur.vie === 3;\n\n+;\n\npersonnage.x;\n"},"endGame":{"wallpaper":"images/game/end_screens/end_screen_2.jpg","winText":"Victoire !","loseText":"Défaite :("},"sounds":{"music":"sounds/musics/feel_good","win":"sounds/win/01","loose":"sounds/loose/01","items":"sounds/bonus/01"},"soundEnable":false,"name":"Test","goal":"Finir le niveau","generalScript":"joueur.x;\n\ngravite = 50;\njoueur.x;\n\ntrue;\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"player_variables\" id=\"KH~Qi[@qk#[LOfEw8`|?\" x=\"-1862\" y=\"265\"><field name=\"variable\">x</field></block><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"-8021\" y=\"2923\"><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=\"player_variables\" id=\"b6`G#%BBCm=Q3VvMb-2e\" x=\"-7666\" y=\"2923\"><field name=\"variable\">x</field></block><block type=\"logic_boolean\" id=\"U2X10xi1:eZKFt0v1*bW\" x=\"-19521\" y=\"5210\"><field name=\"BOOL\">TRUE</field></block></xml>","code":"","assetsLibrary":{"backgrounds":["https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-grece1.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-Grece2.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-eiffel-tower-905024_960_720.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-Tour_Eiffel_-_25_Janvier_2012_-_Paris,_FRANCE.JPG"],"items":["https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-jules vernes.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-victor hugo.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-maupassant.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-flèche.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-danger.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-trampoline.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-coeur.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-feu.jpg"]},"needed":true}
Communaute:
1
Miniature:

Application: