-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 3.27 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="b,z,K[JX7T)t`wV4l-;g">step</variable><variable id="0?H;jV{N+d$=,Qf~S77+">myImage</variable><variable id="!;|D,hnC`mb!.O49Zl3|">index</variable><variable id="%c@q(7fu8g6^fh,,w!?`">value</variable><variable id="Z%_CkG+GdX3*vL]SuoJm">list</variable></variables><block type="pxt-on-start" id="rT1_=t@q(:sPrAKMBn1F" x="2" y="0"><statement name="HANDLER"><block type="variables_set" id="a753+o5XOFn.I;y:)Wi?"><field name="VAR" id="b,z,K[JX7T)t`wV4l-;g">step</field><value name="VALUE"><shadow type="math_number" id="wqhI}zc]Ww,[F-n6x*sh"><field name="NUM">0</field></shadow></value></block></statement></block><block type="device_gesture_event" id="e$^Ec#Q.#e!9(r=rrgu*" x="3" y="136"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="variables_change" id="I2*uBHvdFIrjISkz)I5%"><field name="VAR" id="b,z,K[JX7T)t`wV4l-;g">step</field><value name="VALUE"><shadow type="math_number" id="xF=YnYCO$o|I~SCInEp{"><field name="NUM">1</field></shadow></value><next><block type="device_stop_animation" id="/Rk(r3H=g3X`9}[bP_Bn"/></next></block></statement></block><block type="device_forever" id="o=2:E]$f(2QbCsoQtND$" x="1" y="326"><statement name="HANDLER"><block type="device_show_number" id="[}[[S~5hO$*~LT;]GGn{"><value name="number"><block type="variables_get" id="T/ZZS](])(YD,%B_BPP;"><field name="VAR" id="b,z,K[JX7T)t`wV4l-;g">step</field></block></value></block></statement></block><block type="device_button_event" id="?):c{[NVWtFkAk^3n^,v" x="0" y="481"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="controls_if" id="1z@/87fUgwm1~YlzXEgD"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="C);5r`A0;yIvuoCHmv(i"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Gv3MnGrKkxTh+^?,!GPt"><field name="VAR" id="b,z,K[JX7T)t`wV4l-;g">step</field></block></value><value name="B"><shadow type="math_number" id="Sm`=@A0Jk60odfB,im$."><field name="NUM">10</field></shadow></value></block></value><statement name="DO0"><block type="controls_repeat_ext" id="DMD,FBCQ.lG+3XO8(4:s"><value name="TIMES"><shadow type="math_whole_number" id="/WofES*PW$w^U$3srJF9"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="basic_show_icon" id="NVLvb;m(JR+-8AE|m==h"><field name="i">IconNames.Sad</field></block></statement></block></statement><statement name="ELSE"><block type="controls_repeat_ext" id="ZjFa+_2C#iUokh3P9WIc"><value name="TIMES"><shadow type="math_whole_number" id="9[t7W8$0}fvT75phM2sq"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="basic_show_icon" id="b3wA#lGZL_h./-`nDDWE"><field name="i">IconNames.Happy</field></block></statement></block></statement></block></statement></block><block type="device_button_event" id="bcA:Wr.g5{{EGWK]mM;S" x="-1" y="1016"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="variables_set" id="8AL*5x2/GzLaNM:nd9ZZ"><field name="VAR" id="b,z,K[JX7T)t`wV4l-;g">step</field><value name="VALUE"><shadow type="math_number" id=")2}?fY=qN96NEzd+BUQ#"><field name="NUM">0</field></shadow></value></block></statement></block></xml>