A nicer way to change between scenes, is to decorate the new scene with a Transition Scene.
Technically, a transition scene is an scene that performs a transition effect before setting control to the new scene.
And visually, a transition scene is like the transitions you see using any presentation software like OpenOffice Impress, Apple's KeyNote or PowerPoint.
Example:
# import all the transitions from cocos.scenes import * # using director replace # using the Fade-Top-Right Transition that lasts 2 seconds director.replace( FadeTRTransition( gameover_scene, duration=2 ) ) # or, using 'push' with the Flip-X transition that lasts 1 second. director.push( FlipX3DTransition( gameover_scene, duration=1 ) )