corde à sauter tir
- Apr 13, 2017
- codecampus
Contenu:
{"backgroundUrl":"images/game/end_screens/end_screen_0.jpg","characters":[{"position":{"x":-2,"y":2},"url":"images/game/charactersV2/bugfour/","code":"","width":1,"height":2,"type":"character","id":0},{"position":{"x":8,"y":2},"url":"images/game/charactersV2/bugfour/","code":"personnage.retourneToi();\nrepeterChaque(2 + ' secondes', fonction () {\n personnage.tire();\n});\n\nretarder( + ' secondes', fonction () {\n});\n","width":1,"height":2,"type":"character","id":1,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"get_entities\" id=\"i/J53sIK9.dWhA]-k+fe\" x=\"397\" y=\"235\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"turn_back\" id=\"unpQQvggYtHij{L7C{F1\"></block></value><next><block type=\"repeat\" id=\"7#I8-Y[,pAd=NC@X;)s}\"><value name=\"seconds\"><block type=\"math_number\" id=\"@MKYh[iLo8)qUZn{uywK\"><field name=\"NUM\">2</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"`Y2tEt1kK_5:%_:|/0Vz\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"shoot\" id=\"%{F%~59i1{OxVaGW1T3V\"></block></value></block></statement></block></next></block><block type=\"delay\" id=\"H!kp^,lwwxuqKh4C]Q:a\" x=\"1370\" y=\"251\"></block></xml>"}],"tiles":[{"position":{"x":1,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":2,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/grass/HERBE-PLEIN.png","type":"wall","code":null,"traversable":false},{"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":6,"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":7,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-DROITE.png","type":"wall","position":{"x":8,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/grass/HERBE-GAUCHE.png","type":"wall","position":{"x":-2,"y":1},"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=\"repeat\" id=\"N*^70Y|724JR43RW/4p,\" x=\"390\" y=\"211\"><value name=\"seconds\"><block type=\"math_number\" id=\".|3YKAemPC=22H84o~c}\"><field name=\"NUM\">1</field></block></value><statement name=\"body\"><block type=\"when_hit\" id=\",3RqJDesd,HRzhQ60yz/\"><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></statement></block></xml>","code":"repeterChaque(1 + ' secondes', fonction () {\n quand('tir touche', fonction (personnage) {\n personnage.saute();\n });\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=\"397\" y=\"235\"><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:
0
Miniature:

Application: