setTimeout

Contenu: 
{"backgroundUrl":"images/game/end_screens/end_screen_3.png","characters":[{"position":{"x":7,"y":2},"url":"images/game/characters/bugfive/","code":"","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></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":0,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":1,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":2,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":6,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":7,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":8,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":9,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":10,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":11,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":12,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"position":{"x":13,"y":1},"url":"images/game/blocks/wood/BOIS-AB.png","type":"wall","code":null,"traversable":false},{"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},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":5,"y":3},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"tvpGcGC~bSM|b/([iium\" x=\"269\" y=\"191\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"#K5}kZVDgH?A)c`u5t4Q\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"UWN~y]Pies2ez5e=_;Pl\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"bn_,wQjI]uv/)Cq8_FO`\"><value name=\"TEXT\"><block type=\"text\" id=\"G_=6OSk4W)_qhac@Cr0o\"><field name=\"TEXT\">Wait 2 Sec ...</field></block></value></block></value><next><block type=\"delay\" id=\"2qc={61gy0Y4@N=[d`33\"><value name=\"seconds\"><block type=\"math_number\" id=\"..YwI|6;%:%+;!0u55(!\"><field name=\"NUM\">2</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"HUFn^K(TA*n[vg_:VH%8\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"jzI?+(dC37~VxQn]q_jz\"><value name=\"TEXT\"><block type=\"text\" id=\"tG;FX2/u]b)Jq-u_6(G~\"><field name=\"TEXT\">Timeout</field></block></value></block></value></block></statement></block></next></block></statement></block></xml>","code":"quand('joueur arrive', fonction () {\n joueur.dit('Wait 2 Sec ...');\n retarder(2 + ' secondes', fonction () {\n joueur.dit('Timeout');\n });\n});\n"},{"url":"images/game/blocks/bidon.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null}],"player":{"urls":{"head":"images/game/players/elf/","body":"images/game/players/elf/","bullet":"images/game/players/elf/"},"position":{"x":3,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_hit\" id=\",3RqJDesd,HRzhQ60yz/\" x=\"199\" y=\"152\"><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', function (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 = 15;","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gravity\" id=\"2WC=#bE`A%2]AA0)hb[Z\" x=\"269\" y=\"191\"><value name=\"VALUE\"><block type=\"math_number\" id=\",Q)DNQ?o,qry-f+8S/.m\"><field name=\"NUM\">15</field></block></value></block></xml>","code":"","needed":true}
Communaute: 
1
Miniature: 
Application: 
Tags créateur: 

GameCode partners