Skip to content

Commit

Permalink
Move cosmos backgrounds a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaythebusinessgoose committed Jan 12, 2025
1 parent 74251e3 commit eba3077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modlunky2/ui/levels/shared/level_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ def draw_background(self, theme, subtheme):
for x in range(0, 1 + int(math.ceil(self.width / 10 / 4))):
for y in range(0, 1 + int(math.ceil(self.height / 8 / 3))):
self.create_image(
x * self.zoom_level * 10 * 4 - (y * self.zoom_level * 8),
y * self.zoom_level * 8 * 3 - (x * self.zoom_level * 8 * 1.5),
x * self.zoom_level * 10 * 4 - (((y ^ 8) * 8) % 30) * self.zoom_level,
y * self.zoom_level * 8 * 3,
image=cosmos_bg,
anchor="nw",
)
Expand Down

0 comments on commit eba3077

Please sign in to comment.