#NEWLINE# def main( ) : #NEWLINE# #INDENT# director . init ( resizable = True ) #NEWLINE# scene1 = cocos . scene . Scene ( ) #NEWLINE# scene2 = cocos . scene . Scene ( ) #NEWLINE# colorl = ColorLayer ( 32 , 32 , 255 , 255 ) #NEWLINE# sprite = Sprite ( 'grossini.png' , ( 320 , 240 ) ) #NEWLINE# colorl . add ( sprite ) #NEWLINE# scene1 . add ( BackgroundLayer ( ) , z = 0 ) #NEWLINE# scene2 . add ( colorl , z = 0 ) #NEWLINE# director . run ( CornerMoveTransition ( sprite , 2 , scene2 ) )