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.
 
 

11 lines
249 B

from miniworldmaker import *
board = Board((100,60))
@board.register
def on_setup(self):
self.add_background((255,0,0))
print(self.get_color_from_pixel((5,5)))
#assert(self.get_color_from_pixel((5,5)) == (255, 0, 0, 255))
board.run()