improve performance by using arcade Sprites instead of buttons, add win check and display winning, small fixes and improvements

This commit is contained in:
2025-11-08 15:48:24 +01:00
parent 96ebdef4e3
commit 5973d1143f
4 changed files with 66 additions and 25 deletions

View File

@@ -39,6 +39,6 @@ TEXTURE_MAP = {
("power_source", "cross", True): arcade.load_texture("assets/graphics/power_source.png"),
("house", "cross", False): button_texture,
("house", "cross", True): button_texture,
("house", "cross", True): arcade.load_texture("assets/graphics/powered_lines/cross/cross.png"),
("house", "cross", False): arcade.load_texture("assets/graphics/unpowered_lines/cross/cross.png"),
}