Skip to content

Commit

Permalink
fix(sprite): reposition rope tiles in atlas for padding (#1041)
Browse files Browse the repository at this point in the history
Fixes #1014 (for now).

It sounds like a proper fix entails significant work; but to fix the
immediate issue we can move the rope tiles away from any others so that
those adjacent to them are blank.

## Before

<img width="256" alt="before-asset"
src="https://github.com/user-attachments/assets/41e8ffb8-4034-492b-9f17-ce182656679b">
<img width="256" alt="before-game"
src="https://github.com/user-attachments/assets/e30bf931-ca2a-46a7-86b8-c2e6971e4155">

## After

<img width="256" alt="after-asset"
src="https://github.com/user-attachments/assets/86342a5c-cab9-4caf-948b-ce01f68393b0">
<img width="256" alt="after-game"
src="https://github.com/user-attachments/assets/df8c7c46-8a4d-4828-8370-fad89c108bdb">
  • Loading branch information
nelson137 authored Nov 10, 2024
1 parent a0c80df commit 62fb20c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 61 deletions.
52 changes: 26 additions & 26 deletions assets/map/levels/level_3.map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1171,67 +1171,67 @@ layers:
- pos:
- 7
- 9
idx: 12
idx: 2
collision: Empty
- pos:
- 8
- 9
idx: 13
idx: 3
collision: Empty
- pos:
- 9
- 9
idx: 14
idx: 4
collision: Empty
- pos:
- 17
- 9
idx: 12
idx: 2
collision: Empty
- pos:
- 18
- 9
idx: 13
idx: 3
collision: Empty
- pos:
- 19
- 9
idx: 14
idx: 4
collision: Empty
- pos:
- 7
- 10
idx: 12
idx: 2
collision: Empty
- pos:
- 8
- 10
idx: 13
idx: 3
collision: Empty
- pos:
- 17
- 10
idx: 12
idx: 2
collision: Empty
- pos:
- 19
- 10
idx: 14
idx: 4
collision: Empty
- pos:
- 7
- 11
idx: 12
idx: 2
collision: Empty
- pos:
- 8
- 11
idx: 13
idx: 3
collision: Empty
- pos:
- 9
- 11
idx: 14
idx: 4
collision: Empty
- pos:
- 12
Expand All @@ -1251,67 +1251,67 @@ layers:
- pos:
- 17
- 11
idx: 12
idx: 2
collision: Empty
- pos:
- 18
- 11
idx: 13
idx: 3
collision: Empty
- pos:
- 19
- 11
idx: 14
idx: 4
collision: Empty
- pos:
- 7
- 12
idx: 12
idx: 2
collision: Empty
- pos:
- 8
- 12
idx: 13
idx: 3
collision: Empty
- pos:
- 9
- 12
idx: 14
idx: 4
collision: Empty
- pos:
- 18
- 12
idx: 13
idx: 3
collision: Empty
- pos:
- 19
- 12
idx: 14
idx: 4
collision: Empty
- pos:
- 8
- 13
idx: 13
idx: 3
collision: Empty
- pos:
- 9
- 13
idx: 14
idx: 4
collision: Empty
- pos:
- 17
- 13
idx: 12
idx: 2
collision: Empty
- pos:
- 18
- 13
idx: 13
idx: 3
collision: Empty
- pos:
- 19
- 13
idx: 14
idx: 4
collision: Empty
- pos:
- 12
Expand Down
22 changes: 11 additions & 11 deletions assets/map/levels/level_7.map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,12 +808,12 @@ layers:
- pos:
- 15
- 3
idx: 14
idx: 4
collision: Empty
- pos:
- 10
- 4
idx: 12
idx: 2
collision: Empty
- pos:
- 12
Expand All @@ -823,17 +823,17 @@ layers:
- pos:
- 15
- 4
idx: 14
idx: 4
collision: Empty
- pos:
- 10
- 5
idx: 12
idx: 2
collision: Empty
- pos:
- 11
- 5
idx: 14
idx: 4
collision: Empty
- pos:
- 12
Expand All @@ -843,22 +843,22 @@ layers:
- pos:
- 14
- 5
idx: 12
idx: 2
collision: Empty
- pos:
- 15
- 5
idx: 14
idx: 4
collision: Empty
- pos:
- 10
- 6
idx: 12
idx: 2
collision: Empty
- pos:
- 11
- 6
idx: 14
idx: 4
collision: Empty
- pos:
- 12
Expand All @@ -868,12 +868,12 @@ layers:
- pos:
- 14
- 6
idx: 12
idx: 2
collision: Empty
- pos:
- 15
- 6
idx: 14
idx: 4
collision: Empty
- pos:
- 12
Expand Down
48 changes: 24 additions & 24 deletions assets/map/levels/level_8.map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1284,87 +1284,87 @@ layers:
- pos:
- 12
- 8
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 8
idx: 12
idx: 2
collision: Empty
- pos:
- 15
- 8
idx: 14
idx: 4
collision: Empty
- pos:
- 12
- 9
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 9
idx: 13
idx: 3
collision: Empty
- pos:
- 15
- 9
idx: 14
idx: 4
collision: Empty
- pos:
- 11
- 10
idx: 12
idx: 2
collision: Empty
- pos:
- 12
- 10
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 10
idx: 12
idx: 2
collision: Empty
- pos:
- 15
- 10
idx: 14
idx: 4
collision: Empty
- pos:
- 11
- 11
idx: 12
idx: 2
collision: Empty
- pos:
- 12
- 11
idx: 14
idx: 4
collision: Empty
- pos:
- 14
- 11
idx: 13
idx: 3
collision: Empty
- pos:
- 15
- 11
idx: 14
idx: 4
collision: Empty
- pos:
- 11
- 12
idx: 12
idx: 2
collision: Empty
- pos:
- 12
- 12
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 12
idx: 13
idx: 3
collision: Empty
- pos:
- 8
Expand All @@ -1374,12 +1374,12 @@ layers:
- pos:
- 13
- 13
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 13
idx: 14
idx: 4
collision: Empty
- pos:
- 18
Expand All @@ -1404,12 +1404,12 @@ layers:
- pos:
- 12
- 14
idx: 12
idx: 2
collision: Empty
- pos:
- 13
- 14
idx: 13
idx: 3
collision: Empty
- pos:
- 17
Expand All @@ -1429,17 +1429,17 @@ layers:
- pos:
- 12
- 15
idx: 12
idx: 2
collision: Empty
- pos:
- 13
- 15
idx: 13
idx: 3
collision: Empty
- pos:
- 14
- 15
idx: 14
idx: 4
collision: Empty
elements: []
- id: platforms
Expand Down
Binary file modified assets/map/resources/ship_decorations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 62fb20c

Please sign in to comment.