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.
 
 

22 lines
378 B

from miniworldmaker import *
board = Board(400, 400)
board.add_background((100, 0, 0, 255))
a = Token()
a.position = (0,0)
print(a.topleft)
print(a.position)
b = Token()
b.topleft = (100,100)
print(b.topleft)
print(b.position)
c = Token()
c.position = (200,200)
print(c.topleft)
print(c.position)
d = Token()
d.center = (250,250)
print(d.topleft)
print(d.position)
board.run()