Skip to content

Commit

Permalink
Only use half- and full-opacity moon sprites.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Jan 29, 2024
1 parent ddaa1bd commit d8e802d
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SolarEclipse2024.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ export default defineComponent({
filename = "moon-dark-gray-overlay.png";
} else {
const skyOpacity = Math.max(Math.min(this.skyOpacity, 1), 0);
const opacityToUse = Math.round(skyOpacity * 20) * 5; // On an opacity scale of 0-100, our assets have resolution 5
const opacityToUse = Math.round(skyOpacity * 2) * 50;
filename = `moon-sky-blue-overlay-${opacityToUse}.png`;
}
}
Expand Down
Binary file removed src/assets/moon-sky-blue-overlay-0.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-10.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-15.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-20.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-25.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-30.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-35.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-40.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-45.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-5.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-55.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-60.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-65.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-70.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-75.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-80.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-85.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-90.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay-95.png
Binary file not shown.
Binary file removed src/assets/moon-sky-blue-overlay.png
Binary file not shown.

0 comments on commit d8e802d

Please sign in to comment.