Tests examples for the miniworldmaker engine https://www.miniworldmaker.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
402 B

from miniworldmaker import *
class MyBoard(PixelBoard):
def on_setup(self):
self.add_background((0,0,0,255))
def act(self):
Circle(self.get_mouse_position(), 80)
def on_mouse_left(self, mouse_pos):
self.color = (200, 100, 100, 50)
def on_mouse_right(self, mouse_pos):
self.color = (255, 255, 255, 50)
my_board = MyBoard(800, 600)
my_board.run()