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.
 
 

27 lines
547 B

from miniworldmaker import *
board = Board(400, 400)
board.rows = 100
board.columns = 100
board.add_background((0,255,0,255))
print("board 1 was created")
token = Token((10,10))
board.console = Console()
board.console.background_color = (200,0,255)
board.add_container(board.console, "bottom", size = 200)
board.toolbar = Toolbar()
board.toolbar.background_color = (100,0,255)
board.add_container(board.toolbar, "right", size = 200)
@board.register
def act(self):
if board.frame == 60:
pass
board.run()