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:
+1
-1
@@ -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))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user