Jeu 2

Mission: 
Activité 1 - Un objet de grande valeur
Contenu: 
{"backgroundUrl":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/7687/7687-Testentrepot1.jpg","characters":[{"position":{"x":4,"y":2},"url":"images/game/characters/bugfive/","code":"quand('joueur arrive', fonction () {\n if (joueur.cristal === 0) {\n personnage.dit('Peux-tu me rapporter mon cristal ?');\n } else {\n personnage.danse();\n }});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"_.g@@P(RFK7Pw:Is#vrA\" x=\"280\" y=\"187\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"i+q4{s*cq5uPH9(Q;:cJ\"></block></value><statement name=\"BODY\"><block type=\"condition_if\" id=\"@(*,C@(?miSdsc2%BFzn\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"compare\" id=\"JB1Fj4j3S4([{fi3tKHg\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"OGb=5^t4cebB=/cswHS]\"><field name=\"variable\">cristal</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\"j]`6zy]568}gOcFo6WTO\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"get_entities_character\" id=\"5}oMR{Go^H},Ag!odoh*\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"says\" id=\"zBw~0#2i1`q6I95{N(h[\"><value name=\"TEXT\"><block type=\"text\" id=\"jqr9Q/|nAm,Zw_G8WC|W\"><field name=\"TEXT\">Peux-tu me rapporter mon cristal ?</field></block></value></block></value></block></statement><statement name=\"ELSE\"><block type=\"get_entities_character\" id=\"?pQ30S.8KL`hH~f{kJmy\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"dance\" id=\"M~~uGLZdKd,Q|88~Kd1d\"></block></value></block></statement></block></statement></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', fonction () {\n if (joueur.cristal === 1) {\n victoire();\n } else {\n defaite();\n }});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"`=5(oRMY-`S.Dy^ccqg|\" x=\"444\" y=\"265\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"g]iO2wv,i]x,k]k8nTRO\"></block></value><statement name=\"BODY\"><block type=\"condition_if\" id=\"Kg3HgQ)[.?W1tSS_Qios\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"compare\" id=\"`x3rj~cA,|(}e_(i!;U:\"><field name=\"OPERATOR\">=</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\".5Nf{(!PJxyB^(WLL~v(\"><field name=\"variable\">cristal</field></block></value><value name=\"SECOND_VALUE\"><block type=\"math_number\" id=\";V-p^Cp(nYt!uhB!IBTM\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"victory\" id=\"j81J@Bo78F4]`J;1pPNj\"></block></statement><statement name=\"ELSE\"><block type=\"game_over\" id=\"q(NQFR?m`54bQB+@HKDe\"></block></statement></block></statement></block></xml>"},{"position":{"x":0,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":1,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":2,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":6,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":7,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":8,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":9,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":10,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":11,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":12,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":13,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":14,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":15,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"position":{"x":16,"y":1},"url":"images/game/blocks/kano.png","type":"wall","code":null,"traversable":false},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":6,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":7,"y":5},"traversable":false,"code":null},{"url":"images/game/bonus/cristaux2.png","type":"item","code":"quand('joueur arrive', fonction () {\n joueur.cristal = 1;\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"gamecode_when\" id=\"o:77;iaw_v8MS;(Q%o_J\" x=\"445\" y=\"265\"><value name=\"EVENT\"><block type=\"event_player_arrived\" id=\"It,|k+2~(OT#!,7px4fR\"></block></value><statement name=\"BODY\"><block type=\"entities_assignment\" id=\"LF/F:k.;fxi~pm{gGx^-\"><value name=\"variable\"><block type=\"player_variables\" id=\".5Nf{(!PJxyB^(WLL~v(\"><field name=\"variable\">cristal</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"w,;Pq5PN}G7y7JoG%qJJ\"><field name=\"NUM\">1</field></block></value><next><block type=\"get_entities_object\" id=\"8:ky{z~k.S/gHL7JTMHU\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"CdSn`/;g,O(]Z0etlazJ\"></block></value></block></next></block></statement></block></xml>","traversable":true,"position":{"x":7,"y":6}},{"url":"images/game/blocks/bidon.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/kano.png","type":"wall","position":{"x":8,"y":5},"traversable":false,"code":null}],"player":{"urls":{"head":"images/game/players/elf/","body":"images/game/players/elf/","bullet":"images/game/players/elf/"},"position":{"x":1,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"entities_assignment\" id=\"fubVYeSTO-+/H_OdReQm\" x=\"296\" y=\"187\"><value name=\"variable\"><block type=\"player_variables\" id=\"Kp(A-R-!lAIyIwM6R:=4\"><field name=\"variable\">hauteurSaut</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"ehJdUh*=6*!~{Ic|ng]*\"><field name=\"NUM\">4</field></block></value><next><block type=\"entities_assignment\" id=\"R+|TRjysldoQt3IX^K]M\"><value name=\"variable\"><block type=\"player_variables\" id=\".5Nf{(!PJxyB^(WLL~v(\"><field name=\"variable\">cristal</field></block></value><value name=\"value\"><block type=\"math_number\" id=\";CAC/KL}BJoqB5}1*_z,\"><field name=\"NUM\">0</field></block></value><next><block type=\"always\" id=\"H,v`no8TZ/eE8,XozY+b\"><statement name=\"BODY\"><block type=\"get_entities_player\" id=\"HE/)u3pJz)QIIm498vCo\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"says\" id=\"fNpi{`zMQxlm-bu:H=MJ\"><value name=\"TEXT\"><block type=\"player_variables\" id=\"9@N{|{cgk/k#Yr]_npLV\"><field name=\"variable\">cristal</field></block></value></block></value></block></statement></block></next></block></next></block></xml>","code":"joueur.hauteurSaut = 4;\njoueur.cristal = 0;\ntoujours(fonction () {\n joueur.dit(joueur.cristal);\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=\"280\" y=\"187\"><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/7687/7687-Testentrepot1.jpg"]},"customBlocklyDropdowns":{"player":[["cristal","cristal"],["crystal","crystal"]]},"needed":true}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

Nos partenaires GameCode