Skip to content

v1.0.0

Compare
Choose a tag to compare
@xpenatan xpenatan released this 10 Jul 00:12
· 26 commits to master since this release
41943bb

v1.0.0 is here! The long waited first release. Beta release is no more.

Also, thank you for 100 stars !

Now I can do minor patches more often 😃

First of all, this repo started as a dragome backend and then evolved to be a teavm only. It took some time to figure out how to get everything working together, and now it's time for a release. 

This release will break b9 compatibility. If v1.0.0 is giving issues, please report (With a project example) so I can do hotfixes.

What is included in this release compared to b9?

  • Updated teavm to 0.10.0.
  • Pixmap now use Gdx2DPixmap. (Emscripten)
    This remove all HTMLCanvasElement, HTMLImageElement and HTMLVideoElement hacks and everything is binary file.
  • New Gdx.files.internal, classpath and local implementation. Local files uses IndexedDB.
    Preloader is no more. There is now a new system to keep loaded files. Preloader is renamed to AssetLoader and moved to a separate module. IndexedDB data is loaded at the start of the app and saving files is async.
  • Call app dispose when browser closes
    Dispose will be called when closing. Its not a big deal because there is no time to save data when user closes the browser but its here.
  • Improve clipboard text copy/paste.
    clipboard was not working correctly and now you can copy/paste text. Web api is async so may not work for the first time.
  • Files can now be dragged to the browser. You can now allow/Block dragged files and have its content before saving using TeaWindowListener in config class.
  • AssetFileHandle is now required when adding assetsPath. Changing the type to Local will put assets in IndexedDB.
  • Change default sound/music api to howler.js
    It took me hours trying to improve audio using Web Audio API. The api have a lot of missing features that gave me headache so decided to change to a higher level api called howler.js.
  • Add shouldEncodePreference config
    This will encode preference data so its not easy readable.
  • Add localStoragePrefix config
    This will help saving local data to multiple apps using the same server url.
  • AssetManager can now download assets
    Assets can now be downloaded using asset manager. There is still a issue downloading assets that have dependencies. This will be look at later.
  • GdxTests module have been improved so it is now easy to test libgdx testes frorm source.
  • Improve TeaBuilder and AssetsCopy classes.

There may be more changelogs, but I may have lost them.

You can try gdx-test here . Not all tests work so there still improvements to be made.

What's Changed (Generated)

New Contributors

Full Changelog: https://github.com/xpenatan/gdx-teavm/commits/1.0.0