xpenatan / gdx-teavm

Run Libgdx in a webbrowser with teavm
Apache License 2.0
108 stars 16 forks source link

Custom Mouse Cursors #74

Closed noblemaster closed 1 year ago

noblemaster commented 1 year ago

Allows for custom mouse cursors. As opposed to the GWT-backend, this also supports dynamic mouse cursors that have been created via Pixmap directly (in addition to mouse cusors loaded via files).

noblemaster commented 1 year ago

Yes, tests would make sense. It might be nice to maybe even add something like GwtTestStarter which would run the already existing libGDX tests? That way, we wouldn't have to write it all from scratch. It's already there, we just need to call the actual tests?

https://github.com/libgdx/libgdx/blob/master/tests/gdx-tests-gwt/src/com/badlogic/gdx/tests/gwt/client/GwtTestStarter.java

EDIT: never mind, I found it here: https://xpenatan.github.io/gdx-teavm/teavm/gdx-tests/ How do you build it?