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

HTML version not working #47

Open
Arcnor opened this issue Nov 1, 2014 · 1 comment
Open

HTML version not working #47

Arcnor opened this issue Nov 1, 2014 · 1 comment

Comments

@Arcnor
Copy link
Owner

Arcnor commented Nov 1, 2014

I've done a little work to make the HTML version compile. This needs #45 to be merged in first, or the changes you'll see here will be very polluted. What is missing/should be done:

  • Pattern and Matcher are not supported, so they need to be replaced on BitmapTextMultiline and Window
  • String.format and String.toUppercase(Locale) are not supported. If we don't mind waiting, this will be fixed by I18N support #43 because it replaces all those calls with LibGDX's I18N support
  • InterlevelScene and WndRanking are creating a Thread to do stuff, but that's not supported on GWT. An alternative might be using Web Workers or something similar from GWT, but we'll need to abstract the piece of code that does the work so we can call GWT classes on the html module.
  • Bundle uses the org.json package, so we should either add the package sources so it can be compiled by GWT, or replace that package with LibGDX JSON support that is multiplatform.
@gnojus
Copy link

gnojus commented Mar 9, 2024

Just FYI, https://gnojus.github.io/pixel-dungeon-gdx is a fork with working Web/Html version

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

No branches or pull requests

2 participants