leaningtech/cheerpj-meta

AWT application does not render

apolinario opened this issue · 1 comments

I'm running an adapted version of https://github.com/amidos2006/Mario-AI-Framework that includes the external files inside the jar file and loads from the jar file as opposed to loading from an external file

However I get a Uncaught (in promise) error while trying to run it:
Screenshot 2023-02-15 at 23 40 35

Here's the *.jar file for reproduction:
mario.jar.zip

The problem is fixed in the following runtime https://cjrtnc.leaningtech.com/20230216/loader.js

Please make sure to remove any previously compiled jar.js, since this new runtime is not compatible with the 2.3 AOT compiler. It should not matter, the level of performance of the internal on-the-fly compiler seems to be sufficient for this game.