deathkiller / jazz2

🎮 · Jazz² Resurrection: Open-source reimplementation of Jazz Jackrabbit 2
https://deat.tk/jazz2/
GNU General Public License v3.0
495 stars 18 forks source link

WebGL.NET NuGet #18

Closed MarcosCobena closed 4 years ago

MarcosCobena commented 5 years ago

Hey guys,

Good work! Just wanted to let you know can depend on the preview NuGet WebGLDotNET instead of having a local copy of the source code, and enjoy all the fixes we've been doing lately:

https://github.com/WaveEngine/WebGL.NET#webglnet

Please don't hesitate to report bugs or whatever you may find.

Thanks!

—Marcos

deathkiller commented 5 years ago

Hi,

thank you. I will use NuGet in further versions. The WebAssembly port of the game is unfortunately only (slow) tech demo right now, but I hope it will run better. Also, thank you for WebGLDotNet library, it works great!

MarcosCobena commented 5 years ago

Thanks! We're interested in the performance issue if you see our library is the one causing the slowness :-)

Thanks again.

deathkiller commented 5 years ago

I think the slowness is caused by Mono Runtime itself. I should try to enable AOT compilation somehow, but I don't know how well it works so far.

MarcosCobena commented 5 years ago

If your copy of WebGL.NET is older than 1 month or so I'd encourage to give a try with the NuGet one, because we worked on the performance side a little bit. However, yes, maybe AOT will help you guys too. You may be able to profile it with browsers' developers tool.

deathkiller commented 5 years ago

I just tried latest version of WebGL.NET and unfortunately it's the same. Mono is probably too slow, but I didn't tried latest Mono yet.

MarcosCobena commented 5 years ago

Hmmm ok; yesterday I was updating Mono's NuGets (0.2.0 everything) in the repo but didn't still publish a new version. You can do that too, just in case.

MarcosCobena commented 5 years ago

Here you can find them:

https://github.com/WaveEngine/WebGL.NET/tree/master/src/packages

MarcosCobena commented 5 years ago

https://www.nuget.org/packages/WebGLDotNET/1.3.0-preview

;-)

deathkiller commented 5 years ago

Thank you very much, but it's still slow, I don't know why. Probably nothing can be done about it now.

MarcosCobena commented 4 years ago

Hey guys, I've just played again and it works muuuch more faster, what did you change for that? Good job!

deathkiller commented 4 years ago

Hi, thanks! I removed some features which were not critical and updated Mono to latest version. It's more playable now, but it's still 10x slower than PC/Android version.