JEUX

Contenu: 
{"backgroundUrl":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/6301/6301-2015-12-25 2016-05-11 001 041.JPG","characters":[{"position":{"x":7,"y":2},"url":"images/game/characters/bugfive/","code":"quand('tir touche', fonction (personnage) {\n personnagedisparaît;\n});\nquand('personnage est devant', fonction (personnage) {\n personnage.tire();\n});\n","width":1,"height":2,"type":"character","id":0,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_hit\" id=\",r%ne;?C/Z!.-b?9Plo8\" x=\"301\" y=\"258\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"@N0#b3PWssP5b=^!N.KC\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"event_disappear\" id=\"g[Tz/^(F?7?T%m2ORExc\"></block></value></block></statement><next><block type=\"when_character\" id=\"NbnuZVh.N`:l.myt+e#5\"><field name=\"ACTION\">personnage est devant</field><statement name=\"BODY\"><block type=\"get_entities\" id=\"hBd-3JvH:oX_Eq+9~~/(\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"shoot\" id=\"!PUI~iVdT:3=GseW|P1-\"></block></value></block></statement></block></next></block></xml>"},{"position":{"x":8,"y":2},"url":"images/game/charactersV2/bugseven/","code":"","width":1,"height":2,"type":"character","id":1,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>"},{"position":{"x":9,"y":2},"url":"images/game/charactersV2/bugsix/","code":"","width":1,"height":2,"type":"character","id":2}],"tiles":[{"position":{"x":0,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":1,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":2,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":3,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":4,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":5,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":6,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":7,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":8,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":9,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":10,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":13,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":14,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":15,"y":1},"url":"images/game/blocks/metal.png","type":"wall","code":null,"traversable":false},{"position":{"x":16,"y":1},"url":"images/game/blocks/metal.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\"></xml>","code":""},{"url":"images/game/blocks/bidon.png","type":"wall","position":{"x":11,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/tonneau.png","type":"wall","position":{"x":10,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":11,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":12,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-5,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-6,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-6,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-7,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-7,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-8,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-8,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-9,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-9,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-7,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-8,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-9,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-8,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-9,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-9,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-20,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-20,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-19,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-19,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-21,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-26,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-25,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-24,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-23,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-22,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-27,"y":1},"traversable":false,"code":null},{"url":"images/game/bonus/anims/coin.png","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":11,"y":3}},{"type":"wall","url":"images/game/blocks/vis.png","position":{"x":12,"y":2},"traversable":false,"code":null},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":10,"y":4},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","code":""},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":9,"y":5},"traversable":true},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":8,"y":6},"traversable":true,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","code":""},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":7,"y":5},"traversable":true},{"type":"item","url":"images/game/bonus/anims/coin.png","position":{"x":6,"y":4},"traversable":true},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-3,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-2,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-12,"y":1},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-12,"y":2},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-12,"y":3},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-12,"y":4},"traversable":false,"code":null},{"url":"images/game/blocks/metal.png","type":"wall","position":{"x":-12,"y":5},"traversable":false,"code":null},{"url":"images/game/blocks/vis.png","type":"wall","position":{"x":-12,"y":6},"traversable":false,"code":null},{"url":"images/game/bonus/drapeau_vert.png","type":"item","code":"","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>","traversable":true,"position":{"x":-27,"y":2}},{"url":"images/game/bonus/anims/hearth.png","type":"item","code":"","sourceXml":null,"traversable":true,"position":{"x":4,"y":2}}],"player":{"urls":{"head":"./images/game/players/ninja/","body":"./images/game/players/unicorn_bug/","bullet":"./images/game/players/ninja/"},"position":{"x":15,"y":2},"type":"player","width":1,"height":2,"sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_hit\" id=\"7eLv@U||0LVb0^u3GUS8\" x=\"50\" y=\"90\"></block><block type=\"compare\" id=\"fMuv;}3qByQF@;TO:!=/\" x=\"277\" y=\"156\"><field name=\"OPERATOR\">&lt;</field><value name=\"FIRST_VALUE\"><block type=\"player_variables\" id=\"T*2t470)#gUmD0^09:Sn\"><field name=\"variable\">vitesse</field></block></value><value name=\"SECOND_VALUE\"><block type=\"object_variables\" id=\"0;1AYi~4IpRBMus5BY(-\"><field name=\"variable\">nom</field></block></value></block><block type=\"delay\" id=\"L6vVsnsRl=kiLIW-E7Xr\" x=\"390\" y=\"230\"><value name=\"seconds\"><block type=\"math_number\" id=\"Se{dVN/h7,RUmw^LrRN`\"><field name=\"NUM\">1.5</field></block></value><statement name=\"body\"><block type=\"get_entities\" id=\"2-P9B{R(bv]WT6+?RSEh\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"shoot\" id=\"hQCm9@(f9k-Q3LlVFs-8\"></block></value></block></statement><next><block type=\"when_character\" id=\"myDHE-bX:J!M6vbeN9O1\"><field name=\"ACTION\">personnage arrive</field><statement name=\"BODY\"><block type=\"get_entities\" id=\"asYl|z_m6q2j(J59f2k?\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"shoot\" id=\"U2-#]dM/M_#R-KMsHmAD\"></block></value></block></statement><next><block type=\"gamecode_when\" id=\",N~R+1GqT8PIOS*P`yc!\"><value name=\"EVENT\"><block type=\"event_player_in_front\" id=\"z!]s{vGTbWSn}RPr5#gX\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"U4;=[;?T.O)W:~N+^3#r\"><field name=\"NAME\">personnage</field></block></statement><next><block type=\"get_entities\" id=\"TW@mB{]M{^6D@:wGe)o|\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"shoot\" id=\"3b1C]Q2U=X[vS*wZG~s3\"></block></value></block></next></block></next></block></next></block><block type=\"event_player_in_front\" id=\"Bli6ftHJylTv5ufl#z4Z\" x=\"130\" y=\"370\"></block></xml>","code":"quand('tir touche', fonction (personnage) {\n});\n\njoueur.vitesse < objet.nom;\n\nretarder(1.5 + ' secondes', fonction () {\n joueur.tire();\n});\nquand('personnage arrive', fonction (personnage) {\n joueur.tire();\n});\nquand('joueur est devant', fonction () {\n personnage;\n});\njoueur.tire();\n\njoueur est devant;\n"},"endGame":{"wallpaper":"https://www.code-decode.net/sites/default/files/images_modules/gamecode/6301/6301-2015-12-25 2016-05-11 001 041.JPG","winText":"Victoire !","loseText":"Défaite :("},"sounds":{"music":"sounds/musics/feel_good","win":"sounds/win/03","loose":"sounds/loose/03","items":"sounds/bonus/01"},"soundEnable":true,"name":"Test","goal":"Finir le niveau","generalScript":"quand('personnage est devant', fonction (personnage) {\n joueur.tire();\n});\nquand('tir touche', fonction (personnage) {\n personnagedisparaît;\n});\nquand('est touché', fonction () {\n objet.disparait();\n});\n","sourceXml":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"when_character\" id=\"/a*{9~%2CJz`1RHo*E0]\" x=\"301\" y=\"258\"><field name=\"ACTION\">personnage est devant</field><statement name=\"BODY\"><block type=\"get_entities\" id=\"@!Es0kC=+2OqnA.@OpJ6\"><field name=\"NAME\">joueur</field><value name=\"BODY\"><block type=\"shoot\" id=\"2B4:q[7krCEkTE46tNbR\"></block></value></block></statement><next><block type=\"when_hit\" id=\"}?+P?Fh]GYgqPY,Gs.P;\"><statement name=\"BODY\"><block type=\"get_entities\" id=\"8J^9u).bBBbqi*+,b)_(\"><field name=\"NAME\">personnage</field><value name=\"BODY\"><block type=\"event_disappear\" id=\";WHu3W4#l/9[q]TL%CAa\"></block></value></block></statement><next><block type=\"gamecode_when\" id=\"GJe8!2}v]Bj/5iDO6iL(\"><value name=\"EVENT\"><block type=\"event_touched\" id=\"?mbhFcwEeO=3yD4Fb`X8\"></block></value><statement name=\"BODY\"><block type=\"get_entities\" id=\"}vxHcV|6gq{E@iFYn3{t\"><field name=\"NAME\">objet</field><value name=\"BODY\"><block type=\"disappear\" id=\"9pVkkw4:2PFPs7TAb!uO\"></block></value></block></statement></block></next></block></next></block></xml>","code":"","needed":true,"assetsLibrary":{"backgrounds":["https://www.code-decode.net/sites/default/files/images_modules/gamecode/6301/6301-2015-12-25 2016-05-11 001 041.JPG"]}}
Communaute: 
0
Miniature: 
Application: 
Tags créateur: 

Nos partenaires GameCode