/
main.blocks
1 lines (1 loc) · 10.9 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</variable><variable id="j8R}qMRu8WjlV:mHTd#q">Jugador Abajo</variable><variable id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</variable><variable id="[I!#J[EE(e+fkBbQ#{$,">sprite</variable></variables><block type="pxt-on-start" id="]-:UQ2J:Yu3]t(C8[7-V" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="uvG4T};sJ)Z_:E?/olnk"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="]qj7N}d7vEy$SN(uEbAS"><value name="x"><shadow type="math_number" id="=nG)Jd0c[9tt;Jxpe)OE"><field name="NUM">1</field></shadow></value><value name="y"><shadow type="math_number" id="oJ)Yh^lbZavF79EQ|bnJ"><field name="NUM">3</field></shadow></value></block></value><next><block type="variables_set" id="I_tS$-DYQqH$9BM*Z$s{"><field name="VAR" id="j8R}qMRu8WjlV:mHTd#q">Jugador Abajo</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="-yZ@YD}=QSzt:#~sBS:E"><value name="x"><shadow type="math_number" id=":Ra.-L{t?z[^rPZ1T-H7"><field name="NUM">1</field></shadow></value><value name="y"><shadow type="math_number" id="4K5DO.=?Z6#5}-dN2?f-"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="`g8?lWx+k(B0mHifu@?e"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id=":p{|vW6lD`0On,aaX,x)"><value name="x"><shadow type="math_number" id="Tp~[nNVQ1?.4~J4s2qQt"><field name="NUM">4</field></shadow></value><value name="y"><shadow type="math_number" id="~OwF:ebbuJ4Rt.GiR2fg"><field name="NUM">4</field></shadow></value></block></value></block></next></block></next></block></statement></block><block type="device_button_event" id="H*g*!MVIDKteq@%M@vs!" x="4" y="238"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="Sl)b{#7ofBD.}.]^{qiK"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="now!V^~]LZu-2f~,#D6f"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="]p?ed_v{ShQ$9l@Tj:UQ"><field name="NUM">-1</field></shadow></value><next><block type="game_sprite_change_xy" id="|0tVdc}e.fMaIp6YuTN5"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="m{QtRHGE9=bQ!r|LvF}G"><field name="VAR" id="j8R}qMRu8WjlV:mHTd#q">Jugador Abajo</field></block></value><value name="value"><shadow type="math_number" id="_#}uz^#d!emF[p$na$`-"><field name="NUM">-1</field></shadow></value><next><block type="device_play_note" id="T_v-f;sT|D[e-{yYb:x-"><value name="note"><shadow type="device_note" id="LRb/*c^e:2/nY3+qkKle"><field name="note">523</field></shadow></value><value name="duration"><shadow type="device_beat" id="NTZPG.;p?mO(XNug*j)Z"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_pause" id="s%%[n~{kBIud3:9z/v:J"><value name="pause"><shadow type="timePicker" id="_o-FNJ:jrQWZ^{_stdxx"><field name="ms">1000</field></shadow></value><next><block type="game_sprite_change_xy" id="TVt8dM0)wW.aU{%B}84`"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="L^e2:@H+=!B#b5[1b}pT"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="?i;z]DMSd{VMr^z1vI,@"><field name="NUM">1</field></shadow></value><next><block type="game_sprite_change_xy" id="*1pTB*O;K(3Qw?2`gFd;"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="0Sg8ovE{_5ck$dQ29vN9"><field name="VAR" id="j8R}qMRu8WjlV:mHTd#q">Jugador Abajo</field></block></value><value name="value"><shadow type="math_number" id="X!c];k@_uJYRj#C$4wH}"><field name="NUM">1</field></shadow></value><next><block type="game_add_score" id="xB:r}yC9B@=$TOCwj.@1"><value name="points"><shadow type="math_number" id="DSRsV*O6N_=P@5xDP9rk"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="C#W2(4a0B[aJ5V(YX*kE" x="552" y="238"><statement name="HANDLER"><block type="game_sprite_change_xy" id="k[-#_$EUXd1B4ZNGeobp"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="NeA8b,8~mv#1-Cl9wC|W"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value><value name="value"><shadow type="math_number" id=":=6WG~1Q1~/Lr)JZQY5X"><field name="NUM">-1</field></shadow></value><next><block type="device_pause" id="f9!*Zvi?rK%x!4AmC0IX"><value name="pause"><shadow type="timePicker" id="5?%:x:S$J}T}5cf3;i[m"><field name="ms">750</field></shadow></value><next><block type="controls_if" id="w7{5UYpkwolH|cHRr+3L"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="n!7}S`I!vO+o_;KD/(4h"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="+P`a=hv7{_DS:v)sFe(!"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="EcNeo7(]-4$,zJn*6f$."><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value></block></value><value name="B"><shadow type="math_number" id="u1Pq33WaQnlm*+2Q`}Hf"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="game_sprite_set_property" id="OZwL3$38m~M7rcZ.|Zd4"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="Z90JV8)fiYWqmXqrG8_o"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value><value name="value"><shadow type="math_number" id="+?E7l8^,,u}89?zAm`j#"><field name="NUM">4</field></shadow></value><next><block type="game_sprite_set_property" id="wJ5naa4)+^#1?764owIW"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="-7/r8t)q}Og)%F=@NWF]"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">4</field></shadow><block type="device_random" id="aKv/E*TQ9dCLYU[E[~CR"><value name="min"><shadow type="math_number" id="4~pwwdsT7{1fk#*Hn!%h"><field name="NUM">4</field></shadow></value><value name="limit"><shadow type="math_number" id="gJQJFur,r^F:{2G5_#qE"><field name="NUM">3</field></shadow></value></block></value></block></next></block></statement><next><block type="controls_if" id="v[`CSuIilIdpKV72^(Eg"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="gZjzceT~@GS#R{1oMOkt"><field name="OP">OR</field><value name="A"><block type="game_sprite_touching_sprite" id="mMT~EbOET0l;p|A)XBgH"><value name="sprite"><block type="variables_get" id="@m.oXk6Q:Rg9Pmn|AUlk"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value><value name="other"><block type="variables_get" id="u#E6-;A0S#J4f9j1Dm!z"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value></block></value><value name="B"><block type="game_sprite_touching_sprite" id="[p8VP!IotPc4;;*Wygds"><value name="sprite"><block type="variables_get" id="!RdUZX!OEt6(XUJ@:C7R"><field name="VAR" id="cKi7`GC2/7t9T^_Lz)pK">Obstaculo</field></block></value><value name="other"><block type="variables_get" id="CiJ$1M-JOQ|Id@j,OwmX"><field name="VAR" id="j8R}qMRu8WjlV:mHTd#q">Jugador Abajo</field></block></value></block></value></block></value><statement name="DO0"><block type="device_play_note" id="0W/%oro#.SarbCQj$[@-"><value name="note"><shadow type="device_note" id="?^ur9C?E7IVA-y=Ci9Q4"><field name="note">131</field></shadow></value><value name="duration"><shadow type="device_beat" id="Xl[oO%NL1HE$w|*d}VM0"><field name="fraction">BeatFraction.Whole</field></shadow></value><next><block type="game_game_over" id="y_+OOK^=NEb(,k~+4AnN"><next><block type="game_set_score" id="#X_i*wjIVB.cGc8n{4^v"><value name="points"><shadow type="math_number" id="%^kvyh(}yoir[n(]Y{k="><field name="NUM">0</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id=":*hH6Q_?2L6H$HNzhH%T" x="5" y="664"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="!@),EA+i-N^tKj!*0g$0"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="qy7P!zNLDZskG-,urs^p"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="d83x/zybUbZwF7X`g^!M"><field name="NUM">-1</field></shadow></value><next><block type="game_sprite_change_xy" id="nC7[hMrZJv8Q@m#0;e8Y"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="feAVOVk++4KoO2sR;.K+"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="2)BIqImpPB@)NSb`haf,"><field name="NUM">1</field></shadow></value><next><block type="device_play_note" id="hP`g$emBWRQ;8HJP4dp-"><value name="note"><shadow type="device_note" id="h2u.GvRR^{]$Z|Po4Zv?"><field name="note">523</field></shadow></value><value name="duration"><shadow type="device_beat" id="-UrQ(iK@V!~p-ji.pZw{"><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="device_pause" id="6ch.TCYz[xm$S_/(C[oT"><value name="pause"><shadow type="timePicker" id="~A`aa8sZJm%U*0Zl46cj"><field name="ms">1000</field></shadow></value><next><block type="game_sprite_change_xy" id="`Gn_qZ81]b+w~;=`M0O["><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="$a$wKUa5GJOzN@Rv:$w@"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="mmeNb^=HSY/5qLeGnYOQ"><field name="NUM">1</field></shadow></value><next><block type="game_sprite_change_xy" id="}fH[0Q._23!6RV(J~[z@"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="SDlYl^7JKm:jt24mfv?Y"><field name="VAR" id="m9fu;rVMUk/a{v=J29M[">Jugador Arriba</field></block></value><value name="value"><shadow type="math_number" id="}Nup7dVjF8E!q~^Bf)l%"><field name="NUM">-1</field></shadow></value><next><block type="game_add_score" id="O1$C$1mJl|#Mc0y7++cl"><value name="points"><shadow type="math_number" id="1uwI`zgp:v)v:H-/2zk("><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>