EQ
AND
TRUE
10
WHILE
i
1
10
1
j
BREAK
0
ADD
1
1
ROOT
9
SIN
45
PI
EVEN
0
ROUND
3.1
SUM
64
10
50
1
100
1
100
item
abc
FIRST
text
abc
FROM_START
text
FROM_START
FROM_START
text
UPPERCASE
abc
BOTH
abc
abc
TEXT
abc
0
0
1
1
0
1
90
1
0.5
1
"Hello world"
0
0
5
FIRST
GET
FROM_START
SET
FROM_START
FROM_START
FROM_START
SPLIT
,
#Main Script
from processing import *
import random
import math
import time
### START ENGINE CODE
class Data:
url = "https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/"
#Ivo-Engine stuff
objs = []
#object are only destroyed at the end of the frame
toBeDestroyed = []
inputkeys = {} #dict
gameWidth = 800
gameHeight = 500
refWidth = 800
refHeight = 500
scaleRatio = 1
reloadEndOfFrame = False
main = None
images = {}
#Base-class of every object to enable start & update
class MonoBehaviour:
#REGION variables
x = 0
y = 0
#used for sorting
z = 0
rot = 0
#used for z-sorting internally
prevZ = -1000
#should be changed through setScale only!
scale = 1
currAnim = None
inGameScreen = True
min_x = 0
min_y = 0
max_x = 0
max_y = 0
markForUpdateSize = False
#ENDREGION
def setAnim(self, anim):
self.currAnim = anim
def setScale(self, val):
self.scale = val
#REGION Sprites
sprite = None
def set_sprite(self, url, width = None, height = None):
if (url not in Data.images):
Data.images[url] = loadImage(Data.url + url)
self.sprite = Data.images[url]
if (width != None):
self.set_width(width)
if (height != None):
self.set_height(height)
#self.updateMinMax() should be called after...
def set_width(self, width):
self.sprite.width = width
def set_height(self, height):
self.sprite.height = height
def move_forward(self, value):
self.x += math.cos(radians(self.rot-90))*value
self.y -= math.sin(radians(self.rot-90))*value
def move_right(self, value):
self.x += math.cos(radians(self.rot))*value
self.y -= math.sin(radians(self.rot))*value
#ENDREGION
#REGION Collision
def get_real_width(self):
return self.sprite.width * self.scale
def get_real_height(self):
return self.sprite.height * self.scale
def get_min_x(self):
return self.x - self.get_real_width() * 0.5
def get_max_x(self):
return self.x + self.get_real_width() * 0.5
b
def get_min_y(self):
return self.y - self.get_real_height() * 0.5
def get_max_y(self):
return self.y + self.get_real_height() * 0.5
#TODO only objects inside the gamescreen collide?
def collisionCheck(self, objType):
if (not self.inGameScreen):
return False;
for obj in Data.objs:
if (obj.inGameScreen):
if (obj is not self and type(obj).__name__ == objType):
if (self.intersects(obj)):
return obj
return False
def intersects(self, obj2):
return not (self.get_max_x() < obj2.get_min_x() or self.get_min_x() > obj2.get_max_x() or self.get_min_y() > obj2.get_max_y() or self.get_max_y() < obj2.get_min_y())
def check_in_gamescreen(self):
return not (self.get_max_x() < -Data.refWidth * 0.5 or self.get_min_x() > Data.refWidth * 0.5 or self.get_min_y() > Data.refHeight * 0.5 or self.get_max_y() < -Data.refHeight*0.5)
#ENDREGION
#REGION base functions
def start_INTERNAL(self):
#commented since empty objects can just display nothing
self.set_sprite("Empty.png")
self.start()
def update_INTERNAL(self):
self.update()
#we use translate instead of setting the objects position, to fix rotation issues
posX = (int)((self.x+Data.refWidth*0.5)*Data.scaleRatio)
posY = (int)((-self.y+Data.refHeight*0.5)*Data.scaleRatio)
translate(posX, posY)
rotate(radians(self.rot))
#if (self.currAnim != None):
# self.newSprite = self.currAnim.play()
self.inGameScreen = self.check_in_gamescreen()
if (self.inGameScreen):
image(self.sprite, 0, 0, self.get_real_width()*Data.scaleRatio, self.get_real_height()*Data.scaleRatio)
rotate(-radians(self.rot))
translate(-posX, -posY)
#Base functions to be overridden by any class inheriting from MonoBehaviour
def start(self):
pass
def update(self):
pass
def isMouseOver(self):
return (Data.mouse.x > self.get_min_x() and Data.mouse.x < self.get_max_x() and Data.mouse.y > self.get_min_y() and Data.mouse.y < self.get_max_y())
#ENDREGION
class Anim:
images = None
frames = 0
framesPerImage = 5
imageIndex = 0
timer = 0
#FRAMES OER IMAGE IS NOT THE FRAMERATE... Confusing, sorry
def __init__(self, url, frames, framesPerImage = 3):
self.images = []
self.framesPerImage = framesPerImage
self.frames = frames
for i in range(frames):
fullUrl = Data.url + url + str(i+1) + ".png"
img = requestImage(fullUrl)
self.images.append(img)
#should be called from a MonoBehaviour every frame while playing.
#looks like this: self.newSprite = currAnim.play()
def play(self):
self.timer += 1
if (self.timer >= self.framesPerImage):
self.timer = 0
self.imageIndex += 1
if (self.imageIndex >= self.frames):
self.imageIndex = 0
return self.images[self.imageIndex]
def instantiate(objtype, posX = 0, posY = 0):
n = objtype()
n.x = posX
n.y = posY
n.start_INTERNAL()
Data.objs.append(n)
return n
def destroy(obj):
#Check if objects wasn't already marked as destroyed.
if obj not in Data.toBeDestroyed:
Data.toBeDestroyed.append(obj)
def key_is_pressed(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 1 or Data.inputkeys[k] == 2
def key_was_pressed(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 1
def key_was_released(k):
if (k not in Data.inputkeys):
return False
return Data.inputkeys[k] == 3
def reload_game():
Data.reloadEndOfFrame = True
#SHOULD BE CALLED AT END OF DRAW
def reload_game_immediate():
Data.reloadEndOfFrame = False
Data.objs = []
Data.inputkeys = {}
Data.main = Main()
Data.main.start()
class Main(MonoBehaviour):
def start(self):
print("No Blockly Main class")
class Global:
pass
### END ENGINE CODE
################################################################
#BLOCKLY_REPLACE
################################################################
### START HELPER CODE
#z-sorting
#bubblesort with extra check for each element if it changed
def bubbleSort(alist):
pop = 0
for passnum in range(len(alist)-1,0,-1):
if (alist[passnum].z != alist[passnum].prevZ):
for i in range(passnum):
pop += 1
if alist[i].z > alist[i+1].z:
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
alist[passnum].prevZ = alist[passnum].z
#print("Sorted " + str(pop) + " elements")
### END HELPER CODE
### START PROCESSING CODE
def setup():
#SIZE_REPLACE
size(Data.gameWidth, Data.gameHeight)
Data.scaleRatio = float(Data.gameWidth) / Data.refWidth
Data.invScaleRatio = float(1)/Data.scaleRatio
imageMode(CENTER)
frameRate(30)
textSize(32*Data.scaleRatio)
reload_game_immediate()
#run first frame right away
draw()
def draw():
background(0)
Data.mouse = PVector((mouse.x* Data.invScaleRatio-Data.refWidth*0.5), -(mouse.y * Data.invScaleRatio-Data.refHeight*0.5))
#bubbleSort(Data.objs)
Data.main.update()
for obj in Data.objs:
obj.update_INTERNAL()
#printObjs()
#if was pressed, go to is pressed now
for key in Data.inputkeys:
if (Data.inputkeys[key] == 1):
Data.inputkeys[key] = 2
#if was released, go to off now
if (Data.inputkeys[key] == 3):
Data.inputkeys[key] = 0
for obj in Data.toBeDestroyed:
Data.objs.remove(obj)
Data.toBeDestroyed = []
if (Data.reloadEndOfFrame):
reload_game_immediate()
#DevTools.showFPS()
#DevTools.printObjs()
class DevTools:
lastFrame = 0
avg = 0
nFramesToUpdate = 5
nFrame = 0
def showFPS():
DevTools.nFrame += 1
if (DevTools.nFrame >= DevTools.nFramesToUpdate):
m = millis()
deltaTime = m-DevTools.lastFrame
DevTools.lastFrame = m
DevTools.nFrame = 0
DevTools.avg = DevTools.nFramesToUpdate*1000/deltaTime
ui_text("FPS: " + str(DevTools.avg), 650, 50)
def printObjs():
#objs = ""
i = 0
j = 0
for obj in Data.objs:
#objs += str(obj.z) + ", "
i+=1
if (obj.inGameScreen):
j+=1
ui_text("Objs: " + str(i) + ", in screen: " + str(j), 450, 100)
def processKeyOrMousePress(val):
if (val not in Data.inputkeys or Data.inputkeys[val] == 0):
Data.inputkeys[val] = 1
def processKeyOrMouseRelease(val):
Data.inputkeys[val] = 3
def ui_text(txt, posX, posY):
pX = (int)((posX+Data.refWidth*0.5)*Data.scaleRatio)
pY = (int)((-posY+Data.refHeight*0.5)*Data.scaleRatio)
text(txt, pX, pY )
#Processing funcs
def keyPressed():
processKeyOrMousePress(str(keyboard.key))
def keyReleased():
processKeyOrMouseRelease(str(keyboard.key))
def mousePressed():
if (mouse.button == 37):
processKeyOrMousePress("m_left")
if (mouse.button == 39):
processKeyOrMousePress("m_right")
def mouseReleased():
if (mouse.button == 37):
processKeyOrMouseRelease("m_left")
if (mouse.button == 39):
processKeyOrMouseRelease("m_right")
run()
### END PROCESSING CODE
{"main":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"bVTXdjH5gGcu65Vy~p2_\">Number</variable><variable type=\"\" id=\"#1,%{sPna=b$QLlX*dCr\">score</variable></variables><block type=\"class_object\" id=\"aeU(#YiV5=HemCN[mubl\" x=\"135\" y=\"105\"><field name=\"NAME\">Sky</field><statement name=\"start\"><block type=\"set_sprite\" id=\"]3tHqf|vR$QpI%JiY^%h\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"UUdam/N_Gr!KF+Xt/%II\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/SkyTileSprite.png</field></block></value></block></statement></block><block type=\"main_class_object\" id=\"M|TUBcRXfP-zXMfslc+k\" x=\"-195\" y=\"165\"><statement name=\"start\"><block type=\"instantiate_at_pos\" id=\"a5UL.!l^zK}yV,Pa=x4f\"><field name=\"type\">Sky</field><value name=\"x\"><shadow type=\"math_number\" id=\"b1sPV`~j]s%1BhjJ;VC(\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"kj~m?V9.8bmHMatf)M.]\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"instantiate_at_pos\" id=\"/5}O4b)_g*}=P?L6N]4?\"><field name=\"type\">Player</field><value name=\"x\"><shadow type=\"math_number\" id=\"..BP4te5B*OpRNFicQlp\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"`3!,E~f-g:vIN(6IYldf\"><field name=\"NUM\">250</field></shadow></value></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"%u:/wxL5]8W;TYS)=!)0\"><value name=\"IF0\"><block type=\"key_input\" id=\"06fWnd(EH,x/L.b8P(9=\"><field name=\"NAME\">1</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"$~mT9sh;%{$KKuy3UAen\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"E]P}QX;wP6it6ct+;_*?\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"H{0/ez*6H1dv3X_rIw%g\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"jakAp]sot$i44um,AZ^[\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"I[|?%^#K8xLQ`Y`jA4i/\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\",HnvTHmF{}x27=:8R,X#\"><value name=\"IF0\"><block type=\"key_input\" id=\"*Z(r(k^@a:u52dWm_e=J\"><field name=\"NAME\">2</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\",E,5@-(q;CNm1R{$?xQI\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"(iXU^v--k@(K8`*`3!5m\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"8Ik=|goT6=$4HeJfq?Bq\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"xDM16?(NGU_2N)..J(`3\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"~}A4;a^S|rIh@n,yzB83\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"G~)i{wb,ECnfMJ4K::gY\"><value name=\"IF0\"><block type=\"key_input\" id=\"]uqgWzg|8JLVddq)fPD)\"><field name=\"NAME\">3</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"EUmR61LJ-Gg1[+|o^^ZA\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"nskH5/@^-YU}A7gjv34?\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"YJsud!f-:AY/wxj@5pIC\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"pM3339IR;vGc8/Oh_.6$\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"9/(T,sw`u8NUnX!)bTv?\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"Jq4K-i2@KM.-oITwW6{X\"><value name=\"IF0\"><block type=\"key_input\" id=\"8coc^G__EwQ_V,9B#E#c\"><field name=\"NAME\">4</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"F?nH5g=kk+dG3x)3qno3\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"Sb`JG1wsv_](tKnJ$24J\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"|7njY,I~Mec0?{rAZkMa\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"pi,_Wd2N.Wh!#At9sgMl\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"VbfI7+@?8=OF^~?gM1GZ\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"@;xO#KN:l-y|[DeeyB#e\"><value name=\"IF0\"><block type=\"key_input\" id=\"B].TsiIB2R%oo(Jeh.FR\"><field name=\"NAME\">5</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"d@|rGYheob|+v_}q[Y[;\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"l*j%{[o(}ig$^*sx;j%]\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"[#*]R;B26*6AS9eg?Z9x\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"AunSk0C7kH!Xcp6%.7@6\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"dD6(GFWpkgh[{`%K;DaK\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"gJR8_5Ggnl!wkCDciH*~\"><value name=\"IF0\"><block type=\"key_input\" id=\"O%(nrut?/n{sLu5Ifs.M\"><field name=\"NAME\">6</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"N3q4PY}WtQXCT-HXNvhZ\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"JIf/M[~=dcaT.~vjt8%$\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"uk8dJw$8)]|z}wl44?[W\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"n9`.KVqr,dVYE7[,SD$s\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"j+OLJr.fHQ)#;-W=b+q7\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"R60ck+#/P?VZ:fBDy/92\"><value name=\"IF0\"><block type=\"key_input\" id=\"qRTIO!wD)y%Y.H#lO+iK\"><field name=\"NAME\">7</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"8%5hO!E/zE+1INzQ!}pl\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"~8/h5X)LfY.BS)E9-MpT\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"4JyKP.EFaaXM/h^/QxzT\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"~;we#M7ms*j7)^Mn(X=9\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"p)k{@+=RtPI;=A*@3=]z\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"7Y;28H5~WLs=08IpheQ]\"><value name=\"IF0\"><block type=\"key_input\" id=\"|?n4/^fyJzF2.]}O@2iB\"><field name=\"NAME\">8</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"`U8=U%27H1`YW]v@(*qQ\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"x8vfY*Rl3O2~%^Dqp++?\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"{xw;uNOh#o@U--^?y;_.\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"?ZO=t)1L,if(UHe(vNI]\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\";V?5)}]QI}gO3u0m.$+%\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement><next><block type=\"controls_if\" id=\"Sfb{3GAqaaJ$*IxmjDNq\"><value name=\"IF0\"><block type=\"key_input\" id=\"|+OPo)PiOx3s3{hrI$*2\"><field name=\"NAME\">9</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"instantiate_at_pos\" id=\"yd*nEe-rWs+vtXwF=rWy\"><field name=\"type\">Pillars</field><value name=\"x\"><shadow type=\"math_number\" id=\"mOhBm9nk943[^(]yhpS]\"><field name=\"NUM\">500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"t^UKk*D7o~AD]9EeM,jX\"><field name=\"NUM\">0</field></shadow><block type=\"math_random_int\" id=\"XNtzV0?:C[Y%4D5Dig`u\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"}PT?dDMI=RIfK-a0~8Ux\"><field name=\"NUM\">-600</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"#gU~@1]HR!AQV)3s:2b`\"><field name=\"NUM\">-400</field></shadow></value></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"J*KXN|@qOt{qQrEX_u.l\" x=\"375\" y=\"165\"><field name=\"NAME\">Player</field><statement name=\"start\"><block type=\"set_sprite\" id=\"P_~46NAQ5J9kV}LWo$NS\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"eEX+a2cU;n^pxLUc`Or7\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value><next><block type=\"set_scale\" id=\"YESplXZIERKDYvCi2b},\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"RVy)fW:2!7R#!hnV4!vz\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"variables_set_custom\" id=\"hjb-ch`#rXDAH0(HP6f%\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"nnBHlKVLHCupSyNTGoBx\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"{eCkNhTIeL7:xeA?ENJ,\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"+nzE)szh2fxzaBOPJ2-4\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_set_custom\" id=\"LLgSITsIbv.I(3#e:T,;\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Oe@k,4qOEZn%X=5D8E)!\"><field name=\"NUM\">0</field></block></value></block></next></block></next></block></next></block></statement><statement name=\"update\"><block type=\"ui_text\" id=\"D9$I3HksAT6c[eB!S*~6\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]EelAezgMWErOv*PRlcp\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get_custom\" id=\"KlvxpRnGhH/Fft~|e@86\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"x\"><shadow type=\"math_number\" id=\"J8To9]{,,g)]}ta`Gm6Z\"><field name=\"NUM\">-300</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"e7l#]S5:/(u0jCz}-5H+\"><field name=\"NUM\">200</field></shadow></value><next><block type=\"ui_text\" id=\"B96G@e[ojthAXx{LMrVr\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]EelAezgMWErOv*PRlcp\"><field name=\"TEXT\">Press:</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"?={A_dRrkh4b`IV{rvar\"><field name=\"NUM\">-395</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\":{S[)~/`k|eVAZG(9MT.\"><field name=\"NUM\">200</field></shadow></value><next><block type=\"ui_text\" id=\",He{Ig,;KU_|t[WkoPog\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]EelAezgMWErOv*PRlcp\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get_custom\" id=\"gQ#jkx]*KSu,@$:wCDw|\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field></block></value><value name=\"x\"><shadow type=\"math_number\" id=\"*s#Hk@i{%D`7$,o$w|Un\"><field name=\"NUM\">-240</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"}BlG=M@U;]6KMwRCuC4F\"><field name=\"NUM\">160</field></shadow></value><next><block type=\"ui_text\" id=\"4MXIp$YK@VG}hZqiwP?%\"><value name=\"TEXT\"><shadow type=\"text\" id=\"v1oUjwuBDg6gH%XUlcRh\"><field name=\"TEXT\">Highscore:</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"OkNf`dPll,Fl,=sf11eZ\"><field name=\"NUM\">-395</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"3y66By/*Ql^7Tp)Ktqx{\"><field name=\"NUM\">160</field></shadow></value><next><block type=\"change_pos\" id=\"qfDT-gu!|tV}V)CmxZ1y\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Qiip4BYVK?+0wzCH5I2+\"><field name=\"NUM\">-3</field></shadow></value><next><block type=\"controls_if\" id=\".iPHRD^3?uK-+A+@22kl\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"SD`gj%kwWuD36i}hc#:/\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"get_rot\" id=\"INhKPmvN*?Iz!PrixXlj\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"/ZCN8OyUr63@eaQ+Q4wj\"><field name=\"NUM\">40</field></block></value></block></value><statement name=\"DO0\"><block type=\"change_rot\" id=\"oKF7s8Q$PNJ].r)UeuQ$\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"):5`u=%;#04.08@eyN)T\"><field name=\"NUM\">3</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"ZDtk;7V@22)Z+oVA$,a)\"><mutation elseif=\"2\"></mutation><value name=\"IF0\"><block type=\"collision_check\" id=\"f,ROiGTzq.JjMdSAuv00\"><field name=\"NAME\">Pillars</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"Pzb7`QDIs7UfE%B`h:Up\"></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"/DlnplY89(Cl7bvYb8L8\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"get_pos\" id=\"kVq)RPQo$U]P*0-SiByg\"><field name=\"pos\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"LZ3jlsMi0P7*324|;nN^\"><field name=\"NUM\">320</field></block></value></block></value><statement name=\"DO1\"><block type=\"reload_game\" id=\"9Z2*]8b~e,SJ:8uSYrV-\"></block></statement><value name=\"IF2\"><block type=\"logic_compare\" id=\"GoT[km5^Ff0or9k+o2c(\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"get_pos\" id=\"^.#QckA$K(vv59/*PnX)\"><field name=\"pos\">y</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"[%fef_4SRX9!0+ihP;vM\"><field name=\"NUM\">-300</field></block></value></block></value><statement name=\"DO2\"><block type=\"reload_game\" id=\"1p#6=1RD;)XQsyJv2j1s\"></block></statement><next><block type=\"controls_if\" id=\"DtGA.trJ`{C5pc#rNeHs\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"yMG_[Ndv@6(:5mC6SlNW\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"Rl+ll+Lpw?8JSOL.|xf9\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"XI`PqScEDC]`Ppdro+@g\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"5uzb~Wf0~}DOv%yc=l6m\"><value name=\"IF0\"><block type=\"key_input\" id=\"7hPhzeP-^fU;lpQC]W`?\"><field name=\"NAME\">0</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\".Ke1_lNcU5OToghRo!`6\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"dnuF(Mn-))6OmeO$a`S7\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"Q+~%*7.lxLL[A_*SQd]=\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"sL8kch(N%7(6mMJXAI=;\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"g7`^Vq85W}|5tApU-_kg\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"4E#Jl@zu3aVvMm`FJ,#3\"><value name=\"FROM\"><shadow type=\"math_number\" id=\".n3C`Q$`dK)F[2uXND!Q\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"9M;~WKl%z)}Q]Hya[74S\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"qB#tQ^_HpXmHaFZyv.5X\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"6k(ZPr_1F?(5aVPuIfFt\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"zTX]40|Vkv+zhTc=#i)R\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"L7Y_v58=e^c^htCX)nBv\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"U3?0iq,RR6,2qYg5hK6|\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"2[-h*M*}YVn_329qK35@\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"FVub/j^+E0v80[Y[~vXh\"><value name=\"IF0\"><block type=\"key_input\" id=\"j`GbR?#KaZnQ?gsu^lq7\"><field name=\"NAME\">1</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"J0|l7s+ol_D)`:X4jsxW\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"EYwJ`=MYIv]dK$4xF)F}\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"YfbfRkKs/D2xb|)=nOUL\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"68AX#~_tw`+Z|-oS3{QI\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"m.A*9fGN6(bdIqs;x|E-\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"~ap1oede?Y-5MqVE+M8i\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"$#tNpx8`OpJFd*oq#A0@\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"V(e(yu5^}3rjqsoFnU8T\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"7%k!{C38T3YmN+b%s+{{\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"%R4#e(yqHTJ;+?4#u7I$\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"@vXR$PsfFrB0+cot2zhs\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"USwuSQd,k1c$b3UbS1kc\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"*M`p8e9B0LOeBD(gpCiW\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"oNuxcklrSOHx=S`8ZM4(\"><field name=\"NUM\">2</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"SjREySNWlE$p+S[mEwNM\"><value name=\"IF0\"><block type=\"key_input\" id=\"R_KF5@c1|:[oj6D;Cc~0\"><field name=\"NAME\">2</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"|]+}GT3NO^27wJa$BmH-\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"F`d^OP)P;ok4%bg@,kAG\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\".4[.ZKbooUYOlv%vau#x\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"M7h-%gjzlNY/_Alp{$*%\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"seR`i-bJPjAgj}w[[Dp}\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"DYdOxxZx20DZ!_0=KiTK\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"!dBmZ$4*:OMSW}{JHN1z\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"^^{)/%ysT_moMXTZ;H3i\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"rt8E^;#q%{xCfzWan?ZO\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"DqDL=h`~l_te1SQh3(*M\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"3S)u~(RlcW9/W:^*ZPIX\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"+MFnM*v[zg,`K]6Uw)eK\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"YNA@6*U9!~,Dh9]R|77f\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"[MELD1O^[@+=CU7,/fl1\"><field name=\"NUM\">3</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"L)%JLs{nbfGb{52}3*Df\"><value name=\"IF0\"><block type=\"key_input\" id=\"zhufO5mZ7K;2%cU[v=3R\"><field name=\"NAME\">3</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"/{Zd`|VZ6R@Y^yCv[DjN\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"rNe)Lt4)g-}mW;!uk@X|\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"BM$HM07G.YS6M@1FFx0n\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"EYSiYFNixz!s0EH4t4DP\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"3v@M2/0{I2Nt!o)1%VJ/\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"{r!i)*VUA;)|?32(fWk!\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"p[R;!v52S]Lmqjzk^D74\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"ltgd9EFp+6Z|[Cs6IE||\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"sb:=FO[#,{n{)XagYTs9\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"9uak-*q(bu@lgeNxt6-V\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\".^*_-TbJWc%dtwaDNYyW\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"%|c$VEhv39.+4e;^cnK-\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"Vr9qvTwA%LcwN5(_{,-c\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"%!fn(1)3]wTneFH[Ot-H\"><field name=\"NUM\">4</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"*0.C3#=P,Rx9,OSxm:bV\"><value name=\"IF0\"><block type=\"key_input\" id=\"/G!h|R#Sy4OyON^}dIp[\"><field name=\"NAME\">4</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"3DU5/Bnji[u9*8V?R0(+\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"5T1ue4$M4_:s9;qE/dm=\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"4INv}}#qIc6`8hyVx(z$\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"FpI#Jc(Em@-]%}[Qt3$O\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"F)O?V~v~Nu{Qd11Jv~?N\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"rU=ZW[Dn1[p0#9(QtT:H\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"BfFr^fGIbG?=_7{wlz:e\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"*TB*%v2J6.ikRZNFWsd$\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"K1|GEiR~Q-GGc1R{4KGY\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Gu3U0Wn@ktP1C=Wtq@ky\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"lo!-~d?Yy*][jIYr@j{7\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"jWR.Y-kbuB_b?EKGI^O}\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"MGj/o|xkjMX.H]pSWmDx\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"{,|CiC;*h0+D..ez@arS\"><field name=\"NUM\">5</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"7Wd6Lxwv!op_{~oowQ?Q\"><value name=\"IF0\"><block type=\"key_input\" id=\"^K]20!ZNaD$1yllDWBb}\"><field name=\"NAME\">5</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"1}drxj!o_/:|CoA#/^.V\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"0Y3n,sR:8cG3cY-_O0`P\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"ImrhHa-6|41y%VL},OS(\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"aDXDjs?}FWXC:GyR7sPP\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"ca8}bC1uja`TqK./1AAf\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"{#0Yx)GQTzoV6!:hyKIZ\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"JY~Ek{uIocUQ!gIWnCsL\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"JJ10-LN#H8X|t3A7m-w`\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\",u]kc4N77CCup3=T#V:o\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"iNx7.F^nVJus##.Ml|,U\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"jSg~!x,VoPt[UxK.9:wF\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"znD{LmAM.!L_^n_?OSrA\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"ES+lw|m{g4}Vm/Kn5j@5\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"JMu.m(1L_ri%!6|vTh_|\"><field name=\"NUM\">6</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\":tY}IHsOstRV-~(z3PIe\"><value name=\"IF0\"><block type=\"key_input\" id=\"y.G7X6B=}_DXRKE/$/Zh\"><field name=\"NAME\">6</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"}yW|UW)`o{kQp~Fdv$YH\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"`K(,qCM6Q$rZS{$Vj/DZ\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"?}(;9P4{-[yqOH${H`P!\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"8I=]b;Ub%X;4u|~Vk[g=\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"oWuf1ECihj))T99Yc$Cl\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"r_%H*=QD*Y+Vjk@4U2PN\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"VWFw~X=ylEAH`Q7R~gD~\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\",wk6PZesWa*W20hfT^p~\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"}6tmaIkc2}@Z:~y0Me@7\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"j6SdiT6#zK]))3(btlL3\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"hR)vHi-Blxq+9a=WO|Dr\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"dW~8-n7(v@[Rl+M._`5o\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"+Ol5dHoWs}J~MO(:WaUP\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"=KgJ7JXtzpw)qeR]rJyN\"><field name=\"NUM\">7</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"$oyr8|_X*F,8j]0o48[s\"><value name=\"IF0\"><block type=\"key_input\" id=\"$5d7L3)~7=ggD~xw14W5\"><field name=\"NAME\">7</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"q!f8[@jO^)7ls7_wvub`\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"5(@xTMI#5[8)If/TilK~\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\",OlY#J,SCBdUCl{45@Y%\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"`%FIR3~%jrW9SrWC=AJW\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"ty@ez9aU1ux+xa_+cy,=\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"gYp?;9,Ifvx#,HJ/0/[/\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"]h}yoMZw16z;0=Ltt}w?\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"!(d%c]-C-{Xp$??K@qQ{\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"H]`4_ssu.+TVY?,JHx5c\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"6NqoN,D@BHlMrDp38EY.\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"db(i9XZkorfLs#QGHiGm\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"!;_ddKHPiz9sP8^+?p|]\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"[}eoFgp9_Hx#-SUwZrk3\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"nSEDWZ!a9RVaoL,/kcmS\"><field name=\"NUM\">8</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"GNrSdJTg9(wwIvQTr@oV\"><value name=\"IF0\"><block type=\"key_input\" id=\",)S9k=/_9Px@.NIQ32m#\"><field name=\"NAME\">8</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"ILh)zm/nu35(YaWl+LJ-\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"2{{J=eF/Al[.L9_a^0.?\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"uu.T;Eg+Fytzs!O|^{tB\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"{XVSIaH%Yadf=(9%05j^\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"zL#d5};*DffpH}JG!tn_\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"u3d,,q]oz0i9;hxQoHhC\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"h}|+gW)2kHrm*Ck(5bJ:\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"}hVPCcTbZV4)9J=[2IVL\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\"@=p#{G_ZZVw0PeOR|^hc\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"p3vJ^vU}s1-@B1}4:.}S\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement><next><block type=\"controls_if\" id=\"I0jQ1(kcYf4t*~W%Ha%S\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"nmD*t[[6k`mK_AKlTFAq\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"!a@pip$V=k,yG~7UaBJ}\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"J9%k}4jc`^-F}uYgLB8_\"><field name=\"NUM\">9</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\" id=\"Dq[m|pI!}pp^{;Pz3{fp\"><value name=\"IF0\"><block type=\"key_input\" id=\"t?.|_p?X_VD=-2,ui5J-\"><field name=\"NAME\">9</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"lA4(q~m5.BIm=s^s`|jR\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"79HDCZe:z9dNw8G?UN,}\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_rot\" id=\"z,?si-~0o-9DV/4kZQlo\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"l.6RL9hC9|WS*CYA}%zU\"><field name=\"NUM\">-40</field></shadow></value><next><block type=\"variables_set_custom\" id=\"A}/XyG,lvLDJGj)XK98W\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bVTXdjH5gGcu65Vy~p2_\" variabletype=\"\">Number</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"}%.19Xn%mJe@W.AcPRNs\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"zcG~e]SH43ecx$_$zi6-\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"yA!=[sTKy7;u?vRX]78s\"><field name=\"NUM\">9</field></shadow></value></block></value><next><block type=\"variables_change_custom\" id=\")7BIww*{jnPQ}G)zaquE\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"#1,%{sPna=b$QLlX*dCr\" variabletype=\"\">score</field><value name=\"VALUE\"><block type=\"math_number\" id=\"O+?k-AWA6/f+uxhMNT$0\"><field name=\"NUM\">1</field></block></value></block></next></block></next></block></next></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"J[WA5wTjRo+c+ka?$(^S\" x=\"-465\" y=\"465\"><field name=\"NAME\">Pillars</field><statement name=\"start\"><block type=\"set_sprite\" id=\"mmCuT%x^wW{S!SY-QI:e\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"q(MZXtDa@,vEy]5Yl)C+\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/ColumnSprite.png</field></block></value><next><block type=\"controls_if\" id=\"(f?:[}LUKRhS39nyR]qY\"><value name=\"IF0\"><block type=\"collision_check\" id=\"%.zD[p#E0[hbuh*e(r#B\"><field name=\"NAME\">Pillars</field></block></value><statement name=\"DO0\"><block type=\"destroy\" id=\"z+~c=qxJ[m9!.JrjJK8?\"><value name=\"NAME\"><block type=\"self\" id=\")g3w0Dyg5o}^EmW^zH-W\"></block></value></block></statement></block></next></block></statement><statement name=\"update\"><block type=\"change_pos\" id=\"2=o-SrrG1Gn9i-@!Vj4m\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"F:2F|XZ1Q(/^OhxE/RtH\"><field name=\"NUM\">-5</field></shadow></value></block></statement></block></xml>"}