-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 12.5 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="RtK-Olj3cXi+Vl*ob1^a">Player</variable><variable type="KIND_SpriteKind" id="RSy;}M(mghwkSz+lrBs)">Projectile</variable><variable type="KIND_SpriteKind" id="4:ekbP~MC(5/Ev2(.jk^">Food</variable><variable type="KIND_SpriteKind" id="p2Z}|0xc=w+^BqzZ7,gl">Enemy</variable><variable type="KIND_SpriteKind" id="r5i1MBRM-P6{G+Sh:%xT">Guard</variable><variable id="$b`5My`sv[_7}G(]heZ2">Shuri</variable><variable id="A6HNuy2WgxSuBV[?SWu#">Namor</variable><variable id="c1e0vl]w^}Ib4B00GY.p">Riri</variable><variable id="pv:zyOhaKzj%3Wh2{oOa">myEnemy</variable><variable id="$4TR0/p%lOzFG]%#Q=9y">Okoye</variable><variable id="_=,u!]j0Kd_qmkRNqr?^">mySprite</variable></variables><block type="pxt-on-start" id="B^r]5lh0Uj.-Qpdh{n,=" x="0" y="0"><statement name="HANDLER"><block type="game_show_long_text" id="9OOQl2C{BjFKchhP}ivP"><field name="layout">DialogLayout.Full</field><value name="str"><shadow type="text" id="ejZy.}n;O,ht`.VF8H@b"><field name="TEXT">When game begins, press the ARROW KEYS to move Shuri, Okoye and Riri. If Namor catches you, you will lose points! Click A to start the game.</field></shadow></value><next><block type="gamesetbackgroundimage" id="GFN[28P0E-Xp^8hdyI%6"><value name="img"><shadow type="background_image_picker" id="y]xvPpd~+pz)De2ECLe."><field name="img">assets.image`wakanda`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image4"}}</data></shadow></value><next><block type="variables_set" id="fVRnlHCFkiQuk_:3c+0+"><field name="VAR" id="$b`5My`sv[_7}G(]heZ2">Shuri</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="cr.bV9UGdUOz]tBv5%IQ"><value name="img"><shadow type="screen_image_picker" id="`UD|XwM#FXynCw/vO`6c"><field name="img">assets.image`shuri`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image8"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="!qe{Zz[Q3=_r:2JUwb]s"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="game_control_sprite" id=",Rxd[nINeA*_bJ(l`jpq"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="aINEsl)$xo6#c`N%.s:V"><field name="VAR" id="$b`5My`sv[_7}G(]heZ2">Shuri</field></block></value><value name="vx"><shadow type="spriteSpeedPicker" id="/{ZwL8%M~LKGJWJi5/!/"><field name="speed">100</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="T@r}-Wf3YJ`#pVV{)RbN"><field name="speed">100</field></shadow></value><next><block type="spritesetsetstayinscreen" id="-[S*B0Ueqou(ml4;,)Nn"><value name="sprite"><block type="variables_get" id="8*9rYl16%PiX__%H8dxW"><field name="VAR" id="$b`5My`sv[_7}G(]heZ2">Shuri</field></block></value><value name="on"><shadow type="toggleOnOff" id="B_G8I1!x5ui3d2DO*|k^"><field name="on">true</field></shadow></value><next><block type="variables_set" id="Rpr)Xm4O)?:Dr{!`V;#2"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="K5S`VEw/v3bv!lzD;dJ_"><value name="img"><shadow type="screen_image_picker" id="aebw^q(wZVOMA~qFe:Nr"><field name="img">assets.image`namor`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image9"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="*AvQ6j*!V`iPK#3u=]~0"><field name="MEMBER">Enemy</field></shadow></value></block></value><next><block type="spritesetpos" id="m/tkrXOj%*?K/6,eb6+O"><value name="sprite"><block type="variables_get" id=")?%O#+fqW{A*YHu{Jx@a"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field></block></value><value name="x"><shadow type="positionPicker" id="|`^AC(oLwuem:I/z2p3!"><field name="index">148</field></shadow></value><value name="y"><shadow type="positionPicker" id="}G:@y%$.I,5zRZr1yww_"><field name="index">2</field></shadow></value><next><block type="spriteFollowOtherSprite" id="0XJ)X0X^UqJu.Xw%9O+t"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="k`Nz%?b#{QZGtN8~#9Ot"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field></block></value><value name="target"><block type="variables_get" id="=i~`0EU-=jPu3vGJREJb"><field name="VAR" id="$b`5My`sv[_7}G(]heZ2">Shuri</field></block></value><value name="speed"><shadow type="math_number" id="Z*+WG)e66p#jVdDZR9{A"><field name="NUM">25</field></shadow></value><next><block type="variables_set" id="+sx*s*~cebB^Bbd4~([:"><field name="VAR" id="c1e0vl]w^}Ib4B00GY.p">Riri</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="Io|w4z0|*5A{3$I|dknq"><value name="img"><shadow type="screen_image_picker" id="~QLnz:0[Vr]%#rj94:vj"><field name="img">assets.image`riri`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image11"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="Acw!=jxEs/)R{x(u:HuB"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="spritesetsetstayinscreen" id="DHLVC?`R,[m9Q|Et+xDa"><value name="sprite"><block type="variables_get" id="`eh!uO?1IJ`I01=KU#O|"><field name="VAR" id="c1e0vl]w^}Ib4B00GY.p">Riri</field></block></value><value name="on"><shadow type="toggleOnOff" id="D:G$LNGp/iL[,:~XPP{c"><field name="on">true</field></shadow></value><next><block type="game_control_sprite" id="%kL(HLDS1XabJ2nuT%=V"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="B9)FLrZjG8{0s`bu!wqE"><field name="VAR" id="c1e0vl]w^}Ib4B00GY.p">Riri</field></block></value><value name="vx"><shadow type="spriteSpeedPicker" id="lWNh[zdldm%+1axGYb*Y"><field name="speed">34</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="5jV;?~ren!qod2nv17Gq"><field name="speed">-53</field></shadow></value><next><block type="variables_set" id="kl*O9cUe5Z/CgKb7Z|sO"><field name="VAR" id="$4TR0/p%lOzFG]%#Q=9y">Okoye</field><value name="VALUE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="hZ7tVCrz#5YUys2!@3/V"><value name="img"><shadow type="screen_image_picker" id="-hG4)od6*!_GoIj(ZAIB"><field name="img">assets.image`okoye`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image10"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="{yO(|+S~4id!kH9|[@2~"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="spritesetsetstayinscreen" id="5P}$xQ}Zt0_ui[-^!5NI"><value name="sprite"><block type="variables_get" id="]q6Mr+^OOl|@-3cN%3qZ"><field name="VAR" id="$4TR0/p%lOzFG]%#Q=9y">Okoye</field></block></value><value name="on"><shadow type="toggleOnOff" id="o-ijh``V1`?VJH!/4n%S"><field name="on">true</field></shadow></value><next><block type="game_control_sprite" id="@t7h^2)p0g!kSEY@nzQd"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="Ly;399IqOF`pH*/97Vfq"><field name="VAR" id="$4TR0/p%lOzFG]%#Q=9y">Okoye</field></block></value><value name="vx"><shadow type="spriteSpeedPicker" id="O9k`sDV_J`,jP{Z,3gk|"><field name="speed">-68</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id=":)y{)/d{Ad{-^F|eR+fV"><field name="speed">-58</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="}Z_DO{7|j#xf9j3=imm3" x="560" y="120"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="1qfP/7@*2,pB6SYmF1W2"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="w3_rLRt1M!pLZC@Ewa)p"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="l#pv0D`W.E^b@*k%P*{X"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="VTspSOwHo@8I2Fv[.:cu"><field name="MEMBER">Enemy</field></shadow></value><statement name="HANDLER"><block type="hudChangeLifeBy" id="fbzs/3pD1sMP}U?Z1Z-K"><value name="value"><shadow type="math_number" id="r.SL63U#E,/!=HS((FW|"><field name="NUM">-1</field></shadow></value><next><block type="spritesetpos" id="1ssP:Ul|Uji!,HdytI_J"><value name="sprite"><block type="variables_get" id="%u:$gDPs68vO_Za~e]{E"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field></block></value><value name="x"><shadow type="positionPicker" id=",_Ss2HxI{6Nvm4/e(eNB"><field name="index">148</field></shadow></value><value name="y"><shadow type="positionPicker" id="v,;I!vy+t2E%k1VOTrd!"><field name="index">2</field></shadow></value></block></next></block></statement></block><block type="spritesoverlap" id="/LXc%`?mf-q01fIO[pHr" x="560" y="320"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="U.fs%Xdl5cdsOMyWd[T/"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="*%AR_i$Wm3y.bJ5xXYz1"><field name="MEMBER">Guard</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="$oX8fzc1YpF949=,`O{x"><mutation typename="Sprite"></mutation><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="Ze#w%gm6{/,g*`c-p^XB"><field name="MEMBER">Enemy</field></shadow></value><statement name="HANDLER"><block type="hudChangeScoreBy" id="tDe2m]iOZES_PF(fO}E%"><value name="value"><shadow type="math_number" id="xtq|KpJo8WG;ydis#T43"><field name="NUM">1</field></shadow></value><next><block type="spritesetpos" id="%4TIJ*_OOB^#=VIpO=Sr"><value name="sprite"><block type="variables_get" id="_ymD7jy3Shxys|xH0pSr"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field></block></value><value name="x"><shadow type="positionPicker" id="IR%!`OpEcWlT;%=y$4*8"><field name="index">148</field></shadow></value><value name="y"><shadow type="positionPicker" id="wayiIY/mo{xVCPPSVj=M"><field name="index">2</field></shadow></value></block></next></block></statement></block><block type="gameonscore" id="]v@#hZXOUN+cs7!/I6$t" x="560" y="520"><value name="score"><shadow type="math_number" id="U9uYkTC6l7^9TlMcNt|t"><field name="NUM">1</field></shadow></value><statement name="HANDLER"><block type="spritedestroy" id="eyV`9jm=k/R{H*-:wH|k"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><field name="effect">effects.spray</field><value name="sprite"><block type="variables_get" id="S9aTe~c0qab^y9l,Z67Z"><field name="VAR" id="A6HNuy2WgxSuBV[?SWu#">Namor</field></block></value><value name="duration"><shadow type="timePicker" id="4y9=^!7:zsG{T}nFfbt!"><field name="ms">500</field></shadow></value><next><block type="gamesetbackgroundimage" id="@Q[E$]Y!M0:!bZehB]y`"><value name="img"><shadow type="background_image_picker" id="-BGI?x^:O|t,fduu3Br5"><field name="img">assets.image`vibranium`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image1"}}</data></shadow></value><next><block type="particlesStartScreenAnimation" id="biQPNWgA);X.(eiN,%DS"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><field name="effect">effects.blizzard</field><value name="duration"><shadow type="timePicker" id="Ly:Kg2K!ge_u9HVV`]3J"><field name="ms">500</field></shadow></value><next><block type="spritesaytext" id=".b=2)-ChfD*;}#a{1UZ4"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="this"><block type="variables_get" id="]]~:O#jM54l9_$$K0Q=U"><field name="VAR" id="$b`5My`sv[_7}G(]heZ2">Shuri</field></block></value><value name="text"><shadow type="text" id="dn6r9u4DjG$mDn*cGn9T"><field name="TEXT">WAKANDA FOREVER!</field></shadow></value><value name="timeOnScreen"><shadow type="timePicker" id="MTz^C#YZ_P8[J(uS2.]u"><field name="ms">2000</field></shadow></value><value name="animated"><shadow type="logic_boolean" id="F@(a%7pSNFn;2IpY?[94"><field name="BOOL">TRUE</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml>