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.
 
 

17 lines
296 B

from miniworldmaker import *
board = TiledBoard(10,10)
marker = None
@board.register
def on_mouse_motion(self, mouse_pos):
global marker
print(mouse_pos)
if marker:
marker.remove()
marker = Token(mouse_pos)
marker.add_costume((100,100,0,100))
board.run()