//-------------------------------------------------------------- //scene notifications // reset our scene when we appear void JiveScreen::sceneWillAppear( ofxScene * fromScreen ) { ofSoundStopAll(); ofSoundSetVolume(0.75); prevPlayerPos = startPlayerPos_R1; player.play(); }
void SceneGalaxy::reset(){ for(int i=0;i<stars.size();i++){ delete stars[i]; } stars.clear(); ofSoundStopAll(); }