This commit is contained in:
Михаил Капелько
2024-06-30 17:00:14 +03:00
parent 4c68ea861c
commit 7496b9676d
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ def desktop_createSelectedTiles(p):
p.sprites.append(tile) p.sprites.append(tile)
tile.guid = id tile.guid = id
tile.texture = p.textures[2] tile.texture = p.textures[2 + id]
# Position. # Position.
tile.left = pos[0] tile.left = pos[0]
tile.top = pos[1] tile.top = pos[1]

View File

@@ -104,8 +104,8 @@ ctrl.set("playfieldSize", 2)
ctrl.set("cellSize", 25) ctrl.set("cellSize", 25)
ctrl.set("deselectMismatchedTilesDelay", 500) ctrl.set("deselectMismatchedTilesDelay", 500)
ctrl.set("hideMatchingTilesDelay", 500) ctrl.set("hideMatchingTilesDelay", 500)
ctrl.set("tileImage", "res/tiles.png") ctrl.set("tileImage", "res/harmful-tiles.png")
ctrl.set("tileImageCount", 3) ctrl.set("tileImageCount", 8)
ctrl.set("tileImageHeight", 100) ctrl.set("tileImageHeight", 100)
ctrl.set("tileImageWidth", 75) ctrl.set("tileImageWidth", 75)
ctrl.set("windowWidth", 900) ctrl.set("windowWidth", 900)