Skip to content

Commit f92edc5

Browse files
committed
lighthousemaxxing
97 on performance, 100 on everything else
1 parent fad10e0 commit f92edc5

File tree

7 files changed

+577
-589
lines changed

7 files changed

+577
-589
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ A mostly-complete port of Celeste (2018) to WebAssembly, with full support for E
1212
## Limitations
1313

1414
- Loading the game consumes 600M or so of memory, which is still around 3x lower than the original port, but it is still too much for low end devices.
15-
- You may encounter issues on firefox.
15+
- You may encounter issues on Firefox.
1616

1717
## I want to build this
1818

1919
1. Ensure node and pnpm exist and `pnpm i`
20-
2. Install dotnet 9.0.4
20+
2. Install .NET 9.0.4
2121
3. Install the mono-devel package on your distro
22-
4. run `sudo dotnet workload restore` in the loader dir
23-
5. run `make serve` for a dev server and `make publish` for a release build
22+
4. Run `sudo dotnet workload restore` in `loader/`
23+
5. Run `make serve` for a dev server and `make publish` for a release build
2424

2525
## I want to figure out how this works
2626

@@ -34,7 +34,7 @@ A mostly-complete port of Celeste (2018) to WebAssembly, with full support for E
3434

3535
For a deeper dive into how we made this and [the terraria web port](https://github.com/MercuryWorkshop/terraria-wasm), check out the [writeup](https://velzie.rip/blog/celeste-wasm).
3636

37-
## I want to port this to a newer version of celeste (once it exists)
37+
## I want to port this to a newer version of Celeste (once it exists)
3838

39-
1. fix any issues with the hooks
40-
2. make a pr!
39+
1. Fix any issues with the hooks
40+
2. Make a PR!

frontend/src/splash.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ export const Patch: Component<
758758
return (
759759
<div>
760760
<p>
761-
We're going to patch Celeste with MonoMod for neccesary fixes for WASM.
761+
We're going to patch Celeste with MonoMod for neccesary WASM fixes.
762762
You can also optionally install the Everest Mod Loader, but it will take
763763
longer to install.
764764
</p>
@@ -895,7 +895,7 @@ export const Splash: Component<
895895
return <Patch on:done={() => this["on:next"](true)} />;
896896
}
897897
})}
898-
<Button type="primary" icon="full" disabled={false} on:click={() => (this.settingsOpen = true)}>
898+
<Button type="primary" icon="full" disabled={false} on:click={() => (this.settingsOpen = true)} title="Settings">
899899
<Icon icon={iconSettings} />
900900
</Button>
901901
</div>

frontend/src/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ body.error {
5757
--surface5: color-mix(in srgb, #3a3a3a 97.5%, var(--accent));
5858
--surface6: color-mix(in srgb, #3f3f3f 97.5%, var(--accent));
5959

60-
--fg: color-mix(in srgb, #fafafa 97.5%, var(--accent));
60+
--fg: #fff;
6161
--fg2: color-mix(in srgb, #eaeaea 97.5%, var(--accent));
6262
--fg3: color-mix(in srgb, #dedede 97.5%, var(--accent));
6363
--fg4: color-mix(in srgb, #cacaca 97.5%, var(--accent));
6464
--fg5: color-mix(in srgb, #bebebe 97.5%, var(--accent));
6565
--fg6: color-mix(in srgb, #aaaaaa 97.5%, var(--accent));
6666

67-
--accent: #ff2432;
67+
--accent: #e51523;
6868
--loader-bg: #451922;
6969
--error: #f02424;
7070
--success: #84f084;
@@ -83,12 +83,12 @@ body.error {
8383
}
8484

8585
.dark.green {
86-
--accent: #1aa04a;
86+
--accent: #15843c;
8787
--loader-bg: #153a20;
8888
}
8989

9090
.dark.blue {
91-
--accent: #2480ff;
91+
--accent: #006aff;
9292
--loader-bg: #192745;
9393
}
9494

frontend/src/ui/Switch.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export const Switch: Component<
122122
disabled={use(this.disabled)}
123123
bind:checked={use(this.on)}
124124
on:change={this["on:change"] || (() => {})}
125+
title={use(this.title) + (use(this.disabled) ? " (disabled)" : "")}
125126
/>
126127
<span class="switch-slider"></span>
127128
</label>

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@
1515
"@types/xxhashjs": "^0.2.4",
1616
"dreamland": "^0.0.25",
1717
"events": "^3.3.0",
18+
"lightningcss": "^1.30.1",
1819
"rollup-plugin-node-polyfills": "^0.2.1",
1920
"streamx-webstream": "^1.2.12",
2021
"tar-stream": "^3.1.7",
22+
"terser": "^5.40.0",
2123
"xxhashjs": "^0.2.2"
2224
},
2325
"devDependencies": {
2426
"@iconify/types": "^2.0.0",
2527
"@types/tar-stream": "^3.1.3",
2628
"@types/wicg-file-system-access": "^2023.10.6",
29+
"prettier": "^3.5.3",
2730
"typescript": "^5.8.3",
2831
"vite": "^6.3.5",
29-
"vite-plugin-dreamland": "^1.2.1",
30-
"prettier": "^3.5.3"
32+
"vite-plugin-dreamland": "^1.2.1"
3133
}
3234
}

0 commit comments

Comments
 (0)