-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 3.87 KB
/
Copy pathmain.blocks
File metadata and controls
1 lines (1 loc) · 3.87 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="p#O|V-~2yE+LQSlo4;=M">mySprite</variable><variable type="KIND_SpriteKind" id="OXbV*YkNIgf{UtfZ5DA~">Player</variable><variable type="KIND_SpriteKind" id="CL*?=+yB^Q[4!s7dmkp!">Projectile</variable><variable type="KIND_SpriteKind" id="}ZWDo%:|fEXxX#WTc0D5">Food</variable><variable type="KIND_SpriteKind" id="{She%3J!yimy7}8;lj+t">Enemy</variable><variable type="KIND_SpriteKind" id="Si@u8I]QBjaACg?:UT0l">Bubble</variable></variables><block type="pxt-on-start" id="6+AP?|YS+N;aamB/5op~" x="0" y="0"><statement name="HANDLER"><block type="createBoard" id="Gq?/^Qa2CRinDkM=Rt%x"><next><block type="loadBubble" id="zw0rx(?+cY?NUK?XlZ{x"><next><block type="variables_set" id="!$.oW6NrDqF@J9Ao.;J,"><field name="VAR" id="p#O|V-~2yE+LQSlo4;=M">mySprite</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreate" id="D@wZX]ofz3Lv?+9$TDA+"><value name="img"><shadow type="screen_image_picker"></shadow><block type="image_picker" id="lJ4n`t~WrE`%+V$0VK;4"><field name="image">io2_images.joy</field><data>{"commentRefs":[],"fieldData":{"image":"lJ4n`t~WrE`%+V$0VK;4"}}</data></block></value><value name="kind"><shadow type="spritekind" id="K;^AeR]z}aERaHZua*AX"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="Sprite_blockCombine_set" id="}fTsH!wC)?skUDn3B?m~"><field name="property">Sprite.top@set</field><value name="mySprite"><block type="variables_get" id="1vs3vh^GtYl0uYoN$;N$"><field name="VAR" id="p#O|V-~2yE+LQSlo4;=M">mySprite</field></block></value><value name="value"><shadow type="math_number" id="uk2DhNNv2}+0gQ@::!3P"><field name="NUM">102</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="spriteshitwall" id="=)}2,_g9|p;0R6{zd?G1" x="170" y="10"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="[$~U18g2ov8}ch#2;lob"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="9~cqw9FV+Ubmh4F6P^eF"><field name="MEMBER">Bubble</field></shadow></value><value name="HANDLER_DRAG_PARAM_location"><shadow type="argument_reporter_custom" id="U*VKQ@u#aq9[,F}hZM$N"><mutation typename="tiles.Location"></mutation><field name="VALUE">location</field></shadow></value><statement name="HANDLER"><block type="stick_to_wall" id="%E[}`q:|c(ho$K4{rSGc"><value name="sprite"><shadow type="variables_get"></shadow><block type="argument_reporter_custom" id="X6pPB_])%7%pt4f5vxZl"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></block></value><value name="location"><shadow type="variables_get"></shadow><block type="argument_reporter_custom" id="^Y_lPEC:#Yb90QajJ7/i"><mutation typename="tiles.Location"></mutation><field name="VALUE">location</field></block></value></block></statement></block><block type="keyonevent" id="`8U?;4:A)E4K]u,[^SX8" x="-10" y="290"><field name="button">controller.right</field><field name="event">ControllerButtonEvent.Repeated</field><statement name="HANDLER"><block type="aimBubble" id="NOo_i|`x2@M5U,l)|cIi"><field name="direction">bubble.Choice.Right</field></block></statement></block><block type="keyonevent" id=",YKggJ)14qTI2^x)wDr:" x="-10" y="430"><field name="button">controller.left</field><field name="event">ControllerButtonEvent.Repeated</field><statement name="HANDLER"><block type="aimBubble" id="jRt3Fmlmb3b;L%B#jKU+"><field name="direction">bubble.Choice.Left</field></block></statement></block><block type="keyonevent" id="mi-C({khk!/Nsw]%3#W7" x="-10" y="570"><field name="button">controller.A</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="tossBubble" id="hS:MnnqIg*WKk,fy]HEl"><next><block type="loadBubble" id="$T@3Z1]4`U_]NB;hC.EZ"></block></next></block></statement></block></xml>