diff --git a/Palette/env/engine.py b/Palette/env/engine.py index 87cc2c7..2e618c3 100644 --- a/Palette/env/engine.py +++ b/Palette/env/engine.py @@ -363,7 +363,7 @@ class SeaEnvEngine(object): else: self.ship_body[ship_id].velocity = 0.0 * driving_direction - + if self.draw_screen: # self.screen.fill(THECOLORS["black"]) self.screen.blit(self.ss_img, (0, 0)) @@ -377,7 +377,6 @@ class SeaEnvEngine(object): self.field_size[1] * j # the size of your rect s = pygame.Surface(self.field_size) - # alpha level s.set_alpha(int(96 * self.fields[i, j])) # this fills the entire surface color = COLORS[int(self._splited_areas[i, j] - 1)]