-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 4.58 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id="eQ+gFP+0wy6ye_H2R.G5">Player</variable><variable type="KIND_SpriteKind" id="X@Za]}_MrN.dsZc7=_ng">Projectile</variable><variable type="KIND_SpriteKind" id="vl/da}^W+=3o.9[.U(+/">Food</variable><variable type="KIND_SpriteKind" id="6N7vlI0aF6zM$9Iw+~,[">Enemy</variable><variable id="2aY9wh;(c$s,b]y1K4KF">gino</variable><variable id="8.UO9]c3R[6B+e{Q}dku">mySprite</variable></variables><block type="pxt-on-start" id="+gwqJNq(Zyh`oyzCfEik" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="2tW-8[kCnI=F?eQ2VuVV"><field name="VAR" id="2aY9wh;(c$s,b]y1K4KF">gino</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="44mD_HKQG8tH3,k`i:69"><value name="img"><shadow type="screen_image_picker" id="`7Ie/)|toqo^kGTFE@c@"><field name="img">img` . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f f f f . . . . . . . . . . . . . . . . . . f f f 2 2 f f f . . . . . . . . . . . . . . . f f f 2 2 2 2 f f f . . . . . . . . . . . . . f f f e e e e e e f f f . . . . . . . . . . . . f f e 2 2 2 2 2 2 e e f . . . . . . . . . . . . f e 2 f f f f f f 2 e f . . . . . . . . . . . . f f f f e e e e f f f f . . . . . . . . . . . f f e f b f 4 4 f b f e f f . . . . . . . . . . f e e 4 1 f d d f 1 4 e e f . . . . . . . . . . . f f f f d d d d d e e f . . . . . . . . . . . f d d d d f 4 4 4 e e f . . . . . . . . . . . . f b b b b f 2 2 2 2 f 4 e . . . . . . . . . . . f b b b b f 2 2 2 2 f d 4 . . . . . . . . . . . . f c c f 4 5 5 4 4 f 4 4 . . . . . . . . . . . . . f f f f f f f f . . . . . . . . . . . . . . . . . . f f . . f f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . `</field></shadow></value><value name="kind"><shadow type="spritekind" id="I-:`n=xku*bunVVo#EMf"><field name="MEMBER">Player</field></shadow></value></block></value></block></statement></block><block type="keyonevent" id="m07bmn$ug];CK,v=9J,F" x="10" y="190"><field name="button">controller.left</field><field name="event">ControllerButtonEvent.Repeated</field><statement name="HANDLER"><block type="Sprite_blockCombine_set" id=")H?Lg!B|T`mY0g#Kcp@I"><field name="property">Sprite.x@set</field><value name="mySprite"><block type="variables_get" id="9Hy%R)?:hWG[?GpPmoZP"><field name="VAR" id="2aY9wh;(c$s,b]y1K4KF">gino</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="TYihCG0GcFEda6kgm3$K"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="bSr9!cq.^OCu)$FM)q?A"><field name="property">Sprite.x</field><value name="mySprite"><block type="variables_get" id="oP](r^Ku(xl)Cs$;Uu+e"><field name="VAR" id="2aY9wh;(c$s,b]y1K4KF">gino</field></block></value></block></value><value name="B"><shadow type="math_number" id="M0?w7qB05?tDvn%LVlG]"><field name="NUM">1</field></shadow></value></block></value></block></statement></block><block type="keyonevent" id="$8u^yDd[Qq?I;I8n,XE}" x="10" y="350"><field name="button">controller.right</field><field name="event">ControllerButtonEvent.Repeated</field><statement name="HANDLER"><block type="Sprite_blockCombine_set" id="oMGhg/OlcBcO!:5jM(45"><field name="property">Sprite.x@set</field><value name="mySprite"><block type="variables_get" id="fhF!``7cR:a#~]V*:UAS"><field name="VAR" id="2aY9wh;(c$s,b]y1K4KF">gino</field></block></value><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="#SEZeDTqq4~L9O(joe@)"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="Sprite_blockCombine_get" id="mA[xHUJ@2L]b/T3_EIE9"><field name="property">Sprite.x</field><value name="mySprite"><block type="variables_get" id="%EellHe{[qPl{j7SmnT]"><field name="VAR" id="2aY9wh;(c$s,b]y1K4KF">gino</field></block></value></block></value><value name="B"><shadow type="math_number" id="ptn$p~7-WSAR7M@rl__J"><field name="NUM">1</field></shadow></value></block></value></block></statement></block></xml>