Update asset loading to include transparent color and adjust white flash timing; enhance nuclear bomb scoring and gas unit die method

This commit is contained in:
Matteo Benedetto
2025-08-21 19:00:32 +02:00
parent 59258258c4
commit c004edef8f
7 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class Graphics():
self.assets = {}
for file in os.listdir("assets/Rat"):
if file.endswith(".png"):
self.assets[file[:-4]] = self.render_engine.load_image(f"Rat/{file}")
self.assets[file[:-4]] = self.render_engine.load_image(f"Rat/{file}", transparent_color=(128, 128, 128))