Le grand voyage
- mai 06, 2017
- efardel
Contenu:
{"backgroundUrl":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-Grece2.jpg","characters":[{"position":{"x":10,"y":3},"url":"images/game/charactersV2/bugsix/","code":"var _C3_A9l_C3_A9ment;\n\n\nquand('personnage arrive', fonction (personnage) {\n});\n\n_C3_A9l_C3_A9ment;\n\nquand('joueur arrive', fonction () {\n personnage.dit('je vais te poser des questions...');\n});\nretarder(5 + ' secondes', fonction () {\n personnage.dit('Après tu pourras sauver ton frère !');\n});\nretarder(4 + ' secondes', fonction () {\n personnage.dit('Comment les habitants de la Grèce s\\'appellent ?');\n});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_character\" id=\":JGqmo0us8?@r0lJ8Wad\" x=\"1330\" y=\"-50\"><field name=\"ACTION\">personnage arrive</field></block><block type=\"variables_get\" id=\"`C+GSwKiG,jn;K{5L3#(\" x=\"1390\" y=\"-50\"><field name=\"VAR\">élément</field></block><block type=\"gamecode_when\" id=\"_hQ_e:vM~RurG;NoA(TK\" x=\"410\" y=\"330\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"R{0lSjn?v48%obr)A`|)\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"([E!cfd..K`0!~|3IB|/\"><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></block></statement><next><block type=\"delay\" id=\"N/`-vxjIsaCRaHQbCaic\"><value name=\"seconds\"><block type=\"math_number\" id=\"ab~7GZb`TMDC}Ufvf|1t\"><field name=\"NUM\">5</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"rdpU#%BBR?+r!(eIr!MQ\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"eY0%X)Z:kRr^uSSIsmwj\"><value name=\"TEXT\"><block type=\"text\" id=\"HT=ijjf*zH|FoqP_!n:Y\"><field name=\"TEXT\">Après tu pourras sauver ton frère !</field></block></value></block></value></block></statement><next><block type=\"delay\" id=\"UnmGAivnU7N%m7[@ss%=\"><value name=\"seconds\"><block type=\"math_number\" id=\"73Qy-Ybwnd*69GFZP/%%\"><field name=\"NUM\">4</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\">Comment les habitants de la Grèce s'appellent ?</field></block></value></block></value></block></statement></block></next></block></next></block></xml>"}],"tiles":[{"position":{"x":0,"y":2},"traversable":true,"url":"images/game/bonus/drapeau_jaune.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>"},{"position":{"x":16,"y":2},"traversable":true,"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"quand('joueur arrive', function () {\n victoire();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"`=5(oRMY-`S.Dy^ccqg|\" x=\"199\" y=\"152\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"g]iO2wv,i]x,k]k8nTRO\"></block></value><statement name=\"BODY\"><block type=\"victory\" id=\"j81J@Bo78F4]`J;1pPNj\"></block></statement></block></xml>"},{"position":{"x":14,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":15,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":16,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"url":"images/game/blocks/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-DROITE.png","type":"wall","position":{"x":13,"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":2,"y":5},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","code":""},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":5,"y":5},"traversable":true},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":8,"y":5},"traversable":true}],"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=\"when_hit\" id=\",3RqJDesd,HRzhQ60yz/\" x=\"400\" y=\"265\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"yM@[G~`0JYo|fvK6-QzY\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"jump\" id=\"^DO:LZc|`uVse92mwq#~\"></block></value></block></statement></block></xml>","code":"quand('tir touche', fonction (personnage) {\n personnage.saute();\n});\n"},"endGame":{"wallpaper":"images/game/end_screens/end_screen_2.jpg","winText":"Victoire !","loseText":"Défaite :("},"sounds":{"music":"sounds/musics/feel_good","win":"sounds/win/01","loose":"sounds/loose/01","items":"sounds/bonus/01"},"soundEnable":false,"name":"Test","goal":"Finir le niveau","generalScript":"gravite = 50;","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"400\" y=\"265\"><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/5887/5887-grece1.jpg","https://www.code-decode.net/sites/default/files/images_modules/gamecode/5887/5887-Grece2.jpg"]},"needed":true}
Communaute:
0
Miniature:

Application: