testCompteur

Contenu: 
{"sourceCode":"var compteur, i;\n\n\ncompteur = 10;\ni = 0;\nread();\nwhen('lit', compteur, function () {\n i = compteur - 1;\n replace(compteur, i);\n compteur = i;\n read();\n});\n","sourceText":"10","collections":{"images":[{"id":"alien","tags":["espace"],"resource":"./resources/images/alien.png","type":"images","displayCode":"IMAGE1"},{"id":"1","tags":[],"resource":"./resources/images/-ciseaux2.PNG","type":"images","displayCode":"IMAGE2"},{"id":"2","tags":[],"resource":"./resources/images/-papier2.png","type":"images","displayCode":"IMAGE3"},{"id":"3","tags":[],"resource":"./resources/images/-pierre2.PNG","type":"images","displayCode":"IMAGE4"},{"id":"start","tags":[],"resource":"./resources/images/-play-468292_640.png","type":"images","displayCode":"IMAGE5"}],"scripts":[{"id":"popUp","tags":[],"content":"window.alert(\"Ceci est un script\");","isNew":false,"type":"scripts","displayCode":"popUp"}],"words":[{"id":"amical","tags":["fantastique","tag1","tag2","tag3"],"kind":"adjective","type":"words","displayCode":"amical"},{"id":"forêt","tags":["fantastique"],"kind":"noun","type":"words","displayCode":"forêt"},{"id":"enchante","tags":["fantastique"],"kind":"verb","type":"words","displayCode":"enchante"}],"texts":[{"id":"phrase1","tags":["fantastique","tag1","tag2","tag3"],"content":"Super phrase","type":"texts","displayCode":"Super phrase"},{"id":"phrase2","tags":["fantastique"],"content":"Phrase trop bien","type":"texts","displayCode":"Phrase trop bien"},{"id":"phrase3","tags":["fantastique"],"content":"Un texte génial","type":"texts","displayCode":"Un texte génial"}]},"sourceXmlBlockly":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"set_var\" id=\"D;ytJ^(eo-KX4`f*cF4S\" x=\"-70\" y=\"110\"><field name=\"VARNAME\">compteur</field><value name=\"VARDEFINITION\"><block type=\"math_number\" id=\"2q=a.T~Mc#g,jbQft*4U\"><field name=\"NUM\">10</field></block></value><next><block type=\"set_var\" id=\"%9+qFl1D%4EUON!pgl|9\"><field name=\"VARNAME\">i</field><value name=\"VARDEFINITION\"><block type=\"math_number\" id=\"OI~*:dWoN(Px/+Qo{@EA\"><field name=\"NUM\">0</field></block></value><next><block type=\"read\" id=\"QR%d%~GFL3l|Ib|n=s7?\"><next><block type=\"when\" id=\"w{}-f37tQT*Q?vGGYA-T\"><field name=\"EVENTNAME\">READ</field><value name=\"EVENT\"><block type=\"variables_get\" id=\"6;yQdktO2fkk0(S0~=!.\"><field name=\"VAR\">compteur</field></block></value><statement name=\"BODY\"><block type=\"set_var\" id=\")s_usR1@v-w[9eQRxdxV\"><field name=\"VARNAME\">i</field><value name=\"VARDEFINITION\"><block type=\"math_arithmetic\" id=\"Ufn_o?Y}b8wM=sl]~h*^\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"variables_get\" id=\"grL`HOZvD0#szCB]l3_j\"><field name=\"VAR\">compteur</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"NK7YEwrRFr`juPOx%0X4\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"replace_text\" id=\",2B^BiRLy=)u%cuE=u,A\"><value name=\"OLDTEXT\"><block type=\"variables_get\" id=\"=}p/D{[7?5ASRIhS3hr%\"><field name=\"VAR\">compteur</field></block></value><value name=\"NEWTEXT\"><block type=\"variables_get\" id=\"`lUdc~UNN/at^6:7`p*}\"><field name=\"VAR\">i</field></block></value><next><block type=\"set_var\" id=\"O8}^Z}!Yj[C50,c~@xXA\"><field name=\"VARNAME\">compteur</field><value name=\"VARDEFINITION\"><block type=\"variables_get\" id=\"}h+)D{S|^-dGbX:ry)jp\"><field name=\"VAR\">i</field></block></value><next><block type=\"read\" id=\"my}4lJItjAvxie_bQGM@\"></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></xml>"}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

GameCode partners