-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
18 lines (18 loc) · 3.45 KB
/
main.blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="EZgB;@vC=+}S8I7,w0R=">mySprite</variable><variable type="KIND_SpriteKind" id=":?@ooash2Ux1z0M-t/`f">Player</variable><variable type="KIND_SpriteKind" id="yXf$Bd5H:_#rI)`Jswq.">Projectile</variable><variable type="KIND_SpriteKind" id="dBv]4L}k6K3NALpiW|(o">Food</variable><variable type="KIND_SpriteKind" id="h^0D^)G.g}uW|d4Sb{@q">Enemy</variable></variables><block type="pxt-on-start" id="^PW`?*^olZ,$ONhU:B8I" x="0" y="0"><statement name="HANDLER"><block type="particlesStartScreenAnimation" id="yzh%({QN{A!*+A;z_@*$"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><field name="effect">effects.confetti</field><next><block type="gamesetbackgroundcolor" id="[JXo+67[wM*J88y21o!;"><value name="color"><shadow type="colorindexpicker" id="GQIC%{qK%EY#I?-s8aa)"><field name="index">12</field></shadow></value><next><block type="variables_set" id="@ZBnwC^,4W0HpyLc=Rf!"><field name="VAR" id="EZgB;@vC=+}S8I7,w0R=">mySprite</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="-9a/uY7c7hr-mnrz5f6%"><value name="img"><shadow type="screen_image_picker" id="XGS6Y+biNJbNR@pK|2q7"><field name="img">img`
..........................................................b5b...
.fffffffffffffffffffffffffffffffffffffffffffff...........b5b....
.f1111111111111111111111111111111111111111111f........bbbbbb....
.f1c1c11c11cc11cc11c1c11111111111111111111111f.......bb55555b...
.f1ccc1c1c1c1c1c1c1c1c11111111111111122122111f......bb5d1f5d4c..
.f1c1c1ccc1cc11cc111c111111111111111211211211f......b551ffdd444b
.f1c1c1c1c1c111c1111c111111111111111211111211f......b55dfb4444b.
.f1c1c111111111111111111111111111111121112111f.....bd55554444b..
.f1111111111111111111111111111111111112121111f...bbddd5555555b..
.f1cc11ccc1cc11ccc1c1c1cc111c11c1c11111211111f..bdddbbb5555555b.
.f1c1c11c11c1c11c11ccc1c1c1c1c1c1c11111111111ffffddb55dc555555b.
.f1cc111c11cc111c11c1c1c1c1ccc11c111111111111f..cbbd5dcd555555b.
.f1c1c1ccc1c1c11c11c1c1cc11c1c11c111111111111f..cb55bcdd555555b.
.f1cc1111111111111111111111111111111111111111f..bbcccddd55555db.
.fffffffffffffffffffffffffffffffffffffffffffff......ccddd555bb..
......................................................cccccbb...
`</field></shadow></value><value name="kind"><shadow type="spritekind" id="F$DY$8O,oLNqN3l5l!:B"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="spritesetpos" id="!UlxPl,V47Euo)3SaLiN"><value name="sprite"><block type="variables_get" id="tYI?^?2Uv5$`;r7Z^4pv"><field name="VAR" id="EZgB;@vC=+}S8I7,w0R=">mySprite</field></block></value><value name="x"><shadow type="positionPicker" id="jw8$,B4d5u;X!YJ;]7BC"><field name="index">-100</field></shadow></value><value name="y"><shadow type="positionPicker" id="3c(VQMQxC%AaF#=.@z0r"><field name="index">60</field></shadow></value><next><block type="spritesetvel" id="fHdfQm^q{6*XcDywW)10"><value name="sprite"><block type="variables_get" id="*CA-Fpr8s-{nNkvmqdD)"><field name="VAR" id="EZgB;@vC=+}S8I7,w0R=">mySprite</field></block></value><value name="vx"><shadow type="spriteSpeedPicker" id=")VwT^~CahR;}IQ=;*,,D"><field name="speed">20</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="`IP4`LO`1r4K=!vsOE$:"><field name="speed">0</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></xml>