melonJS icon indicating copy to clipboard operation
melonJS copied to clipboard

a fresh, modern & lightweight HTML5 game engine

Results 57 melonJS issues
Sort by recently updated
recently updated
newest added

When an animated sprite is created with `createAnimationFromName()` on a TextureAtlas which has multiple textures ("multi-pack"), all animation frames must be placed on the first texture. Otherwise the animation is...

Bug

**Describe the bug** Event though the Path2D implementation has been greatly improved over the last few versions (e.g. better API and support for subpaths), it is not possible today to...

Bug

##### Description of change Change the Body class name to BodyObject Please refer issue -> https://github.com/melonjs/melonJS/issues/1199 ##### Merge Checklist - [x] Build process passed (`npm run build`) - [x] Lint...

I notice that when using the Typescript boilerplate and when setting a new Body it refers to the DOM instead of MelonJS. The code: ![image](https://github.com/melonjs/melonJS/assets/5279392/f136ecbe-eb69-4a7b-9a2d-be05d7b897d8) On VSCODE shows: ![image](https://github.com/melonjs/melonJS/assets/5279392/0ac57261-d4d8-4bc6-975c-e6b17a49752f) Typescript...

Bug

one key feature still missing in melonJS, if anyone is up to it, is the ability to load compressed texture for WebGL, with the benefits of shorting loading time and...

Feature

When an animated sprite is created with [`createAnimationFromName()`](https://github.com/CodeAndWeb/melonjs-sprite-sheet-example/blob/main/src/js/renderables/player.js#L25), the hitboxes of the animation frames are misaligned: When a sprite is created with `atlas.createSpriteFromName()` the alignment of the hitbox is OK....

Bug

Adding this one here, as it's quite interesting : Strassen multiplication algorithm is faster, with a complexity of approximately O(n^2.8074) , compared to O(n^3) for standard multiplication algorithm. Strassen Matrix...

Improvement

I wish there is a more realistic progress handler based on bytes. Example code: ``` let assets = [ { name : 'image1', src : 'images/image1.png', bytes: 120366 }, //...

Feature

the current Path2d `triangulatePath()` method : https://github.com/melonjs/melonJS/blob/bb2c02026eac131c74495b27349621e5fa3fb2fa/src/geometries/path2d.js#L55-L78 does not cache the generated data, forcing melonJS to recalculate every thing when using directly method like [`fillRect()`](https://melonjs.github.io/melonJS/docs/melonjs/WebGLRenderer.html#fillRect) and friends, and create a...

Improvement

this was already discussed in #1030 , but now that is is now officially available by default in Chrome 113, it's maybe (really) time to start working on it. See...

Feature