示例#1
0
def init():
	global t
	t = 0
	window.camera.X0 = 0
	window.camera.R = window.sy / 200
	window.camera.y0 = state.R - 300 / 16
	sound.playtitlemusic()
	background.wash()
示例#2
0
def init():
    global t
    t = 0
    window.camera.X0 = 0
    window.camera.R = window.sy / 200
    window.camera.y0 = state.R - 300 / 16
    sound.playtitlemusic()
    background.wash()
示例#3
0
def init():
    global t, Rfactor
    t = 0

    dy = y0 - window.camera.y0
    dX = window.camera.y0 / y0
    for ship in state.ships:
        ship.X *= dX
        ship.y += dy
    for effect in state.effects:
        effect.X *= dX
        effect.y += dy
    window.camera.y0 = y0
    window.camera.X0 = 0
    sound.playtitlemusic()
    Rfactor = window.camera.R / window.sy
示例#4
0
def init():
	global t, Rfactor
	t = 0

	dy = y0 - window.camera.y0
	dX = window.camera.y0 / y0
	for ship in state.ships:
		ship.X *= dX
		ship.y += dy
	for effect in state.effects:
		effect.X *= dX
		effect.y += dy
	window.camera.y0 = y0
	window.camera.X0 = 0
	sound.playtitlemusic()
	Rfactor = window.camera.R / window.sy