def loadOpeningTitle(): global boatscene boatscene.loadTexQuads(1) globals_oa.TITLE_QUAD_TEXTURE = viz.addTexture(globals_oa.OPENING_TITLE_TEXTURE_PATH) globals_oa.CANVAS_QUAD.texture(globals_oa.TITLE_QUAD_TEXTURE) globals_oa.CANVAS_QUAD.visible(True) globals_oa.CANVAS_QUAD.emissive(viz.BLACK) yield viztask.waitTime(globals_oa.TOTAL_FADING_DRAMA_TIME - 1.2) removeOpeningTitle = globals_oa.TITLE_QUAD_TEXTURE.remove() globals_oa.CANVAS_QUAD.visible(False)
def loadBoatScene2(): viz.MainWindow.setScene(viz.Scene2) boatscene.initBoat2() boatscene.initIschia2() audiocache.loadAudioAssets() boatscene.loadTexQuads(2)