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()
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