def ceiling(x, y, scale):
    t.tracer(False)
    position = [
        -600, -550, -500, -450, -400, -350, -300, -250, -200, -150, -100, -50,
        0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550
    ]
    for i in range(len(position)):
        bsl.star(x + position[i] * scale, y + 225 * scale, .5 * scale, 'True',
                 'blue')
Esempio n. 2
0
def outsidewindow( x, y, scale):
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+150*scale, y-75*scale, 250*scale, 100*scale)
	t.end_fill()
	t.begin_fill()
	t.color('Light Blue')
	bsl.buildingblock(x+150*scale, y+25*scale, 250*scale, 150*scale)
	t.end_fill()
	bsl.star(x+350*scale, y+125*scale, .25*scale, 'True', 'orange')
def outsidewindow(x, y, scale):
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 150 * scale, y - 75 * scale, 250 * scale,
                      100 * scale)
    t.end_fill()
    t.begin_fill()
    t.color('Light Blue')
    bsl.buildingblock(x + 150 * scale, y + 25 * scale, 250 * scale,
                      150 * scale)
    t.end_fill()
    bsl.star(x + 350 * scale, y + 125 * scale, .25 * scale, 'True', 'orange')
def invasion(x, y, scale):
    t.begin_fill()
    t.color('Purple')
    bsl.buildingblock(x + 150 * scale, y - 75 * scale, 250 * scale,
                      100 * scale)
    t.end_fill()
    t.begin_fill()
    t.color('Red')
    bsl.buildingblock(x + 150 * scale, y + 25 * scale, 250 * scale,
                      150 * scale)
    t.end_fill()
    bsl.star(x + 350 * scale, y + 125 * scale, .25 * scale, 'True', 'Black')
    bsl.goto(200 * scale, 100 * scale)
    t.begin_fill()
    t.color("Yellow")
    t.circle(25)
    t.end_fill()
    bsl.goto(200 * scale, 110 * scale)
    t.begin_fill()
    t.color("White")
    t.circle(15)
    t.end_fill()
    bsl.goto(200 * scale, 120 * scale)
    t.begin_fill()
    t.color("Orange")
    t.circle(5)
    t.end_fill()
    t.setheading(-30)
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 200 * scale, y + 95 * scale, 20 * scale, 5 * scale)
    t.end_fill()
    t.setheading(0)
    t.setheading(-30)
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 225 * scale, y + 75 * scale, 20 * scale, 5 * scale)
    t.end_fill()
    t.setheading(0)
    t.setheading(-30)
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 230 * scale, y + 110 * scale, 20 * scale, 5 * scale)
    t.end_fill()
    t.setheading(0)
    t.setheading(-30)
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 250 * scale, y + 100 * scale, 20 * scale, 5 * scale)
    t.end_fill()
    t.setheading(0)
def invasion( x, y, scale ):
	t.begin_fill()
	t.color('Purple')
	bsl.buildingblock(x+150*scale, y-75*scale, 250*scale, 100*scale)
	t.end_fill()
	t.begin_fill()
	t.color('Red')
	bsl.buildingblock(x+150*scale, y+25*scale, 250*scale, 150*scale)
	t.end_fill()
	bsl.star(x+350*scale, y+125*scale, .25*scale, 'True', 'Black')
	bsl.goto(200*scale, 100*scale)
	t.begin_fill()
	t.color("Yellow")
	t.circle(25)
	t.end_fill()
	bsl.goto(200*scale, 110*scale)
	t.begin_fill()
	t.color("White")
	t.circle(15)
	t.end_fill()
	bsl.goto(200*scale, 120*scale)
	t.begin_fill()
	t.color("Orange")
	t.circle(5)
	t.end_fill()
	t.setheading(-30)
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+200*scale, y+95*scale, 20*scale, 5*scale)
	t.end_fill()
	t.setheading(0)
	t.setheading(-30)
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+225*scale, y+75*scale, 20*scale, 5*scale)
	t.end_fill()
	t.setheading(0)
	t.setheading(-30)
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+230*scale, y+110*scale, 20*scale, 5*scale)
	t.end_fill()
	t.setheading(0)
	t.setheading(-30)
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+250*scale, y+100*scale, 20*scale, 5*scale)
	t.end_fill()
	t.setheading(0)
Esempio n. 6
0
def outsidewindowmorning( x, y, scale):
	t.begin_fill()
	t.color('Green')
	bsl.buildingblock(x+150*scale, y-75*scale, 250*scale, 100*scale)
	t.end_fill()
	t.begin_fill()
	t.color('Light Blue')
	bsl.buildingblock(x+150*scale, y+25*scale, 250*scale, 150*scale)
	t.end_fill()
	bsl.star(x+250*scale, y+70*scale, .6*scale, 'True', 'Red')
	bsl.cloud(x+175*scale, y+125*scale, 0.25*scale, 'white')
	bsl.cloud(x+200*scale, y+75*scale, 0.3*scale, 'white')
	bsl.cloud(x+350*scale, y+120*scale, 0.3*scale, 'white')
	bsl.cloud(x+275*scale, y+100*scale, 0.4*scale, 'white')
	bsl.cloud(x+350*scale, y+50*scale, 0.25*scale, 'white')
def outsidewindowmorning(x, y, scale):
    t.begin_fill()
    t.color('Green')
    bsl.buildingblock(x + 150 * scale, y - 75 * scale, 250 * scale,
                      100 * scale)
    t.end_fill()
    t.begin_fill()
    t.color('Light Blue')
    bsl.buildingblock(x + 150 * scale, y + 25 * scale, 250 * scale,
                      150 * scale)
    t.end_fill()
    bsl.star(x + 250 * scale, y + 70 * scale, .6 * scale, 'True', 'Red')
    bsl.cloud(x + 175 * scale, y + 125 * scale, 0.25 * scale, 'white')
    bsl.cloud(x + 200 * scale, y + 75 * scale, 0.3 * scale, 'white')
    bsl.cloud(x + 350 * scale, y + 120 * scale, 0.3 * scale, 'white')
    bsl.cloud(x + 275 * scale, y + 100 * scale, 0.4 * scale, 'white')
    bsl.cloud(x + 350 * scale, y + 50 * scale, 0.25 * scale, 'white')
Esempio n. 8
0
def ceiling( x, y, scale ):
	t.tracer(False)
	position = [-600, -550, -500, -450, -400,-350,-300, -250, -200, -150, -100, -50, 0,
				 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550] 
	for i in range(len(position)):
		bsl.star(x+position[i]*scale, y+225*scale, .5*scale, 'True', 'blue')
Esempio n. 9
0
def outsidewindownight( x, y, scale):
	t.begin_fill()
	t.color('Dark Blue')
	bsl.buildingblock(x+150*scale, y-75*scale, 250*scale, 100*scale)
	t.end_fill()
	t.begin_fill()
	t.color('Black')
	bsl.buildingblock(x+150*scale, y+25*scale, 250*scale, 150*scale)
	t.end_fill()
	bsl.star(x+350*scale, y+125*scale, .10*scale, 'True', 'yellow')
	bsl.star(x+250*scale, y+75*scale, .10*scale, 'True', 'yellow')
	bsl.star(x+275*scale, y+100*scale, .10*scale, 'True', 'yellow')
	bsl.star(x+300*scale, y+125*scale, .10*scale, 'True', 'yellow')
	bsl.star(x+250*scale, y+125*scale, .10*scale, 'True', 'white')
	bsl.star(x+350*scale, y+65*scale, .10*scale, 'True', 'white')
	bsl.star(x+300*scale, y+75*scale, .10*scale, 'True', 'yellow')
	t.begin_fill()
	t.color('Gray')
	bsl.goto(x+200*scale, y+75*scale)
	t.circle(40)
	t.end_fill()
Esempio n. 10
0
def outsidewindownight(x, y, scale):
    t.begin_fill()
    t.color('Dark Blue')
    bsl.buildingblock(x + 150 * scale, y - 75 * scale, 250 * scale,
                      100 * scale)
    t.end_fill()
    t.begin_fill()
    t.color('Black')
    bsl.buildingblock(x + 150 * scale, y + 25 * scale, 250 * scale,
                      150 * scale)
    t.end_fill()
    bsl.star(x + 350 * scale, y + 125 * scale, .10 * scale, 'True', 'yellow')
    bsl.star(x + 250 * scale, y + 75 * scale, .10 * scale, 'True', 'yellow')
    bsl.star(x + 275 * scale, y + 100 * scale, .10 * scale, 'True', 'yellow')
    bsl.star(x + 300 * scale, y + 125 * scale, .10 * scale, 'True', 'yellow')
    bsl.star(x + 250 * scale, y + 125 * scale, .10 * scale, 'True', 'white')
    bsl.star(x + 350 * scale, y + 65 * scale, .10 * scale, 'True', 'white')
    bsl.star(x + 300 * scale, y + 75 * scale, .10 * scale, 'True', 'yellow')
    t.begin_fill()
    t.color('Gray')
    bsl.goto(x + 200 * scale, y + 75 * scale)
    t.circle(40)
    t.end_fill()