-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 5.9 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="a$j*s7u!;u.)Divc4tI#">jugador</variable><variable id="RtNvR2RZ*A_[oKLIn1vR">sprite</variable><variable id=":2G!=EblrNdsQ}3iZx}D">Asteroide</variable></variables><block type="pxt-on-start" id="Lz7Ki,Jm{#AeIF8_!au$" x="-8" y="-341"><statement name="HANDLER"><block type="music_playable_play" id="xj136|Yj7@N9MLUZWWo4"><field name="playbackMode">music.PlaybackMode.InBackground</field><value name="toPlay"><shadow type="music_string_playable" id="pRHkK?RGpvrb.R:imN)f"><value name="melody"><shadow type="melody_editor" id="X9RCzq7rw18#IxR%Ed]q"><field name="melody">"C D E C D E F - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="QI/]pe5mx3#Ng_1=,!T6"><mutation min="40" max="500" label="Bpm" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></shadow></value><next><block type="variables_set" id=",T]bb4Z%^.TQPXnz4ug~"><field name="VAR" id="a$j*s7u!;u.)Divc4tI#">jugador</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="SL%AlME;d?4L@lU+%,h1"><value name="x"><shadow type="math_number" id="1X0N%}P^Tz(D3aT=2BLw"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number" id="kLfr3Gz/IPW9~Nw|OCf-"><field name="NUM">4</field></shadow></value></block></value><next><block type="game_set_score" id="s:LyvCme%6l_aj+{ZM@o"><value name="points"><shadow type="math_number" id="Y1},m#ZUqo?thrRQ!~^x"><field name="NUM">0</field></shadow></value><next><block type="function_call" id="G5P=!tUKlT.vUw|mOzD!"><mutation name="NuevoAsteroide" functionid="XKHFJDGG[j0I-LCqw3:m"></mutation></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="qBKRF|w}@dskg34VoH)f" x="997" y="-340"><statement name="HANDLER"><block type="controls_if" id="dY(f+x9P9(h@/In_PC/8"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="game_sprite_touching_sprite" id="U7Bi#1Y|tg`1sLm2MIyM"><value name="sprite"><block type="variables_get" id="}lbM7!:k*A9:yR}!3MEf"><field name="VAR" id="a$j*s7u!;u.)Divc4tI#">jugador</field></block></value><value name="other"><block type="variables_get" id="[email protected]#At"><field name="VAR" id=":2G!=EblrNdsQ}3iZx}D">Asteroide</field></block></value></block></value><statement name="DO0"><block type="game_game_over" id="$,tS|zPu*Kuy!h_PGop~"></block></statement><next><block type="game_add_score" id="[Nz)~Gs%Uc|+7Oh@A`[$"><value name="points"><shadow type="math_number" id="(ppHPrJ;DMS)9##Oh1yG"><field name="NUM">1</field></shadow></value><next><block type="game_delete_sprite" id="0:sEQV=#I~Rxi5X1KoDU"><value name="this"><block type="variables_get" id="y!dS/A}bW_alc0W5.?Ft"><field name="VAR" id=":2G!=EblrNdsQ}3iZx}D">Asteroide</field></block></value><next><block type="function_call" id=";doa0e]as]hj$CHT9c1X"><mutation name="NuevoAsteroide" functionid="XKHFJDGG[j0I-LCqw3:m"></mutation></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="[Q3l.sk6/oKj[)I|9YT`" x="0" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="+qT(G{ncoQ+:N#!V6d!-"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id=":-mHdJy|!?/4.R8C!ZS3"><field name="VAR" id="a$j*s7u!;u.)Divc4tI#">jugador</field></block></value><value name="value"><shadow type="math_number" id=".MKT$A2Z[Dt8p8?wT.Uh"><field name="NUM">-1</field></shadow></value></block></statement></block><block type="device_button_event" id="*A0=5%CG18h`arrx#yrT" x="440" y="1"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="]N:_GWvu:@x{DT7!u)~L"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="@f*zfME0L1FW],]OqK`J"><field name="VAR" id="a$j*s7u!;u.)Divc4tI#">jugador</field></block></value><value name="value"><shadow type="math_number" id="Qo3B_Py3I`(*6V%-=1_4"><field name="NUM">1</field></shadow></value></block></statement></block><block type="function_definition" id="Ij^JSZMfXfFc]H~R?f,!" x="-1" y="165"><mutation name="NuevoAsteroide" functionid="XKHFJDGG[j0I-LCqw3:m"></mutation><field name="function_name">NuevoAsteroide</field><statement name="STACK"><block type="variables_set" id="kOhR4T(rLg:HEeT6,u*4"><field name="VAR" id=":2G!=EblrNdsQ}3iZx}D">Asteroide</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="wt/Dk*q$N84v!h)~W?uo"><value name="x"><shadow type="math_number"><field name="NUM">2</field></shadow><block type="device_random" id="LEs4[W(j:Qa4y7,XuKTN"><value name="min"><shadow type="math_number" id="B)hw#+cW:JtR%OLG9E{$"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="THcL$@Uzqo6q@QS6y*iE"><field name="NUM">4</field></shadow></value></block></value><value name="y"><shadow type="math_number" id="x8oyX3^5G,8X9p@x2/Ya"><field name="NUM">0</field></shadow></value></block></value><next><block type="controls_repeat_ext" id="~JFkN5m.?(wG+O`,84%^"><value name="TIMES"><shadow type="math_whole_number" id="k|,jOlG!3jj(W#Y@rIt9"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="device_pause" id=").fm9N06)hCh`ky.13m5"><value name="pause"><shadow type="timePicker" id="1dr$Lwy!](Ao)=P-DVm;"><field name="ms">300</field></shadow></value><next><block type="game_sprite_change_xy" id="isBR/V~B7ws0).wJXVk%"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="GYhKx+W(B)Pl}~CMwkaO"><field name="VAR" id=":2G!=EblrNdsQ}3iZx}D">Asteroide</field></block></value><value name="value"><shadow type="math_number" id=".M|Sj=xs$j=lE|XZ9s)]"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></statement></block></xml>