sans titre

Mission: 
Teste ta motivation
Contenu: 
{"backgroundUrl":"images/game/end_screens/end_screen_3.png","characters":[{"position":{"x":10,"y":2},"url":"images/game/characters/bugfive/","code":"var string;\n\n\nstring = 'Vie : ';\npersonnage.vie = 5;\npersonnage.dit(string+personnage.vie);\ntoujours(fonction () {\n personnage.avance();\n personnage.tire();\n});\nquand('est touché', fonction () {\n personnage.vie = (personnage.vie-1);\n personnage.dit(string+personnage.vie);\n if (personnage.vie === 0) {\n victoire();\n } });\nquand('joueur arrive', fonction () {\n joueur.vie = (joueur.vie-1);\n});\nrepeterChaque(1 + ' secondes', fonction () {\n personnage.retourneToi();\n});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"A1s4;W0_#@T|[{^4:%O?\" x=\"410\" y=\"266\"><field name=\"VARNAME\">string</field><value name=\"VARDEFINITION\"><block type=\"text\" id=\"ow*u}:(xwl1X}.U!TBok\"><field name=\"TEXT\">Vie : </field></block></value><next><block type=\"entities_assignment\" id=\"ybqj@5{b10dXd*dRfrl(\"><value name=\"variable\"><block type=\"character_variables\" id=\"]kC9ld(g#v,v4Q.@,CT6\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"aA3XIVO9+P,gZjYbBiFV\"><field name=\"NUM\">5</field></block></value><next><block type=\"get_entities_character\" id=\":}9S7wFbK)kb`tvIfbSV\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"VyXE?YLw5*1fe[]GC_H}\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"5,l.rpvm6qZff!byx6J(\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"B@T!LCI:MxdQ?]Nl^C`B\"><field name=\"VAR\">string</field></block></value><value name=\"B\"><block type=\"character_variables\" id=\".qbXZ-t?RRk*#~W6EtF/\"><field name=\"variable\">vie</field></block></value></block></value></block></value><next><block type=\"always\" id=\"AU_8h(1d0e.!3LZmWjZ?\"><statement name=\"BODY\"><block type=\"get_entities_character\" id=\"1]/mO}It[-dyC%FXI]]K\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"move_forward\" id=\"KeLgPVKv3(=8O|v2)pS%\"></block></value><next><block type=\"get_entities_character\" id=\"/(@zeuz.V[Lu7pY0xu7|\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"shoot\" id=\"iML8hihmvtQHa~~9k-/h\"></block></value></block></next></block></statement><next><block type=\"gamecode_when\" id=\"K@Lfkk0Ek,d+Q0Gf-m+Y\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"|!(-^6c~^{U7*r-CA[cR\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"y+*C)]Jgg}:3D~/:`,J1\"><value name=\"variable\"><block type=\"character_variables\" id=\"3QiB)=FP74-RN|#1KecK\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\".LGjb,~vSG1nxG|nu.Q!\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"character_variables\" id=\":wG+UxOMXAsXZJwPW!g@\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Rb=P@_J#4[IoB9zTnL,B\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"get_entities_character\" id=\"[EmGZdxog`R)HeD=L?Ev\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"f1Vui]]RV}BY*WyRya#9\"><value name=\"TEXT\"><block type=\"math_arithmetic_custom\" id=\"[3T6coC]X9^/F`dA~V`5\"><field name=\"OPERATION\">+</field><value name=\"A\"><block type=\"variables_get\" id=\"T9rrXXfp%F._jJo[IEcu\"><field name=\"VAR\">string</field></block></value><value name=\"B\"><block type=\"character_variables\" id=\"=9nMyLZoepGRu_XjLnUR\"><field name=\"variable\">vie</field></block></value></block></value></block></value><next><block type=\"condition_if\" id=\"L0BK-T@-RS-gTK9^u.LO\"><value name=\"IF0\"><block type=\"compare\" id=\"lPSE0(zPn=l*8[.a]ER4\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"character_variables\" id=\"]kgVJ{//uV=[RXY4S3!p\"><field name=\"variable\">vie</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"Y_xa*U50}r~e:CPXvo_l\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"victory\" id=\"P#L+5.#8YXVb82tMA9(#\"></block></statement></block></next></block></next></block></statement><next><block type=\"gamecode_when\" id=\"TpSZ_V5~[6p;:Jg.)a9Y\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"Y|03HtzSlb|b]%E^TCW(\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"O8)+`71V_Tr58|lDi:?j\"><value name=\"variable\"><block type=\"player_variables\" id=\"_0[6Yy!V4^]1*9c,BhGp\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"S3U3GPgtJtI*6WM6D8N)\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"mVK@ThXJBn)qcM[uh)G6\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"7hZ{7In5bq}0@Id%hcuE\"><field name=\"NUM\">1</field></block></value></block></value></block></statement><next><block type=\"repeat\" id=\"Bo6Fs3l0EGHPGmlu{XkT\"><value name=\"seconds\"><block type=\"math_number\" id=\"]9Q6=Z0,R2#Z5e1W7X7g\"><field name=\"NUM\">1</field></block></value><statement name=\"body\"><block type=\"get_entities_character\" id=\"{60Dk]zzk`d`t{c7#C~8\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"turn_back\" id=\"uR*q}:YjxP832FsUM;p7\"></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>"}],"tiles":[{"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}],"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=\"get_entities_character\" id=\"j+qUn7T-2V~SUX@xSWez\" x=\"268\" y=\"265\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"){x`YoNorfFWn;{sR5{A\"><value name=\"TEXT\"><block type=\"text\" id=\"x+8N`v]LNGRUQ}Zc1,zW\"><field name=\"TEXT\">Banzaï !!!</field></block></value></block></value><next><block type=\"gamecode_when\" id=\"h(vZaWSaRk3+MFavJ%Lt\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"sZVjWNooL*@:1iuod_qX\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"[*tSjvz{wxC3/a9!O|Du\"><value name=\"variable\"><block type=\"player_variables\" id=\"/dA;_Zj0Uqls/R24LT`4\"><field name=\"variable\">vie</field></block></value><value name=\"value\"><block type=\"math_arithmetic_custom\" id=\"/wwFmYbnmb}Co-=NAQAO\"><field name=\"OPERATION\">-</field><value name=\"A\"><block type=\"player_variables\" id=\"hFCfc0AvtFv%@ukrB.=S\"><field name=\"variable\">vie</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"cK*4rX/:tdJ*wj`iS}%)\"><field name=\"NUM\">1</field></block></value></block></value></block></statement></block></next></block></xml>","code":"personnage.dit('Banzaï !!!');\nquand('est touché', fonction () {\n joueur.vie = (joueur.vie-1);\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=\"410\" y=\"502\"><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":"","needed":true}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

GameCode partners