def __init__(self, *args, **kwargs): """ Draw a dummy actor for testing """ super(Dummy, self).__init__() self.batch = Batch() fos.lib.pyglet.text.Label( 'Hello, world', font_name='Times New Roman', font_size=36, dpi=250, # x=window.width//2, y=window.height//2, anchor_x='center', anchor_y='center', batch=self.batch) fos.lib.pyglet.text.Label( 'Hi', font_name='Times New Roman', font_size=26, dpi=100, # x=window.width//2, y=window.height//2, anchor_x='center', anchor_y='center', batch=self.batch)