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=\"k4pPGWyKKZYoI@EO%,Wx\">ian</variable><variable type=\"\" id=\"9l(sRh$a$(B_%2r~P7R=\">yui</variable><variable type=\"\" id=\"Nn/4^n,$@x7HzDi(~N_w\">holiday</variable><variable type=\"\" id=\"bAJB[|_]~sIlJJDqY8F^\">sunday</variable><variable type=\"\" id=\":==cGn2F`)rB3~x2pobB\">day</variable><variable type=\"\" id=\"Q!EOo3I^ldymkau:b$Jk\">cake</variable><variable type=\"\" id=\"tR5Z3FA;bL5NPN],%u,U\">monday</variable></variables><block type=\"class_object\" id=\"1-+my`zmzk4T+CAK?K|*\" x=\"315\" y=\"-195\"><field name=\"NAME\">bobandbetraavvv</field><statement name=\"start\"><block type=\"set_pos\" id=\"ICS];el/,1ENp7@F6gF2\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"P^`U9UTb~Dd)RkuSfiG.\"><field name=\"NUM\">17</field></shadow></value><next><block type=\"set_pos\" id=\"a(?-o5L([/bKB)/Bg[yF\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"9F?{z!F@|-;Q[JhhHF9X\"><field name=\"NUM\">21</field></shadow></value><next><block type=\"set_rot\" id=\"Am~=jEao.+u(hNB.ge}L\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"JoY+m]lP4zdXNRj;vg6+\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"set_scale\" id=\";.zP1236W0e;fR8/`jq:\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"nKD+t[V=O85p~e]6|s_b\"><field name=\"NUM\">15</field></shadow></value><next><block type=\"set_sprite\" id=\"#5$nZ}Br3,=-SBun+Zsl\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"!P+Eh{qr607U%I1co}*=\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></next></block></next></block></next></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"~y.)O~/4W6U0_+!g;2jf\"><value name=\"IF0\"><block type=\"logic_operation\" id=\"!G2HUv)yNv0j@:H2iF!H\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"collision_check\" id=\"X_gdNI})mtI:lEC1LoHO\"><field name=\"NAME\">default</field></block></value><value name=\"B\"><block type=\"collision_check\" id=\"R/|sbMsvdc@$4W;3U9LE\"><field name=\"NAME\">daddy</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"_rW.l}q|`{k6H=u@N*@e\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"VOq`hRu)-|C]@8oeE%G*\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Bullet.png</field></block></value><next><block type=\"change_scale\" id=\"g~qI[qaNj0];47`2Z7AU\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"p(1[4#]BY.{T{fZgf=Yp\"><field name=\"NUM\">1e-16</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"4Qzr/M6~8diEIdCTUMCi\"><value name=\"IF0\"><block type=\"key_input\" id=\"dS8~]Ho7f;TFtSXN2aB%\"><field name=\"NAME\">w</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"DP6fHahCRk5w}6@:NO%^\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"Bw`,Fv*u${{if(T/Sad2\"><field name=\"NUM\">12</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"!Q87|fXL{7sur2!Ko8-_\"><value name=\"IF0\"><block type=\"key_input\" id=\"I5!{;+f($(EOl^4Jew^Z\"><field name=\"NAME\">s</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_rot\" id=\"}1^Y59!pQP|azB;6X*r%\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"{mMlV4D,*vw5PKszt68{\"><field name=\"NUM\">0.1</field></shadow></value></block></statement></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"H3xP74!JAXLz{8Re~5?,\" x=\"-224\" y=\"-15\"><field name=\"NAME\">space</field><statement name=\"start\"><block type=\"set_sprite\" id=\".}|oIdsletu4a~-3An;4\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"U@B_4CxCyHL;Z=$G-wh~\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Nebula.jpg</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"$QqN[*j_B6lWT|k~]ds{\"><value name=\"IF0\"><block type=\"mouse_input\" id=\"yqvV|@4A#Uz46DN[x#B-\"><field name=\"MOUSE\">m_right</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"k1bBf)eO4/[9%,_NVhx,\"></block></statement></block></statement></block><block type=\"class_object\" id=\"j$sud$DrPn2z4bcF;5.x\" x=\"945\" y=\"-75\"><field name=\"NAME\">iop3</field><statement name=\"start\"><block type=\"variables_set_custom\" id=\";gsK6w#!F.doVlFGOElx\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"k4pPGWyKKZYoI@EO%,Wx\" variabletype=\"\">ian</field><value name=\"VALUE\"><block type=\"math_number\" id=\"t77Beiqn;GQ%y/vz])/a\"><field name=\"NUM\">100</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"Mkq_1;kVG;!)Bh,23_e~\"><value name=\"IF0\"><block type=\"key_input\" id=\"m!$r.e=m9z1IAV.(1b/)\"><field name=\"NAME\">e</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\".74gI}3SdBuNP{rQjv})\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"E49S$%q:|wNmdU)rV}f?\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value><next><block type=\"variables_change_custom\" id=\"|I7=~((Lt?]N;Cb+KQtZ\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"k4pPGWyKKZYoI@EO%,Wx\" variabletype=\"\">ian</field><value name=\"VALUE\"><block type=\"math_number\" id=\"w$D{U9ri_oq;Ef}=j$(J\"><field name=\"NUM\">100</field></block></value></block></next></block></statement><next><block type=\"set_pos\" id=\"sx`JYq2X$pIh,]v0*-MP\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"~nYV}12(T5nPyRtS,+EM\"><field name=\"NUM\">199</field></shadow></value><next><block type=\"set_rot\" id=\"%MvxPXY5*37a[B@vr@U}\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"ox/DJS@yjM2X/fsC`4KW\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"set_pos\" id=\"(}N(C4SK;Oz.UJ$EfO]X\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"2Y%i3oP;_x1r~08r;`:=\"><field name=\"NUM\">199</field></shadow></value><next><block type=\"set_scale\" id=\"{oYU9wfDiR8}Xm67:mWq\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"@d[MgnltQ#|B5fv?`x}J\"><field name=\"NUM\">1.5</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"main_class_object\" id=\"M|TUBcRXfP-zXMfslc+k\" x=\"75\" y=\"15\"><statement name=\"start\"><block type=\"instantiate\" id=\"*V:[1-TEigAwAUjTr$X7\"><field name=\"NAME\">bobandbetraavvv</field><next><block type=\"instantiate\" id=\"zWC*kw8K3lXS8NDezfGM\"><field name=\"NAME\">space</field><next><block type=\"instantiate\" id=\"uJz(bXN1Qpx4apQ{WQC_\"><field name=\"NAME\">ioo</field><next><block type=\"instantiate\" id=\"=tKs@Eh*k0Hao.8O+~}7\"><field name=\"NAME\">default</field><next><block type=\"instantiate\" id=\"[)[Yj)uF1I=1~,`Kh;[I\"><field name=\"NAME\">tyu</field><next><block type=\"instantiate\" id=\"bT+Ofe|lMN=0/VMkls2:\"><field name=\"NAME\">iop</field><next><block type=\"instantiate\" id=\";8/:QOr%yqj{C#-!sfp6\"><field name=\"NAME\">iop2</field><next><block type=\"instantiate\" id=\"FQQ*wxR{mL(8?dz+Xhkk\"><field name=\"NAME\">iop3</field><next><block type=\"instantiate\" id=\"DNfDXPdg}ucY/DqtV?%E\"><field name=\"NAME\">kevin</field><next><block type=\"instantiate\" id=\"~R3{c)/MTgXsPLLiJ6T8\"><field name=\"NAME\">kevin2</field><next><block type=\"instantiate\" id=\"V;DP~A]S91v|9UiKd}co\"><field name=\"NAME\">daddy</field><next><block type=\"instantiate\" id=\"qHgb1:ERj6k%?C7*Zq4L\"><field name=\"NAME\">ian</field><next><block type=\"instantiate\" id=\"[][P54o2Pd`QraZOPW8F\"><field name=\"NAME\">ian2</field><next><block type=\"instantiate\" id=\"{i%mmqn]vx]p?B5PjCJU\"><field name=\"NAME\">p</field><next><block type=\"instantiate\" id=\"VQXX[YwVh--[0Id^Af=s\"><field name=\"NAME\">default2</field><next><block type=\"instantiate\" id=\"4QtTp+g,QMR.={*@k_=I\"><field name=\"NAME\">default3</field></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=\"sc;Zz-_yH9fhX`YeGkYe\" x=\"385\" y=\"68\"><field name=\"NAME\">tyu</field><statement name=\"start\"><block type=\"variables_set_custom\" id=\"k[RsXN23f.B0vSN=ygiI\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"k4pPGWyKKZYoI@EO%,Wx\" variabletype=\"\">ian</field><value name=\"VALUE\"><block type=\"math_random_int\" id=\"I=^W-Ckp_4^$%Vg[_?{a\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"9C7xUkS)qXF?N1nRaM0W\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"S(5;LW4tQQ[{$.~f#x1{\"><field name=\"NUM\">7</field></shadow></value></block></value><next><block type=\"set_sprite\" id=\"EshREg+9+O%-3bt_G_i~\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"NmT$6o9m-uuSta%U!(C$\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/brick.png</field></block></value><next><block type=\"set_pos\" id=\"OgvS/ZAq~CVK=uJ+=~GA\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"E6Oe1RL)EcgYHxnojx4:\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"set_scale\" id=\"rkZf6zH|^y$FEF6e,hpi\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"u`yQEpttRS7*=X]nq@:h\"><field name=\"NUM\">0.1</field></shadow></value></block></next></block></next></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"d}9`UhSpy+0a{AQN@D[9\"><value name=\"IF0\"><block type=\"key_input\" id=\"G2)2/4.-^BS12pUBNV^3\"><field name=\"NAME\">w</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"3nhR}9s0Me{nrKV~k}|Z\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"Dvgrg}2=(I|r@x{_Zd]A\"><field name=\"NUM\">10</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\":ad=}mbCUt|:16/|v*!H\"><value name=\"IF0\"><block type=\"key_input\" id=\"[svh@*O)LdRUL{pw/!2_\"><field name=\"NAME\">s</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_rot\" id=\"?.E@Nd`{.B_[{om!(m9X\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"rUizWk7Sof!17mR#98$P\"><field name=\"NUM\">-90</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"e)]#R%k-6XCv[zKK3N}c\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"^X01=:O!t!wdEwZ$!Y2B\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"Hc.p7RX,J=e9;BuNe|6z\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"k4pPGWyKKZYoI@EO%,Wx\" variabletype=\"\">ian</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"t8+|`~Z,MqWX=MH?i]x%\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_custom\" id=\"pQYix%WA-?x]@l{jOjoe\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field><value name=\"VALUE\"><block type=\"text\" id=\"}epNh}A:8`PKWl`*7jLI\"><field name=\"TEXT\">monday</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"variables_set_custom\" id=\"$HDv.U^lp({az-Ibu[O5\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field><value name=\"VALUE\"><block type=\"text\" id=\"H,q;lnyHxWfb[cZ1z[5A\"><field name=\"TEXT\">tuesday</field></block></value></block></statement><next><block type=\"controls_if\" id=\"AlT%}^NH6%BklJs3HC%7\"><value name=\"IF0\"><block type=\"key_input\" id=\"_Ok#b@v_1j8J!Kg6Nov6\"><field name=\"NAME\">w</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"7z/e3Z`!~zM@A12KFYS,\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"=O79:HrZHd2+z[Q/W{})\"><field name=\"NUM\">10</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"u/TNm6TQca-eE4R8Z2xB\"><value name=\"IF0\"><block type=\"key_input\" id=\"{eF-Z_j?Y!(:}!.y|o5j\"><field name=\"NAME\">s</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_rot\" id=\"B~=O9iZ;DW9_`uO;_;-K\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"[0J75LMhzi;3S%+3Ht%v\"><field name=\"NUM\">-90</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"(Dp-^9-Fi@/@v%@@2^F)\" x=\"1725\" y=\"75\"><field name=\"NAME\">daddy</field><statement name=\"update\"><block type=\"ui_text\" id=\"PG+u?,S!6{_q093qLw1w\"><value name=\"TEXT\"><shadow type=\"text\" id=\"qwWC(!(?i~zLtoN^4H{w\"><field name=\"TEXT\"> y y</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"nALEjO3_@+VuW=;?[/^`\"><field name=\"NUM\">100</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"QM=}^;H%{E(}L=G[UrXs\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"ui_text\" id=\"8QDnd:,Ed1Ox*2uW-V/:\"><value name=\"TEXT\"><shadow type=\"text\" id=\"-fQFS{T0tOND=E6AgxI{\"><field name=\"TEXT\"> y y </field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"l~EoxUP5J~l@g{{%K18z\"><field name=\"NUM\">200</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"9)@*w4xqB@lPy5iXQHty\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"ui_text\" id=\"$vo4Rm.gs*1z$yTky5D}\"><value name=\"TEXT\"><shadow type=\"text\" id=\"ZErr1:oa;Q8d*?A*G~M.\"><field name=\"TEXT\"> y y </field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"`TLVnJG}GpK)n{rR/zLz\"><field name=\"NUM\">300</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"Ro`T?l5[@Ou3c[Y^p3`H\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"ui_text\" id=\"W.Prj^k$dI0N.lVa+*ER\"><value name=\"TEXT\"><shadow type=\"text\" id=\"H]pv+7X+hRUea};`6VbG\"><field name=\"TEXT\"> y y </field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"Z-xr.iL$Fayv;gCzcyzw\"><field name=\"NUM\">380</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"^k0^zQN_[KBc(1trR*LU\"><field name=\"NUM\">0</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"%kyQso9!b*6F$bQV[bM)\" x=\"1515\" y=\"105\"><field name=\"NAME\">ian</field><statement name=\"start\"><block type=\"set_rot\" id=\"_)z_)*Rl5ZBa_S|27L75\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"K$)0QY|^_mwJy5$DJT0b\"><field name=\"NUM\">45</field></shadow></value></block></statement></block><block type=\"class_object\" id=\"w8n:rt)|-D*ifiCqTZHS\" x=\"-165\" y=\"255\"><field name=\"NAME\">ioo</field><statement name=\"start\"><block type=\"set_sprite\" id=\"=fR9|Z^Yu+`As^CkG-_F\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"G$?W-zah}NBSO^6clMW=\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/spiderweb.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"cG]41h@/cUU7N2L^Nw0=\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"M?$qknHi9/PyCQ)AR6UI\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"get_mouse\" id=\"CHzp^-MP%yM+!VR0gSO}\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"BD^plGaR4.P7STl?BqBP\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"c.Y~-v{/HZ5oup(BaPC)\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"fWeO?q1k!A7-vFzh32)|\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/SkyTileSprite.png</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"set_sprite\" id=\"A[Ht-BFb%u+gZ0{^wb|R\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"w9AL2rD#KaxvF3!)N;rr\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value><next><block type=\"set_scale\" id=\"=v3Hk%p*Gb8@or}!SIGG\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"v45h[uh^9E!E|c+zDn9?\"><field name=\"NUM\">9.8</field></shadow></value></block></next></block></statement></block></statement></block><block type=\"class_object\" id=\"6y`rh8WXB~,:C[mp$OTz\" x=\"1275\" y=\"225\"><field name=\"NAME\">p</field><statement name=\"start\"><block type=\"set_sprite\" id=\"=[_H$0m/G_j(go4Sz6Ba\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"uv9?8O.c,Zf_`9U%(uDR\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Enemy.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"xIoQunQltXZJB!7(AG:S\"><value name=\"IF0\"><block type=\"key_input\" id=\"/BBy|=adDD{|`p@]pXO=\"><field name=\"NAME\">t</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"@qju5%{vy$r$?(V)In%O\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"225;D]%*P+bHHfKlP1t?\"><field name=\"NUM\">4.5</field></shadow></value></block></statement><next><block type=\"move_forward\" id=\"{iR9{N49CN}%|]gJ0V|y\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"u5i1)(Y`U%5X4@JA?yYj\"><field name=\"NUM\">-0.5</field></shadow></value><next><block type=\"set_pos\" id=\"d`qbeZC~FmKK0#?LpB.q\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Avz,)yDk%{~5es@;+bNW\"><field name=\"NUM\">0</field></shadow><block type=\"math_constrain\" id=\"Yy8X=!F-78F9-JQ*%st)\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"BoM9X89Jeb;l-d?@Z_;}\"><field name=\"NUM\">50</field></shadow><block type=\"get_pos\" id=\"tf)X2k/G@ojt=a.#noWA\"><field name=\"pos\">y</field></block></value><value name=\"LOW\"><shadow type=\"math_number\" id=\"YW/SDfA9j2O,0q[5g[ZU\"><field name=\"NUM\">-200</field></shadow></value><value name=\"HIGH\"><shadow type=\"math_number\" id=\"pCY2mkGSLrR5YpKo%t4.\"><field name=\"NUM\">200</field></shadow></value></block></value></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"hdDYqymweqU!Us:*o~zk\" x=\"1636\" y=\"225\"><field name=\"NAME\">ian2</field><statement name=\"update\"><block type=\"controls_if\" id=\"Xh4k_tm@:d.1$P#G7:4]\"><value name=\"IF0\"><block type=\"collision_check\" id=\"XKy_cAEV4vD.!irTQtq*\"><field name=\"NAME\">tyu</field></block></value><statement name=\"DO0\"><block type=\"reload_game\" id=\"wsFVLvRQ};hO6!lZQ|EB\"></block></statement></block></statement></block><block type=\"class_object\" id=\"ba[_Z%s*mD^_/^2cAW?O\" x=\"826\" y=\"286\"><field name=\"NAME\">iop</field><statement name=\"start\"><block type=\"set_pos\" id=\"XcN#i#RGU{oK1a%NhV?z\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Iz)qB+H-$+9uD,G7#$%p\"><field name=\"NUM\">375</field></shadow></value><next><block type=\"set_pos\" id=\"0dh3|*r=v3O+YQQ7Tj5L\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"h-)AS[iXAjQ/7musi]ts\"><field name=\"NUM\">140</field></shadow></value></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"#t:m)T~XvI`S?sEb/:Lc\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"eULghTQx+=x-C;z=fZ.z\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"get_mouse\" id=\"s0)~h@7}NS39-QX`I|sw\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"oEWKKF9D{u;j:CV%gN/O\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\";z2hB/hCfVeSiY[3;xYJ\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"fvXc;df-9]oXSPuzK(0{\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value><next><block type=\"set_scale\" id=\"LMa5D],4Lm)]akrG_skH\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"Hnb6)ts)fUqH*Akt(#x#\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement></block></statement></block><block type=\"reload_game\" id=\"MSz7,d@u-/yz3(cP(XW!\" x=\"975\" y=\"375\"></block><block type=\"class_object\" id=\"8eUgqqwWcb?q1C*n!1p.\" x=\"-555\" y=\"495\"><field name=\"NAME\">default2</field><statement name=\"start\"><block type=\"ui_text\" id=\"F,@3ml?1L]_1(6j{|J+!\"><value name=\"TEXT\"><shadow type=\"text\" id=\"sY2{5hL-C7cA3~7hiF@H\"><field name=\"TEXT\">wertyuiop</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"2K8Rti^^b](L#`_%dHDO\"><field name=\"NUM\">190</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"b17AB/XPXc|ey.QjNSk1\"><field name=\"NUM\">230</field></shadow></value><next><block type=\"variables_set_custom\" id=\"_y;|d,)Q5hql1I%vBRAg\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"9l(sRh$a$(B_%2r~P7R=\" variabletype=\"\">yui</field><value name=\"VALUE\"><block type=\"math_number\" id=\"b[I)p{yzHZG~vw.8`4D]\"><field name=\"NUM\">45</field></block></value></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"IX7=!rZM92z0dx]Gg6Nz\"><value name=\"IF0\"><block type=\"key_input\" id=\"Y^7H0}#[N~=HeRu(xlyd\"><field name=\"NAME\">q</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_scale\" id=\"QQ|xK]G|_L!]lf8JN|2#\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"UWoi-)YxI]#VCm-v({f?\"><field name=\"NUM\">1</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"OfkYKjo(%(%:i#:B?qhZ\"><value name=\"IF0\"><block type=\"key_input\" id=\"Oq%YhEJfj)p2FJ.jSHgA\"><field name=\"NAME\">z</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_scale\" id=\"fUeN,eL{bh]2q$UI7fT}\"><value name=\"NAME\"><shadow type=\"math_number\" id=\";v9]GXt{$#@2uu=ZT.ot\"><field name=\"NUM\">-1</field></shadow></value></block></statement></block></next></block></statement></block><block type=\"class_object\" id=\"J%w9yn}s/C~,hMp%zr4-\" x=\"1245\" y=\"435\"><field name=\"NAME\">kevin2</field><statement name=\"start\"><block type=\"set_sprite\" id=\"S@%,nN5@?By0Zo~(!;%p\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"=)i2+z.x0c#{sK]8oDd:\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"#Q,?wC+JmGQHri}c3AK_\"><value name=\"IF0\"><block type=\"key_input\" id=\"N-gcR]wllDsPpIG!u!Bh\"><field name=\"NAME\">t</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"7lj_bYgJ|CEEz-K5I+3p\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"z[rk@S?eEskrbSG+v}2^\"><field name=\"NUM\">4.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"(?FH?I]*m%HxmW00wyXA\"><value name=\"IF0\"><block type=\"key_input\" id=\"c`XiO|TO?z6a55z.WK-X\"><field name=\"NAME\">f</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"EIyff_aHCfR{~KEAe#iQ\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"HZBTJnn0Vi`MF)W2x`21\"><field name=\"NUM\">-4.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"0tpMe*u^P._J|B^}]s`-\"><value name=\"IF0\"><block type=\"key_input\" id=\",*:ct/508/rs$5Iaq_ZW\"><field name=\"NAME\">g</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"mf+/%RX)~Sq1@Wu8I}=9\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"5C-O4F8@fJF3zK;y(::l\"><field name=\"NUM\">-4.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"*rUT~A_U7aUTiQV2([]g\"><value name=\"IF0\"><block type=\"key_input\" id=\"R3uslKt~nPa6DH51:l([\"><field name=\"NAME\">h</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"J[XiBy}^b83GD)u^.]1}\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"*~v@BP($Wlfl`cFf#?s~\"><field name=\"NUM\">4.5</field></shadow></value></block></statement></block></next></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"_8N1;d}%Y76jPxgtZ1,I\" x=\"705\" y=\"495\"><field name=\"NAME\">iop2</field><statement name=\"start\"><block type=\"set_pos\" id=\"(43wl7OwvJ#G$s9#-i.H\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"3Nf`;@ANG=Xm=k2Cz}-%\"><field name=\"NUM\">375</field></shadow></value><next><block type=\"set_pos\" id=\"e6`cW;8|WVvG.@0g}YTs\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"H.*r`/e7a4x9S?O.bf};\"><field name=\"NUM\">-140</field></shadow></value></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"`Uz$)os6Qs-5G{z:Oka0\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"Y*(p#JUJI2m000Qo49p2\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"get_mouse\" id=\"RSfWcL$qyJ[9J~~3svU)\"><field name=\"pos\">x</field></block></value><value name=\"B\"><block type=\"math_number\" id=\",!(W49/Zol9roF2V;jiJ\"><field name=\"NUM\">200</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"4H,qAB#{P`|WuRT/*;-6\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"wTw5Q%5%fw@|fEZ7P-o(\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value><next><block type=\"set_scale\" id=\"#P53VLyH`@d!]^n2Uvsb\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"[aM}z;V+Ie8NJS;5(U36\"><field name=\"NUM\">4</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"[7%%%v,10og#NlN}9/Gf\"><value name=\"IF0\"><block type=\"key_input\" id=\"{!v$=uC1ZOCgPB)|tzw(\"><field name=\"NAME\">y</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"^0S-|z0+|.W^*p-suD*~\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"3Kt^EFVv@HA{Sw*xb6k.\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Dungeon/crate.png</field></block></value><next><block type=\"set_scale\" id=\":U!:GD/UZW$D+a5[1cCe\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"._ZOv;*,Q@V%_::(LSRM\"><field name=\"NUM\">123</field></shadow></value></block></next></block></statement><next><block type=\"controls_if\" id=\"(!j[76LB$oO^KT-))shj\"><value name=\"IF0\"><block type=\"key_input\" id=\"QL:=V2lvKL2_exE]-A9B\"><field name=\"NAME\">t</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"V[=xWBrYO?qD_8V@AB~2\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"glzE{bz.|+!$=Zr$W3K_\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Nebula.jpg</field></block></value></block></statement></block></next></block></next></block></statement></block><block type=\"class_object\" id=\"G/ICw#c38fJLwlC6d,m:\" x=\"-285\" y=\"585\"><field name=\"NAME\">default3</field><statement name=\"start\"><block type=\"ui_text\" id=\"2H_G@+Br/Lw^2cZ?h]ap\"><value name=\"TEXT\"><shadow type=\"text\" id=\"KP-4}1e5K:`SLX1dl?%m\"><field name=\"TEXT\">fibn ri ni i rir hit it i iht it git kg kgh ghuknfgjhnhfjknkgjhkuvjgihjhukfdmlfhnkgjkmfhkgrmjkjgtrorlkhbujjfnbkm gnkbjklmfnvjkurkm nhjbtjrnhvbtk kgvnurjkvnh hn tjjjjgkrntkghigknv gkitj litj lkt gknv gjgerk rkt jkr kr fmvtrkjr rkl ,.jkr. kwfjkre k,we .fk. er.j f.e fr. lwe rw.rjklw. r.w eerwker kre. k.wrkr.wf.w kw. kw. fkw j.wle krw wkfk fw.w ffkrel. fke. jf.fke jflew. w. fkw. fkjw .lwk. klw. w.frjkw fkw rk .l.kfr e.lw lre.l.k. wwlek.wekl.e rk krlkf khkfkr gkrkr krg kt gkt </field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"UM~#t%eo9W(-!^V%,e9o\"><field name=\"NUM\">-500</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"P@={H8S|9;4k7)Hu%LX+\"><field name=\"NUM\">90</field></shadow></value></block></statement></block><block type=\"class_object\" id=\"]{PT:oNLld?txLMs%=o}\" x=\"375\" y=\"615\"><field name=\"NAME\">default</field><statement name=\"start\"><block type=\"set_sprite\" id=\"^]_FrqM(QRc%2Wu!P:7e\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"~mZrSb@G5[{JKf+Jg@-)\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value><next><block type=\"variables_set_custom\" id=\"/6q]3qL^/E{wQ!F-f2cB\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Nn/4^n,$@x7HzDi(~N_w\" variabletype=\"\">holiday</field><value name=\"VALUE\"><block type=\"math_number\" id=\"F^)fcaPr.nd8Cj*9m;E4\"><field name=\"NUM\">10</field></block></value><next><block type=\"variables_set_custom\" id=\"2,fqk@]f}G5E2Z50M68B\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bAJB[|_]~sIlJJDqY8F^\" variabletype=\"\">sunday</field><value name=\"VALUE\"><block type=\"text\" id=\"ioz)/mtca6W/ik^0UjkE\"><field name=\"TEXT\">happy</field></block></value><next><block type=\"variables_set_custom\" id=\"cl7G_{A?CNT7@BSsdjw?\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Q!EOo3I^ldymkau:b$Jk\" variabletype=\"\">cake</field><value name=\"VALUE\"><block type=\"text\" id=\"-,11;]`:W9o|3=[JT#M$\"><field name=\"TEXT\">yummy</field></block></value><next><block type=\"variables_set_custom\" id=\"0`Oj.fB:*UX_{ZZ8%/U?\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"tR5Z3FA;bL5NPN],%u,U\" variabletype=\"\">monday</field><value name=\"VALUE\"><block type=\"text\" id=\"z$2v=;*bNkS%Mam_5sA}\"><field name=\"TEXT\">work</field></block></value></block></next></block></next></block></next></block></next></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"H9=hA%ji1e~{BR:QR1*8\"><value name=\"IF0\"><block type=\"key_input\" id=\"Q/S@ONQaRLVF2tbK^l%9\"><field name=\"NAME\">w</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"move_forward\" id=\"`t.LV.kdLL-RiFlRcq]w\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"5m1(x7^dLi;D4mIOW*Dl\"><field name=\"NUM\">10</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"wJ(g9i5avTK+;Odx^pW-\"><value name=\"IF0\"><block type=\"key_input\" id=\"2%d.~_i;Z@m0EWhrIg=:\"><field name=\"NAME\">s</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_rot\" id=\"`C0uTt/+H+4Z6,b*{bzd\"><value name=\"NAME\"><shadow type=\"math_number\" id=\"m?$#7^vSPQt:O-Ng$8?K\"><field name=\"NUM\">-90</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"C^oFJ6E967%HgSxja#R5\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"$`uJhz+d0hiwU~{fDN]t\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"=?5PbY!`mDH%;eYJrq@9\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Nn/4^n,$@x7HzDi(~N_w\" variabletype=\"\">holiday</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"RsuH3~sK6DJra2@|[yoz\"><field name=\"NUM\">9</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"SRV3J{?yD+m*`?X!d=OH\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"%w.;vDrw=1+H1Uk5!~Xg\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/ColumnSprite.png</field></block></value><next><block type=\"variables_change_custom\" id=\"GY|lY04+I(dyPkZWOyC3\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Nn/4^n,$@x7HzDi(~N_w\" variabletype=\"\">holiday</field><value name=\"VALUE\"><block type=\"math_number\" id=\"lXO~y;e@=aih~1O7TL,Z\"><field name=\"NUM\">1</field></block></value></block></next></block></statement><next><block type=\"controls_if\" id=\"a}PS/lO`JiKC%M@SDbI0\"><value name=\"IF0\"><block type=\"mouse_input\" id=\"rt%ot-QI}|tYLXRi4s]H\"><field name=\"MOUSE\">m_left</field><field name=\"PRESSED\">key_was_pressed</field></block></value><statement name=\"DO0\"><block type=\"variables_change_custom\" id=\"]~Q4UOz`Jb==|T;*;0`+\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Nn/4^n,$@x7HzDi(~N_w\" variabletype=\"\">holiday</field><value name=\"VALUE\"><block type=\"math_number\" id=\"eFleUHdqE!Ir;$GmW$gT\"><field name=\"NUM\">-1</field></block></value></block></statement><next><block type=\"controls_if\" id=\"N=Z{Yig4*tfKf{2ofp;H\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"@QxH@O$2Nc?gmK-$o#f_\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"gKfXzA[S{O,B-1x9@*Bj\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"bAJB[|_]~sIlJJDqY8F^\" variabletype=\"\">sunday</field></block></value><value name=\"B\"><block type=\"text\" id=\"L%!dWB$x%+w0D:DNwi^M\"><field name=\"TEXT\">happy</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"f.=/iD9,Wf$lN|RNcMT@\"><value name=\"TEXT\"><shadow type=\"text\" id=\"GbgXlIw.1eIbt*bwud@Y\"><field name=\"TEXT\">happy</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"@+pk7EJ)0$kR07:2gzPY\"><field name=\"NUM\">0</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"~}ox;j35O{iHIy.]|TE*\"><field name=\"NUM\">0</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"hK[VxvUE7?R4C6X,:q9O\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"IZB9}Wn$Kx0F6fX.HYS`\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"+Ab7kfF-#Kqdx{eI|]0;\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\"Q!EOo3I^ldymkau:b$Jk\" variabletype=\"\">cake</field></block></value><value name=\"B\"><block type=\"text\" id=\"9t4-~j-fsg1o6i8;/hqz\"><field name=\"TEXT\">yummy</field></block></value></block></value><statement name=\"DO0\"><block type=\"ui_text\" id=\"yjNXew.iShE]R8IK4k0g\"><value name=\"TEXT\"><shadow type=\"text\" id=\"2Hkn-Nz,l3.~WvD`x[mx\"><field name=\"TEXT\">yummy</field></shadow></value><value name=\"x\"><shadow type=\"math_number\" id=\"OtFDXHRXzb/pizA;9B8N\"><field name=\"NUM\">-110</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\"7uy3X,:zO*qoBy9sk^C8\"><field name=\"NUM\">0</field></shadow></value></block></statement><next><block type=\"set_pos\" id=\"uD]9PQ%=GMyd6+^Lt`6w\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Avz,)yDk%{~5es@;+bNW\"><field name=\"NUM\">0</field></shadow><block type=\"math_constrain\" id=\"aJV?h76^c7+,8~Hw~XFX\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"BoM9X89Jeb;l-d?@Z_;}\"><field name=\"NUM\">50</field></shadow><block type=\"get_pos\" id=\"w{IbJT}xVC]_IBs-/KVf\"><field name=\"pos\">x</field></block></value><value name=\"LOW\"><shadow type=\"math_number\" id=\"U=c$rgR3WkBIVjakb$U7\"><field name=\"NUM\">-350</field></shadow></value><value name=\"HIGH\"><shadow type=\"math_number\" id=\"IN@lAUW{$K`r2v#p`WCl\"><field name=\"NUM\">350</field></shadow></value></block></value><next><block type=\"set_pos\" id=\"@/L+vP09Luzhd^e#?=/Y\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"Avz,)yDk%{~5es@;+bNW\"><field name=\"NUM\">0</field></shadow><block type=\"math_constrain\" id=\"h*bVeF.sm7/ZI#FxgcB7\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"BoM9X89Jeb;l-d?@Z_;}\"><field name=\"NUM\">50</field></shadow><block type=\"get_pos\" id=\")N(@OECG7m%xy]DhWeSD\"><field name=\"pos\">y</field></block></value><value name=\"LOW\"><shadow type=\"math_number\" id=\"6S*Z~J/zFR0K+]M5Wte$\"><field name=\"NUM\">-225</field></shadow></value><value name=\"HIGH\"><shadow type=\"math_number\" id=\"P^d}ARu/W1AinN+FQ2i^\"><field name=\"NUM\">225</field></shadow></value></block></value><next><block type=\"controls_if\" id=\"S=ZaDl{#+,O@~C!TkPdX\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"8C|3%-mte^1k%ct;#@a@\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"u!J/K.H{:ua[qnM~xk3Q\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"Ir!wlWv_#Eh75eQpr?iD\"><field name=\"TEXT\">sunday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"S)f?FS;Le$:/L4W)H1%P\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"A9v]fVmsBdv{Remlc01G\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\",6AooTkud,qe`gjA7?C{\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\")!`(1!$3^2Uy4kvekZXM\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"$.`BQxNYyGWvOlFsP1_E\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"Mv7f~iQ4+_?_v.]nD${*\"><field name=\"TEXT\">monday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"Z-y4r-[Q~d8}E9dg@=q0\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"n?Z(ceGpbsKn$POPx]3O\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\"V2rQ,HWB0Rc%tr`%6#|]\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"x|_%|bQ*4=,Y/`a#=w#P\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"boo:4d0*D7@/9sL[(/!M\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"h3m=30){4jIqB7XZ0j+H\"><field name=\"TEXT\">tuesday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"~St$lkn-GoA;uk)KUQn*\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"{^=6XpBp5Nca},Nsq3^x\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\";q^-^l-in#,2bB`_eFQR\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"-Mx/h?+28yw2l{+6UY6(\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"nNRc^/NUsn{_9,B(9t?p\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"WZLQJ.:?rP(TpVbhm/5z\"><field name=\"TEXT\">wednesday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"jfU.!)U5egn5UNFF:~t.\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"?^yfm~~xnqrYQ:Zx.Fo6\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\"lF-$m/Km:*KNv?Pc1G}?\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"-Xz%KLHO+r8N/b|S,8=t\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"{H$$HiI(NK!2;VkUXU1D\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"Y@;:mRC3w25`Ti|$Or}h\"><field name=\"TEXT\">thursday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"ZZ+obTE+xH~3@p#U4Fy5\" disabled=\"true\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"0;VLB,XN7IdP%F2#!np*\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\"E:`os,*|Ew]U:!q!SkqH\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"~WQj5U3omu2p}7T?+F`5\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"IYw~]eDC)9p!T=;)ouSV\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"GC}|P.HWy1rGqN.[%e!l\"><field name=\"TEXT\">friday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"P[t|a%z[phJVPoQ%4rk6\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"O=0/p0l%c_O,DLjsH_-u\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></block></statement><next><block type=\"controls_if\" id=\"bT9;Z%vSUWFgR=MfOl~=\" disabled=\"true\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"73+5pym%rnGULB#N-_}G\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get_custom\" id=\"1.xZ-H+1ZqCK@6u+Wmhu\"><field name=\"TYPE\">Global.</field><field name=\"VAR\" id=\":==cGn2F`)rB3~x2pobB\" variabletype=\"\">day</field></block></value><value name=\"B\"><block type=\"text\" id=\"W6:3Vwa2{Eqb{;X7n$5s\"><field name=\"TEXT\">saturday</field></block></value></block></value><statement name=\"DO0\"><block type=\"set_sprite\" id=\"O8RL_m6X?x[plpE}O4tt\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"_@E[6tC.Ny35.m{Q{!E2\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Space/Player.png</field></block></value></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></statement></block><block type=\"class_object\" id=\"K^tbmdn+k6{xt*j0CfV_\" x=\"1006\" y=\"735\"><field name=\"NAME\">kevin</field><statement name=\"start\"><block type=\"set_sprite\" id=\"R86LTk661Id2WcCNIMgk\"><value name=\"SPRITE\"><block type=\"sprite\" id=\"5?bfp:vI~nQsDeG4|tT=\"><field name=\"SPRITE\">https://s3-us-west-1.amazonaws.com/media.pixelpad.io/Blockly_Assets/Flappy/BirdHero.png</field></block></value></block></statement><statement name=\"update\"><block type=\"controls_if\" id=\"=8yfb[EnV9./.@y]:R0/\"><value name=\"IF0\"><block type=\"key_input\" id=\"=:!?`/a{}Bmp0J(00pRo\"><field name=\"NAME\">i</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"btFle3UVm;lxTSht7z?.\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"a)]m$K{#M/5g2@Sgd]ER\"><field name=\"NUM\">2.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"5lV#-Q83F/[bRLt-xReC\"><value name=\"IF0\"><block type=\"key_input\" id=\"$;PWqZ$EDT90Vn3]i(=6\"><field name=\"NAME\">j</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"#$cSe)J|Uo1NNlD+jaRx\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"M%@32Jn67B4a~hiuX#f#\"><field name=\"NUM\">-2.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"L:iV1UEZF~8orSiY1?fG\"><value name=\"IF0\"><block type=\"key_input\" id=\"4mZ[.c5Gg4vkDvR8/j`B\"><field name=\"NAME\">k</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"Q9#PEZ+|ls}i_G0G}A!$\"><field name=\"position\">y</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"P8K(xkK:UQZTSF;Vrp($\"><field name=\"NUM\">-2.5</field></shadow></value></block></statement><next><block type=\"controls_if\" id=\"gdjHg_+B;_aT[!8k-Ht?\"><value name=\"IF0\"><block type=\"key_input\" id=\"=b04c{{b|@c.hv5}12o%\"><field name=\"NAME\">l</field><field name=\"PRESSED\">key_is_pressed</field></block></value><statement name=\"DO0\"><block type=\"change_pos\" id=\"6JTRsdtbj3%gAu`DL)v;\"><field name=\"position\">x</field><value name=\"NAME\"><shadow type=\"math_number\" id=\"4ID.{+=J:Zx=}j!Q6sI1\"><field name=\"NUM\">2.5</field></shadow></value></block></statement></block></next></block></next></block></next></block></statement></block></xml>"}