Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web port #291

Open
midzer opened this issue Apr 19, 2024 · 2 comments
Open

Web port #291

midzer opened this issue Apr 19, 2024 · 2 comments

Comments

@midzer
Copy link

midzer commented Apr 19, 2024

Hi,

great classic game :)

I've ported it to the web several days ago in my fork https://github.com/midzer/nxengine-evo/tree/emscripten

You can play the result directly here https://midzer.de/wasm/cavestory/

Would love to contribute back, if you're interested.

Have a nice week
midzer

@isage
Copy link
Collaborator

isage commented Apr 19, 2024

Sure, but:

  1. make it separate platform (-DPLATFORM=web)
  2. https://github.com/midzer/nxengine-evo/blob/emscripten/EMSCRIPTEN.md#link can't you do that with cmake (making it separate platform should help with that too)?

@isage
Copy link
Collaborator

isage commented Apr 19, 2024

Few other notes:

  1. Quit should be probably removed from menus on web (it doesn't make sense there)
  2. Gamepad doesn't work
  3. Saves/settings don't persist (due to default MEMFS, using IDBFS should probably solve that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants