-
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) · 14.4 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 14.4 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable type="KIND_SpriteKind" id=")Kq(KUb?ynjy`%J;6d~%">Player</variable><variable type="KIND_SpriteKind" id="4}$o6x$.SnF?ZH4QS_9n">Projectile</variable><variable type="KIND_SpriteKind" id="k0C[a.LU-zY?3x{8_)La">Food</variable><variable type="KIND_SpriteKind" id="[-qtfam6^)vdZc)myp)J">Enemy</variable><variable type="KIND_SpriteKind" id="5{GG8:k_4?_G;uu3Q;S/">Feld</variable><variable id=".b-fO9dhsmI6zFJ}0k)o">Hinderniss_unten</variable><variable id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</variable><variable id="uP_U1Qq3iFE3-A0x;@5a">mySprite</variable><variable id="AqTb5AL{8mb;:2FV,YfF">highscore</variable><variable id="hVwjJj1bh}L`5?gLoJXt">Hinderniss_oben</variable><variable id="S?:4z9-Z$9Uqzi/35U`o">Abstand</variable></variables><block type="gameinterval" id="$EP*^U;yEYg$5]%dg$k." x="-45" y="-575"><value name="period"><shadow type="timePicker" id="y!ppPI.`5W=b|3#p//y7"><field name="ms">2500</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="%)M:NF2UV=xVf%_-2@OM"><field name="VAR" id=".b-fO9dhsmI6zFJ}0k)o">Hinderniss_unten</field><value name="VALUE"><shadow type="math_number" id="w;fquSq]9@q:7n-SLJf("><field name="NUM">0</field></shadow><block type="spritescreate" id="PYx7H5nM@)?I%n|4(fKb"><value name="img"><shadow type="screen_image_picker" id="5rW=gac!e(o/)3IW9hYZ"><field name="img">assets.image`Hinderniss_unten`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image3"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="wmUQ)SI4R;C)2##/FJxV"><field name="MEMBER">Enemy</field></shadow></value></block></value><next><block type="variables_set" id="@bd${{95Ix-0*iyyKrJl"><field name="VAR" id="hVwjJj1bh}L`5?gLoJXt">Hinderniss_oben</field><value name="VALUE"><shadow type="math_number" id="w;fquSq]9@q:7n-SLJf("><field name="NUM">0</field></shadow><block type="spritescreate" id="6_-)Fo/HVxV2y.}@8#{W"><value name="img"><shadow type="screen_image_picker" id="ZNvuXG1KCz)]?1M6PEzG"><field name="img">assets.image`Hinderniss_unten`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image3"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id=";i[=lI*$js_cLKUL{aww"><field name="MEMBER">Enemy</field></shadow></value></block></value><next><block type="sprite_set_scale" id="^,zmSJ@Kn*L38*Q$,S_0"><field name="anchor">ScaleAnchor.Middle</field><value name="sprite"><block type="variables_get" id="^9~HUyB.S9pQ(MRn}Zd?"><field name="VAR" id=".b-fO9dhsmI6zFJ}0k)o">Hinderniss_unten</field></block></value><value name="value"><shadow type="math_number" id="C+j*Qw]0[bO~zFVw*U6:"><field name="NUM">2</field></shadow></value><next><block type="sprite_set_scale" id="1!tNK:gO,+q(m}w$=+R{"><field name="anchor">ScaleAnchor.Middle</field><value name="sprite"><block type="variables_get" id="+|4+}m|gwW~ey]I=*4/e"><field name="VAR" id="hVwjJj1bh}L`5?gLoJXt">Hinderniss_oben</field></block></value><value name="value"><shadow type="math_number" id="NNar6j9gJ5pAg*^;Bxc/"><field name="NUM">2</field></shadow></value><next><block type="spritesetpos" id="X!C*FTT]u]x[M=0sER|n"><value name="sprite"><block type="variables_get" id="k}1rp|0O=T5u3t(W}~;y"><field name="VAR" id=".b-fO9dhsmI6zFJ}0k)o">Hinderniss_unten</field></block></value><value name="x"><shadow type="positionPicker" id="!mu`nSvmrqSr_O5Mm_qb"><field name="index">0</field></shadow><block type="scenescreenwidth" id="|(o.6*OV,GX1KOH_;b.M"></block></value><value name="y"><shadow type="positionPicker" id="mzs|/7qh_:r_#?+2B375"><field name="index">0</field></shadow><block type="device_random" id="]%tos70TE[.-HOasP*$*"><value name="min"><shadow type="math_number" id="VPM.pD?nE7ck[!2yba[^"><field name="NUM">80</field></shadow></value><value name="limit"><shadow type="math_number" id="je|r%6Qlmwf/%Dgaq6Yt"><field name="NUM">150</field></shadow></value></block></value><next><block type="spritesetpos" id="^UUjy]xfT9pa8H1`Okrl"><value name="sprite"><block type="variables_get" id="t%YT?#mr{?/}LLdwr6ia"><field name="VAR" id="hVwjJj1bh}L`5?gLoJXt">Hinderniss_oben</field></block></value><value name="x"><shadow type="positionPicker" id="!mu`nSvmrqSr_O5Mm_qb"><field name="index">0</field></shadow><block type="scenescreenwidth" id="a2Ijk2zqtb0+_rAcg|0v"></block></value><value name="y"><shadow type="positionPicker" id="jJi,D/!{{rq|wTFZDgtJ"><field name="index">0</field></shadow><block type="math_arithmetic" id="CUy[_9UQJh~A~~|keB:A"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="mDLM/o-~C_h*rdHXSyKq" disabled-reasons="MANUALLY_DISABLED"><field name="NUM">0</field></shadow><block type="device_random" id="Y_/d8[hOB6=Hq5Wjt.ZF"><value name="min"><shadow type="math_number" id="u,_%`e*I*Wug3qc[8!vL"><field name="NUM">-30</field></shadow></value><value name="limit"><shadow type="math_number" id="/meGX5tE;J^](5,^SvIM"><field name="NUM">40</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="WG{-FaOQfF#w;.FOyY;b"><field name="NUM">0</field></shadow><block type="variables_get" id="OhpfglTe,(/vS^ahwqrK"><field name="VAR" id="S?:4z9-Z$9Uqzi/35U`o">Abstand</field></block></value></block></value><next><block type="Sprite_blockCombine_set" id="QsU22$IxB$bTOc4n0VF2"><field name="property">Sprite.vx@set</field><value name="mySprite"><block type="variables_get" id="DV.a-zAu9BZhq!+qfIPe"><field name="VAR" id=".b-fO9dhsmI6zFJ}0k)o">Hinderniss_unten</field></block></value><value name="value"><shadow type="math_number" id="?e1FlsYrOwsk[@@s;(I:"><field name="NUM">-50</field></shadow></value><next><block type="Sprite_blockCombine_set" id="IUc3].W8tTtau20c{Rj2"><field name="property">Sprite.vx@set</field><value name="mySprite"><block type="variables_get" id="Yilc@0*~1q5MKci[L2b_"><field name="VAR" id="hVwjJj1bh}L`5?gLoJXt">Hinderniss_oben</field></block></value><value name="value"><shadow type="math_number" id="nDb(#+D#5+Mo7!qep;G["><field name="NUM">-50</field></shadow></value><next><block type="hudChangeScoreBy" id="9ASt=N-Ww*_SOA]BE!h*"><value name="value"><shadow type="math_number" id="sN+Pnn17/IJmHTJ-I1rv"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="spritesoverlap" id="caOeJ]{k,.XaV|dbTfH]" x="0" y="0"><comment pinned="false" h="80" w="160">Debug-Ausgabe</comment><value name="HANDLER_DRAG_PARAM_sprite"><block type="argument_reporter_custom" id="H*r#%u!rZb9G!gg}doJY"><mutation duplicateondrag="true" typename="Sprite"></mutation><field name="VALUE">sprite</field></block></value><value name="kind"><shadow type="spritekind" id="8]0}wanlVkBXf06k=QdT"><field name="MEMBER">Enemy</field></shadow></value><value name="HANDLER_DRAG_PARAM_otherSprite"><block type="argument_reporter_custom" id="3]g_Go+Xr#`22ZP*L[%]"><mutation duplicateondrag="true" typename="Sprite"></mutation><field name="VALUE">otherSprite</field></block></value><value name="otherKind"><shadow type="spritekind" id="*YF{Rq2sg`0-#wr69oPM"><field name="MEMBER">Player</field></shadow></value><statement name="HANDLER"><block type="hudChangeLifeBy" id="UdB@zS,*:!|Za^v3xDz("><value name="value"><shadow type="math_number" id="CR3E4od7^Uw[rLbLImX$"><field name="NUM">-1</field></shadow></value><next><block type="spritedestroy2" id="J41JLwiVR-3BI_:~#:Ml"><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="argument_reporter_custom" id=",!`Avs9J5e]{RLqRmKX2"><mutation typename="Sprite"></mutation><field name="VALUE">sprite</field></block></value><value name="duration"><shadow type="timePicker" id=":(H)^`:Tj6dzJo|1E$/J"><field name="ms">500</field></shadow></value></block></next></block></statement></block><block type="pxt-on-start" id="x]z3@9ptuuV6hshg+3(w" x="95" y="184"><statement name="HANDLER"><block type="particlesStartScreenAnimation" id="^}%eWFuJY0z[vT~qqFB7"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><field name="effect">effects.confetti</field><value name="duration"><shadow type="timePicker" id="a|_;+df*c_gysiCI07JY"><field name="ms">200</field></shadow></value><next><block type="gamesetbackgroundimage" id="%5^`|c@oPfAVa;#o;Vsq"><value name="img"><shadow type="background_image_picker" id="%f%75i/-n,]_qaJL24n!"><field name="img">assets.image`Hintergrund`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image1"}}</data></shadow></value><next><block type="variables_set" id="nUWQ^SV{^ZrNmjMzo`J^"><field name="VAR" id="S?:4z9-Z$9Uqzi/35U`o">Abstand</field><value name="VALUE"><shadow type="math_number" id="h}[E{7_Zb^k6!T`(@?,9"><field name="NUM">80</field></shadow></value><next><block type="variables_set" id="ZZsK;#eB8f4P/S5@wwcF"><field name="VAR" id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</field><value name="VALUE"><shadow type="math_number" id="$s1i.Uo}N+J$J4BoMJMp"><field name="NUM">0</field></shadow><block type="spritescreate" id=")%2R`TVfjBMn_nnG+UVv"><value name="img"><shadow type="screen_image_picker" id="OqV}E@Co5*pm;X[-bEd^"><field name="img">assets.image`Duck`</field><data>{"commentRefs":[],"fieldData":{"img":"myImages.image2"}}</data></shadow></value><value name="kind"><shadow type="spritekind" id="~iPkOlO$*T-541XW=I/p"><field name="MEMBER">Player</field></shadow></value></block></value><next><block type="game_control_sprite" id="Fc@%ir0UI]IoF%*qWt7E"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><value name="sprite"><block type="variables_get" id="Ro7zeU;.VD?KAMnz%3-m"><field name="VAR" id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</field></block></value><value name="vx"><shadow type="spriteSpeedPicker" id="6^=WW(by3YV]`]mL:!Ep"><field name="speed">0</field></shadow></value><value name="vy"><shadow type="spriteSpeedPicker" id="}UZ%Ru**BF{B9O#/~fT~"><field name="speed">100</field></shadow></value><next><block type="scroller_scrollBackgroundWithSpeed" id=".c$q6%8zsh1;+dMNy1-8"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="true"></mutation><value name="vx"><shadow type="math_number" id="r;f)=bSUoV:oic6,hE-+"><field name="NUM">-50</field></shadow></value><value name="vy"><shadow type="math_number" id="TMlkh|C]~Hl`9*tR+f#Q"><field name="NUM">0</field></shadow></value><next><block type="spritesetsetstayinscreen" id="F*+eRgGqw=RGR0:u9X;n"><value name="sprite"><block type="variables_get" id="senKUPj[6PuybzonkHx~"><field name="VAR" id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</field></block></value><value name="on"><shadow type="toggleOnOff" id="#Xo`mPv]MW]~6{OWe+`("><field name="on">true</field></shadow></value><next><block type="hudSetLife" id="Wa:0;J.W7$D]k}@U0),Q"><value name="value"><shadow type="math_number" id="4)utAp1f#v9zQ1ey0GS1"><field name="NUM">3</field></shadow></value><next><block type="hudsetScore" id="T0r~2#[~2!hSa#v#mpSA"><value name="value"><shadow type="math_number" id="}CnskxaNCGPDGs~LtnFG"><field name="NUM">0</field></shadow></value><next><block type="run_image_animation" id="Asx=)1lRRqityzpoa:de"><value name="sprite"><block type="variables_get" id="F`8[Z^S+=m7;4A:O@Sy~"><field name="VAR" id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</field></block></value><value name="frames"><shadow type="animation_editor" id="3+kIx_j.HJLEkEV{P;=."><field name="frames">assets.animation`Duck_animation`</field><data>{"commentRefs":[],"fieldData":{"frames":"myAnimations.anim1"}}</data></shadow></value><value name="frameInterval"><shadow type="timePicker" id="Wx=GKon~?t@pz!=?uL1b"><field name="ms">100</field></shadow></value><value name="loop"><shadow type="toggleOnOff" id="VB}=}XPsJ[EVXEJX@Hdp"><field name="on">true</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="forever" id="e+u?zP~np-}S[nO^;E(D" x="899" y="455"><statement name="HANDLER"><block type="device_pause" id="g96$kt)!-+LL!QqCrcWv"><value name="pause"><shadow type="timePicker" id="D}9?-j[gUJ8#S*leR}?{"><field name="ms">10</field></shadow></value><next><block type="Sprite_blockCombine_change" id="-`vnM;WeWUJyNH2`:p;s"><field name="property">Sprite.y@set</field><value name="mySprite"><block type="variables_get" id="uQtf^3c[]f1%hP)k[xgd"><field name="VAR" id="9TPhy1K^7NaAJFajiR;V">Gustav_Gans</field></block></value><value name="value"><shadow type="math_number" id="/0kbh.k?i1s,m,}?gwYR"><field name="NUM">0.6</field></shadow></value><next><block type="device_while" id="SzRrzO;O=[lXS`MBOJF]"><value name="COND"><shadow type="logic_boolean" id="WRz$P]Y(ux`6?3kwe:(1"><field name="BOOL">FALSE</field></shadow><block type="logic_compare" id="w`#WrdA$E2t@U4Gs)L?1"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="p!3+`:QG?|S#]:93_j{."><field name="NUM">0</field></shadow><block type="hudLife" id="ZY0ZGk4pc@n#]7R4Hf;("></block></value><value name="B"><shadow type="math_number" id="T}YI:)TO8kk1jQ0fJeUk"><field name="NUM">0</field></shadow></value></block></value><statement name="DO"><block type="device_while" id="]S*eHd?]mk^e,i+-%JMm"><value name="COND"><shadow type="logic_boolean" id=".Xa=f?n)+E8PZ[N7-iK["><field name="BOOL">FALSE</field></shadow><block type="logic_compare" id="RA}r6Cq-?b-R#!|zUtwQ"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="]%kR{QLujX*tYsz1|udn"><field name="NUM">0</field></shadow><block type="hudScore" id="%79~Rq)*f32{|;t@y2mc"></block></value><value name="B"><shadow type="math_number" id="_b)#Rvb9KU[6]3=j_dJ0"><field name="NUM">0</field></shadow><block type="highScore" id="7Sn#pQ5N8*h1QG.^rKL@"></block></value></block></value><statement name="DO"><block type="variables_set" id="qDri|ay0:n@=JAQ:k`7!"><field name="VAR" id="AqTb5AL{8mb;:2FV,YfF">highscore</field><value name="VALUE"><shadow type="math_number" id="sy.3s%.@$|t{!CdEN*6t"><field name="NUM">0</field></shadow><block type="hudScore" id="a)8U|;,$UT=14@S::zB;"></block></value><next><block type="gameSplash" id="{F`)]OS[9h`Aqc:*Mg@j"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><value name="title"><shadow type="text" id="kJp]PEJkxo27M2x|M.vy"><field name="TEXT">Highscore:</field></shadow></value><value name="subtitle"><shadow type="text" id=";=X8kQ!6T~,[jY^ABUCS"><field name="TEXT"></field></shadow><block type="variables_get" id="|M+W6JgW)Vhf,bLL^ZdJ"><field name="VAR" id="AqTb5AL{8mb;:2FV,YfF">highscore</field></block></value></block></next></block></statement></block></statement></block></next></block></next></block></statement></block></xml>