Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please review this PR where I added a shark! #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .makecode/blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .makecode/blocksdiff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions main.blocks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="BLOCKLY_TILESET_TYPE" id="5#Uzu%K:|K6M??6}r:51">0;16;16;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</variable><variable type="BLOCKLY_TILESET_TYPE" id="Q!DiiP[IT1?bh@=$a)wn">1;16;16;dddddddddddddddddddddd8ddddddddddddddd8ddddddddddddddd88d8dddddddddd8d8888dddddddddd888888d8dddddd8d88888888dddddd8888688888d8dd88888866868888888888686666888888888866666686888866666666666666666666660666666666666666006066666666600600006606660000000000000060</variable><variable id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</variable><variable id="v,WEomqOtC(..B5?JD*`">projectile</variable><variable id="e;%W1{*ukL(h6q(#,v,Z">sharkie</variable><variable id="|1wNv(fsdvi[1Th*b@p;">mySprite</variable><variable type="KIND_SpriteKind" id="d@dem~6d~nQdT!K]s7wv">Player</variable><variable type="KIND_SpriteKind" id="l8?fau-@akY[h(VS9UII">Projectile</variable><variable type="KIND_SpriteKind" id="d3U,o[p-,@deB{=hj.2j">Food</variable><variable type="KIND_SpriteKind" id="0Q|v172%--*f;wz?]j|[">Enemy</variable></variables><block type="pxt-on-start" id="Hx5xu+}a|=+OVf#dYYa5" x="20" y="20"><statement name="HANDLER"><block type="gamesetbackgroundcolor" id="e!LjAi6D!|UGl?$MBtpf"><value name="color"><shadow type="colorindexpicker" id="]zx8q?=iZF],vEnsHC|P"><field name="index">9</field></shadow></value><next><block type="tilemap_editor" id="e-6fv*6))ya?u%m5K;d6"><field name="tilemap">tiles.createTilemap(
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="BLOCKLY_TILESET_TYPE" id="5#Uzu%K:|K6M??6}r:51">0;16;16;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</variable><variable type="BLOCKLY_TILESET_TYPE" id="Q!DiiP[IT1?bh@=$a)wn">1;16;16;dddddddddddddddddddddd8ddddddddddddddd8ddddddddddddddd88d8dddddddddd8d8888dddddddddd888888d8dddddd8d88888888dddddd8888688888d8dd88888866868888888888686666888888888866666686888866666666666666666666660666666666666666006066666666600600006606660000000000000060</variable><variable id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</variable><variable id="v,WEomqOtC(..B5?JD*`">projectile</variable><variable id="e;%W1{*ukL(h6q(#,v,Z">sharkie</variable><variable id="|1wNv(fsdvi[1Th*b@p;">mySprite</variable><variable type="KIND_SpriteKind" id="d@dem~6d~nQdT!K]s7wv">Player</variable><variable type="KIND_SpriteKind" id="l8?fau-@akY[h(VS9UII">Projectile</variable><variable type="KIND_SpriteKind" id="d3U,o[p-,@deB{=hj.2j">Food</variable><variable type="KIND_SpriteKind" id="0Q|v172%--*f;wz?]j|[">Enemy</variable></variables><block type="pxt-on-start" id="Hx5xu+}a|=+OVf#dYYa5" x="0" y="0"><statement name="HANDLER"><block type="gamesetbackgroundcolor" id="e!LjAi6D!|UGl?$MBtpf"><value name="color"><shadow type="colorindexpicker" id="]zx8q?=iZF],vEnsHC|P"><field name="index">9</field></shadow></value><next><block type="tilemap_editor" id="e-6fv*6))ya?u%m5K;d6"><field name="tilemap">tiles.createTilemap(
hex`10000c000e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0304040404040404040404040404040600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`,
img`
. . . . . . . . . . . . . . . .
Expand Down Expand Up @@ -33,7 +33,7 @@
. . . f f 3 5 3 3 5 3 f f f f 3
. . . . f f 3 3 3 3 3 3 3 3 3 3
. . . . . . 3 9 3 3 3 3 3 9 3 f
`</field></shadow></value><value name="kind"><shadow type="spritekind" id="5WtTDZFAK[*qknnn;8KT"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="game_control_sprite" id="y@Cg^NIHGVSA]1i/Pp}X"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><shadow type="variables_get" id="tgzOFU:pM+Ve`1CmE(%R"><field name="VAR" id="|1wNv(fsdvi[1Th*b@p;">mySprite</field></shadow></value><next><block type="spritesetsetflag" id="k+2I}GgK3Kz0RsWpkz_["><field name="flag">SpriteFlag.StayInScreen</field><value name="sprite"><block type="variables_get" id="eluFGp?G9q]1a`SXatfS"><field name="VAR" id="|1wNv(fsdvi[1Th*b@p;">mySprite</field></block></value><value name="on"><shadow type="toggleOnOff" id="iNl}@Sq2IUGRtvH%|FW5"><field name="on">true</field></shadow></value><next><block type="hudsetScore" id="As2PCxf3]:)Iy/_X]Mh2"><value name="value"><shadow type="math_number" id=":YsFor|O;KJ6zzg,s:2;"><field name="NUM">0</field></shadow></value><next><block type="hudSetLife" id="Yj7n|bjC|WrS:IDpNA$b"><value name="value"><shadow type="math_number" id="nX?gd=njM}ua+Iq95bf$"><field name="NUM">3</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="*{8zj%~P*4GZQ!oMI=xV" x="594" y="20"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="S[QoiHs=@l`P^}i?a+y%"><mutation typename="Sprite"/><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="^opgcyQ{936@Y.]4-7Vn"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="6=gtW:`8`sZ_D-D|GZ|$"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="5kKw2dvkV-7LZ%nCGjE`"><field name="MEMBER">Food</field></shadow></value><statement name="HANDLER"><block type="hudChangeScoreBy" id="M!G00cP}j$nB{tYh%F4f"><value name="value"><shadow type="math_number" id="{,YHGOO7y:`O/H$fL-Bb"><field name="NUM">1</field></shadow></value><next><block type="spritedestroy" id="gJRrm]}0ECvs.p,E7zK8"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="effect">effects.hearts</field><value name="sprite"><block type="argument_reporter_custom" id="wKWn`KWwt%~bPI7tzDx%"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></block></value><value name="duration"><shadow type="timePicker" id="5b6ee@@hzu%/5F{$WP$h"><field name="ms">100</field></shadow></value><next><block type="mixer_play_sound" id="+}5T@`X@:M3;W-ILi3DB"><field name="sound">music.baDing</field></block></next></block></next></block></statement></block><block type="gameinterval" id="$Z;L^e(I2HMfZFhWs%Ro" x="1280" y="20"><comment id="undefined" pinned="false" h="80" w="160">every half a second spawn a fish</comment><value name="period"><shadow type="timePicker" id="sswWWF;[TIq!ko_Mta,M"><field name="ms">500</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="IlEt2~|/$.z0!s4}|FaP"><field name="VAR" id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="D:uFQ2{IrcFdh5,=]^K0"><value name="min"><shadow type="math_number" id="J,g3r51?sl/^%L1C-[g."><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id=",x!5j8.(|NmaX3$%D8v%"><field name="NUM">2</field></shadow></value></block></value><next><block type="controls_if" id="vz*cubKFr}}%/DMyX,A4"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qwh8}ZX%R4*$WJPT?$qv"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?j*c8Pphu_D:2V^`KXVQ"><field name="VAR" id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</field></block></value><value name="B"><shadow type="math_number" id="1penhlx^^z|hJoF1pm1`"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="mGr!M.|W[biKuD}])8a~"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromside" id="Ban~v%_:ZK9(_B!/npp$"><value name="img"><shadow type="screen_image_picker" id="%[VFDf7{AS}90%2eVZ=!"><field name="img">img`
`</field></shadow></value><value name="kind"><shadow type="spritekind" id="5WtTDZFAK[*qknnn;8KT"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="game_control_sprite" id="y@Cg^NIHGVSA]1i/Pp}X"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="sprite"><shadow type="variables_get" id="tgzOFU:pM+Ve`1CmE(%R"><field name="VAR" id="|1wNv(fsdvi[1Th*b@p;">mySprite</field></shadow></value><next><block type="spritesetsetflag" id="k+2I}GgK3Kz0RsWpkz_["><field name="flag">SpriteFlag.StayInScreen</field><value name="sprite"><block type="variables_get" id="eluFGp?G9q]1a`SXatfS"><field name="VAR" id="|1wNv(fsdvi[1Th*b@p;">mySprite</field></block></value><value name="on"><shadow type="toggleOnOff" id="iNl}@Sq2IUGRtvH%|FW5"><field name="on">true</field></shadow></value><next><block type="hudsetScore" id="As2PCxf3]:)Iy/_X]Mh2"><value name="value"><shadow type="math_number" id=":YsFor|O;KJ6zzg,s:2;"><field name="NUM">0</field></shadow></value><next><block type="hudSetLife" id="Yj7n|bjC|WrS:IDpNA$b"><value name="value"><shadow type="math_number" id="nX?gd=njM}ua+Iq95bf$"><field name="NUM">3</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="*{8zj%~P*4GZQ!oMI=xV" x="574" y="0"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="S[QoiHs=@l`P^}i?a+y%"><mutation typename="Sprite"/><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id="^opgcyQ{936@Y.]4-7Vn"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="6=gtW:`8`sZ_D-D|GZ|$"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="5kKw2dvkV-7LZ%nCGjE`"><field name="MEMBER">Food</field></shadow></value><statement name="HANDLER"><block type="hudChangeScoreBy" id="M!G00cP}j$nB{tYh%F4f"><value name="value"><shadow type="math_number" id="{,YHGOO7y:`O/H$fL-Bb"><field name="NUM">2</field></shadow></value><next><block type="spritedestroy" id="gJRrm]}0ECvs.p,E7zK8"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="effect">effects.hearts</field><value name="sprite"><block type="argument_reporter_custom" id="wKWn`KWwt%~bPI7tzDx%"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></block></value><value name="duration"><shadow type="timePicker" id="5b6ee@@hzu%/5F{$WP$h"><field name="ms">100</field></shadow></value><next><block type="mixer_play_sound" id="+}5T@`X@:M3;W-ILi3DB"><field name="sound">music.baDing</field></block></next></block></next></block></statement></block><block type="gameinterval" id="$Z;L^e(I2HMfZFhWs%Ro" x="1260" y="0"><comment id="undefined" pinned="false" h="80" w="160">every half a second spawn a fish</comment><value name="period"><shadow type="timePicker" id="sswWWF;[TIq!ko_Mta,M"><field name="ms">500</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="IlEt2~|/$.z0!s4}|FaP"><field name="VAR" id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="D:uFQ2{IrcFdh5,=]^K0"><value name="min"><shadow type="math_number" id="J,g3r51?sl/^%L1C-[g."><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id=",x!5j8.(|NmaX3$%D8v%"><field name="NUM">2</field></shadow></value></block></value><next><block type="controls_if" id="vz*cubKFr}}%/DMyX,A4"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qwh8}ZX%R4*$WJPT?$qv"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?j*c8Pphu_D:2V^`KXVQ"><field name="VAR" id="0KLK%jcV.6@D1maIQ$Nt">FishChoice</field></block></value><value name="B"><shadow type="math_number" id="1penhlx^^z|hJoF1pm1`"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="mGr!M.|W[biKuD}])8a~"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromside" id="Ban~v%_:ZK9(_B!/npp$"><value name="img"><shadow type="screen_image_picker" id="%[VFDf7{AS}90%2eVZ=!"><field name="img">img`
. . . . . . . . . . . . . . . .
. . . . . . . c c c c c c . . .
. . . . . . c 5 5 5 5 5 c c . .
Expand Down Expand Up @@ -84,7 +84,7 @@ f 4 4 4 4 4 1 4 4 f 4 4 d f f f
. . . . . . . . c 5 5 5 c 4 c 5 5 5 c 4 c 5 c .
. . . . . . . . c 5 5 5 5 c 5 5 5 5 c 4 c 5 c .
. . . . . . . . . c c c c c c c c c . . c c c .
`</field></shadow></value><value name="vx"><shadow type="spriteSpeedPicker" id="o*pxulwC6sNv^HslI~~h"><field name="speed">-50</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="@u:?/00J=ks86h#~(t,L"><field name="speed">0</field></shadow></value></block></value></block></statement><next><block type="spritesetpos" id="%h%HPOoXeoc!$7~{smkW"><value name="sprite"><block type="variables_get" id="eh(0B;eKNod=zYc|S#q7"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field></block></value><value name="x"><shadow type="positionPicker" id="8d1cRsj-+!+Sm.FdDG@P"><field name="index">160</field></shadow></value><value name="y"><shadow type="positionPicker"/><block type="device_random" id="Fp$d?KHT#-P!H-,;JfuQ"><value name="min"><shadow type="math_number" id="DDAHVSA.6X*Hk$/vLEIQ"><field name="NUM">10</field></shadow></value><value name="limit"><shadow type="math_number" id=":=6p}QRH@KxDq4dGPY[2"><field name="NUM">120</field></shadow></value></block></value><next><block type="spritesetkind" id="1lAep/l{foTKk-R2:Y97"><value name="sprite"><block type="variables_get" id=",Sa5U5IS4IbZQe}Jd34C"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field></block></value><value name="kind"><shadow type="spritekind" id="H}UFKLdn/gk!0xd|KRva"><field name="MEMBER">Food</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="gameinterval" id="2V8tZZY{[sl=0o;jBC9P" x="20" y="679"><value name="period"><shadow type="timePicker" id="b6i1%NW%14t16p)G.|Bz"><field name="ms">1000</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="h!f(mofqZ`Z(J_njPZY|"><field name="VAR" id="e;%W1{*ukL(h6q(#,v,Z">sharkie</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromside" id="CjGgoguhU(}HEjQnT@j@"><value name="img"><shadow type="screen_image_picker" id="O%8-.3JD04(#,IN{1)Z8"><field name="img">img`
`</field></shadow></value><value name="vx"><shadow type="spriteSpeedPicker" id="o*pxulwC6sNv^HslI~~h"><field name="speed">-50</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="@u:?/00J=ks86h#~(t,L"><field name="speed">0</field></shadow></value></block></value></block></statement><next><block type="spritesetpos" id="%h%HPOoXeoc!$7~{smkW"><value name="sprite"><block type="variables_get" id="eh(0B;eKNod=zYc|S#q7"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field></block></value><value name="x"><shadow type="positionPicker" id="8d1cRsj-+!+Sm.FdDG@P"><field name="index">160</field></shadow></value><value name="y"><shadow type="positionPicker"/><block type="device_random" id="Fp$d?KHT#-P!H-,;JfuQ"><value name="min"><shadow type="math_number" id="DDAHVSA.6X*Hk$/vLEIQ"><field name="NUM">10</field></shadow></value><value name="limit"><shadow type="math_number" id=":=6p}QRH@KxDq4dGPY[2"><field name="NUM">120</field></shadow></value></block></value><next><block type="spritesetkind" id="1lAep/l{foTKk-R2:Y97"><value name="sprite"><block type="variables_get" id=",Sa5U5IS4IbZQe}Jd34C"><field name="VAR" id="v,WEomqOtC(..B5?JD*`">projectile</field></block></value><value name="kind"><shadow type="spritekind" id="H}UFKLdn/gk!0xd|KRva"><field name="MEMBER">Food</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="tbyCKjn$zx?B%:W+7-Z@" x="590" y="250"><value name="HANDLER_DRAG_PARAM_sprite"><shadow type="argument_reporter_custom" id="UW(8o$1Pif]C`=7o43Gl"><mutation typename="Sprite"/><field name="VALUE">sprite</field></shadow></value><value name="kind"><shadow type="spritekind" id=";-a1eO^])x!|H,Jed1O9"><field name="MEMBER">Player</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><shadow type="argument_reporter_custom" id="DIop!?7z$ulJMPDs$^qq"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></shadow></value><value name="otherKind"><shadow type="spritekind" id="d4RDjF7~q@,EhwfQaE`^"><field name="MEMBER">Enemy</field></shadow></value><statement name="HANDLER"><block type="hudChangeLifeBy" id="s*kd#3jb8iKk,OURqK{K"><value name="value"><shadow type="math_number" id="95?rXdEOlKPKW+;au{@g"><field name="NUM">-1</field></shadow></value><next><block type="spritedestroy" id="Af;O`s{rCKlzlL|u|7y*"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="effect">effects.fire</field><value name="sprite"><block type="argument_reporter_custom" id="(GC~fRYgu1`n3~u}=JfL"><mutation typename="Sprite"/><field name="VALUE">otherSprite</field></block></value><value name="duration"><shadow type="timePicker" id="3`M[6AA134te^S`]YIv?"><field name="ms">100</field></shadow></value><next><block type="mixer_play_sound" id="`JdH$at0Che-/:0G`[CF"><field name="sound">music.powerDown</field></block></next></block></next></block></statement></block><block type="gameinterval" id="2V8tZZY{[sl=0o;jBC9P" x="10" y="470"><value name="period"><shadow type="timePicker" id="b6i1%NW%14t16p)G.|Bz"><field name="ms">1000</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="h!f(mofqZ`Z(J_njPZY|"><field name="VAR" id="e;%W1{*ukL(h6q(#,v,Z">sharkie</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromside" id="CjGgoguhU(}HEjQnT@j@"><value name="img"><shadow type="screen_image_picker" id="O%8-.3JD04(#,IN{1)Z8"><field name="img">img`
. . . . . . . . . . . . . . . . . . . . c c f f f . . . . . . . . . . .
. . . . . . . . . . f f f f f f f f f c b b b b f . . . . . . . . . . .
. . . . . . . . . f b b b b b b b b b f f f b f . . . . . . . . . . . .
Expand Down
7 changes: 6 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ d d 8 8 8 8 8 6 8 8 8 8 8 d d d
`
}
sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {
info.changeScoreBy(1)
info.changeScoreBy(2)
otherSprite.destroy(effects.hearts, 100)
music.baDing.play()
})
sprites.onOverlap(SpriteKind.Player, SpriteKind.Enemy, function (sprite, otherSprite) {
info.changeLifeBy(-1)
otherSprite.destroy(effects.fire, 100)
music.powerDown.play()
})
let sharkie: Sprite = null
let projectile: Sprite = null
let FishChoice = 0
Expand Down