NemoStein

Results 8 comments of NemoStein

Sadly the fix wasn't enough. Everytime the `Sprite.setRegion()` is called the sprite `width`/`height` is reset to the sprite original frame width/height https://github.com/melonjs/melonJS/blob/709d217e35e3bb6cce0d1debbac14a4b4ff793b4/src/renderable/sprite.js#L460-L461 Here is a sample that reproduces the issue:...

Don't worry, I'll keep using the `nss_*` workaround for now... It's just a progress loading bar, after all! ;D

> So, are you working on this feature? Sadly, I don't have the appropriate skills to do it.

He seems to be pretty active in private repos here on Github... =/

Ok, I was a bit naive, I admit... Just changing the bundle type to esm is not enough for some reasons. Firstly, neutralino injects the globals into "./resources/js/neutralino.js" If this...

Yea, the PR is waiting for review/approval. I'm still hopeful... > ESM is the future and we definitely should support as much as possible. I've been saying that the bundle...

> Is there a workaround for this other than forking? Install lodash as a dependency `npm i -D lodash`

@jbltx Looking forward for your pull request #91 get merged.