Enhance blood stain mechanics: add dynamic blood surface generation and integrate blood stains into game rendering
This commit is contained in:
@@ -50,6 +50,8 @@ class MiceMaze(
|
||||
return configs
|
||||
|
||||
def start_game(self):
|
||||
self.blood_stains = {}
|
||||
self.background_texture = None
|
||||
for _ in range(5):
|
||||
self.spawn_rat()
|
||||
|
||||
@@ -91,7 +93,7 @@ class MiceMaze(
|
||||
self.render_engine.dialog("Game Over: Mice are too many!", image=self.assets["BMP_WEWIN"])
|
||||
else:
|
||||
self.render_engine.dialog(f"You Win! Points: {self.points}", image=self.assets["BMP_WEWIN"], scores=self.read_score())
|
||||
|
||||
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user