-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 4.63 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="Y4S.8}e?=`I8!z]|]DXK">enemigo</variable><variable id="LP8.27f%sQ@Y_)*60h#~">sprite</variable><variable id="3Zx(O{ONxRjRn?kL1i0$">cuadrado</variable><variable id="vahv!(|UC!Nr2n}T,ZE;">manzana</variable></variables><block type="pxt-on-start" id="3JnK_{zX(_WL?$AWi!a)" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="`*N3#DPzgUZ8v2?}525O"><field name="VAR" id="3Zx(O{ONxRjRn?kL1i0$">cuadrado</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="IV#%9ZQFY/a5}8I|hFdq"><value name="x"><shadow type="math_number" id="mc:-T68)Rh]9x/u{hAU?"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number" id="oJLaYdg-{.S]d/g0=Z*5"><field name="NUM">4</field></shadow></value></block></value><next><block type="device_pause" id="JXv3xHp3_CQ`jXiysUn7"><value name="pause"><shadow type="timePicker" id="`D)Jl/?:KChOyfhd9EJ/"><field name="ms">200</field></shadow></value></block></next></block></statement></block><block type="device_forever" id=".88Iirlr9=hksTX=j,BR" x="4" y="199"><statement name="HANDLER"><block type="variables_set" id="]4G]6A_YDxwYbv#;VqR="><field name="VAR" id="vahv!(|UC!Nr2n}T,ZE;">manzana</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="ldEh$yoa-_~p^dcM~N{I"><value name="x"><shadow type="math_number"><field name="NUM">2</field></shadow><block type="device_random" id="#4ud@=bk06wsd3v7csgo"><value name="min"><shadow type="math_number" id="AZWnK5bt`1^QG`FI!Q]Q"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="QOb:Szt.m3QgDLr{h(36"><field name="NUM">4</field></shadow></value></block></value><value name="y"><shadow type="math_number" id="3BNutS!VXx.a@qHcIWY="><field name="NUM">0</field></shadow></value></block></value><next><block type="controls_repeat_ext" id="}EMwsHQ,~/hBb%hyCh7D"><value name="TIMES"><shadow type="math_whole_number" id="y)noS^#y!,R$6O!,o**X"><field name="NUM">5</field></shadow></value><statement name="DO"><block type="device_pause" id="M5KrG1Zye8!0bUYu^~!V"><value name="pause"><shadow type="timePicker" id="ln:O`UJPyt8:d0}sZpr%"><field name="ms">400</field></shadow></value><next><block type="game_sprite_change_xy" id="ZER7`FIRPf0Bg1s}r,4U"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id=":$hv2q$.s$TS=+t?L;JW"><field name="VAR" id="vahv!(|UC!Nr2n}T,ZE;">manzana</field></block></value><value name="value"><shadow type="math_number" id="tn3EJ)k~%#84shjlMxYN"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="controls_if" id="@S?l2fxB$mFk`^iJOv4l"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="wBeCY+H2JKr)ue!7%d+*"><value name="BOOL"><block type="game_sprite_touching_sprite" id="Y}rmr4K3Xcd[;(#-?cyy"><value name="sprite"><block type="variables_get" id="H{|~;S/Gp*Xq9`!N~Z]N"><field name="VAR" id="vahv!(|UC!Nr2n}T,ZE;">manzana</field></block></value><value name="other"><block type="variables_get" id="8P;s#N:2eP;?0{u6Il$F"><field name="VAR" id="3Zx(O{ONxRjRn?kL1i0$">cuadrado</field></block></value></block></value></block></value><statement name="DO0"><block type="game_game_over" id="gx1!dP2?v9Wo-pm{!wip"/></statement><next><block type="game_delete_sprite" id="LLce7OVlcc?zK)?/%+m_"><value name="this"><block type="variables_get" id="EnTlRsDK6qy+-f6xZ4|7"><field name="VAR" id="vahv!(|UC!Nr2n}T,ZE;">manzana</field></block></value></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="1bxEWt^f:Nl$a@K5q%SS" x="8" y="733"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="game_move_sprite" id="h]4z)7d/4.+FD7Hn?PF$"><value name="sprite"><block type="variables_get" id=";BL*.xJWo$P=2^4E41cs"><field name="VAR" id="3Zx(O{ONxRjRn?kL1i0$">cuadrado</field></block></value><value name="leds"><shadow type="math_number" id="s]^$#PbtBXHUd00)XG7="><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_button_event" id="#MI_5|IG8aR$,e)I{I(`" x="328" y="738"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="game_move_sprite" id="Psk*H}H:l(c|IKKj-!,Q"><value name="sprite"><block type="variables_get" id="g/q*zmMz6!B8LU(k*$.H"><field name="VAR" id="3Zx(O{ONxRjRn?kL1i0$">cuadrado</field></block></value><value name="leds"><shadow type="math_number" id="osN;@=`T/fYkeQXlYeTw"><field name="NUM">-1</field></shadow></value></block></statement></block></xml>