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
430 B

from miniworldmaker import *
class MyBoard(TiledBoard):
def on_setup(self):
self.columns = 5
self.rows = 5
self.tile_size = 40
self.add_background("images/soccer_green.jpg")
self.border_color = (0,0,0,255)
token = Token()
token.position = (3,4)
token.border = 2
token.add_costume("images/player.png")
board = MyBoard(8, 6)
board.run()