#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( TestLayer , self ) . __init__ ( ) #NEWLINE# ( x , y ) = director . get_window_size ( ) #NEWLINE# self . sprite = Sprite ( 'grossini.png' , ( ( x // 2 ) , ( y // 2 ) ) ) #NEWLINE# self . add ( self . sprite , name = 'sprite' ) #NEWLINE# self . sprite . do ( MoveBy ( ( ( x // 2 ) , ( self // 2 ) ) , 6 ) )