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.
 
 

35 lines
604 B

from miniworldmaker import *
board = PhysicsBoard(400,400)
for i in range(9):
l = Line((i*40,20+i*10),((i+1)*40,20+i*10))
l.thickness = i
for i in range(9):
l = Line((i*40,80+i*10),((i+1)*40,120+i*10))
l.thickness = i
for i in range(9):
l = Line((i*40,160+i*10),((i+1)*40,160+i*10))
l.thickness = i
l.direction = 135
for i in range(18):
l = Line((300,300),(350,350))
l.direction = i * 20
l.border_color = (i * 10, i *10, i* 10)
l =Line((100,300), (150,300))
@l.register
def act(self):
l.direction+=1
board.debug = True
board.run()