Updated How to use Texture Atlas with TexturePacker (markdown)
obiot
committed
Nov 26, 2026
b5a3781
Updated How to use Texture Atlas with TexturePacker (markdown)
obiot
committed
Nov 25, 2026
9c1978a
Platforms, Poki, CrazyGames: melonJS 20.15.1 keeps the UI focus keys off the page
From 20.15.1, the keys the UI focus takes and a button's bindKey key no longer
scroll the page around the game; on 20.15.0, bind them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 14, 2026
9f5968b
Poki and CrazyGames pages, and ads and keys in Platforms
New: Poki (HTML5 SDK v2, tested in the Poki Inspector) and CrazyGames (SDK v3,
with save.setStorage(sdk.data) and the player's mute).
Platforms: the two portals in the table, how to pause and mute for an ad, and
keeping the arrow keys and Space from scrolling a portal's page.
Home and the FAQ link the new pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 14, 2026
8207bcd
WeChat Mini Games: melonJS 20.15 fixes a regression
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 13, 2026
348d4ee
Updated Nintendo Switch (markdown)
obiot
committed
Nov 13, 2026
1437c69
Platforms section: one page per platform, and how a game hands pausing, saving and sound to it
New: Platforms (overview), YouTube Playables, Nintendo Switch (nx.js), Web Workers.
Updated: Facebook Instant Games (SDK 8.0), WeChat Mini Games (rewritten for melonJS 20.15), Capacitor, Cordova.
Home lists the section; the FAQ links to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 13, 2026
1b784fe
Switching Physics Adapters: moving a body within the world keeps its joints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 13, 2026
5388d75
Switching Physics Adapters: joints through world.addJoint() (melonJS 20.15)
Hinge, rope, weld and slider joints on planck and Rapier; addJoint()
throws on the built-in and matter adapters; setAdapter() keeps each
body's angle, rebuilds the joints, and throws when switching to an
adapter without them. Engine-specific springs and constraints through
the adapter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 12, 2026
274f4d5
3D and rendering pages: GPU first, Canvas last resort; current MTL/glTF support; working API links
- Rendering API, Working in 3D, FAQ: meshes target WebGL 2 / WebGPU; a
2D-camera mesh draws on Canvas only as a last resort, and a Camera3d
scene not at all. Working in 3D gains a "no GPU backend" check.
- Rendering API and 3D assets: the MTL and material tables caught up with
the engine (per-material textures, normal maps, Ks/Ns specular, Pr/Pm,
map_d, transparent pass, glTF instancing); the MTL examples load the
texture through the material instead of pinning it; OBJ v//vn and
smooth generated normals; Canvas texture x material color and palette
shading (20.14).
- glTF scenes: rightHanded defaults to true (the page said the opposite),
BLEND needs transparent: true, specular from metallic/roughness, the
real scene.cameras fields.
- Every link to the old API site layout (melonJS/docs/...) 404ed: all now
point at the verified current page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 12, 2026
467e33d
Physics adapter pages: the Rapier adapter runs on melonJS 20.0 and later
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 11, 2026
a027002
Physics adapter pages: Rapier, setAdapter(), create(), current behaviour
- Rapier adapter alongside matter and planck in every table and recipe
- world.setAdapter() and the shared create()/load() API (melonJS 20.14)
- corrected: matter has no continuous collision, fixedRotation defaults to
false, polylines are 2px quads, the built-in honours the applyForce point
and has no surface friction, isGrounded reads the last step's push-out,
physic takes no "matter"/"planck" strings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SeWCkETjW35ZbXDRswV1hx
obiot
committed
Nov 11, 2026
8e20f79
PhysicsEditor: document the portable bodyDef path (#1685)
The page was built on `body.fromJSON()`, which reaches the built-in solver
only and is deprecated since 20.7.0. It now names the preloaded asset from a
body definition instead, which resolves before any adapter sees it and so
works unchanged on the built-in, matter and planck backends.
Also corrects a note that was already wrong: density, friction and bounce ARE
applied now, and the exporter's filter block is skipped for a stated reason
rather than merely ignored. Fixes two dead documentation links.
obiot
committed
Sep 20, 2026
fe4937b
Shader Effects: show only the active API
`renderable.shader =` has been deprecated since 19.2.0, including for meshes —
`Mesh#shader` delegates straight to it. Both mesh examples now use
`addPostEffect()`.
obiot
committed
Aug 30, 2026
6e168f7
Correct three claims that disagree with the source
- Working in 3D: Camera3d has no `roll`. Rotations are pitch and yaw only;
the inherited `Camera2d.rotation` is not read by the view transform or the
frustum rebuild, so a screen-plane bank has no effect.
- SpriteIlluminator: normal-map lighting requires a GPU backend, not WebGL
specifically — WebGPU implements the lit pipeline too. Also notes that
Light2d glow and stage ambient still draw on Canvas.
- Legacy upgrade guide: `me.loader.onload` was not "still working" — it is a
module binding that could never be assigned from outside, deprecated in
18.2.0 and removed in 20.3.
obiot
committed
Aug 30, 2026
a24ab3e
2.5D Games: depth does not filter collision (melonJS/melonJS#1580)
The page claimed distant-Z parallax 'will often land in different
octants than gameplay and be pruned by the broadphase walk — best-effort,
not a guarantee'. That was describing a bug: the same pruning was also
discarding collisions between gameplay bodies at different depths, at a
measured 12 of 20 genuinely overlapping pairs. Fixed in 20.0.0.
Collision is 2D whichever camera renders the scene, so the broadphase's
collision walk now ignores depth entirely. Rewrites the 'why it works'
and 'keeping parallax out of collision queries' sections accordingly,
and notes that the genuinely 3D queries do still prune on depth.
obiot
committed
Aug 9, 2026
9583913
Document ground shadows (#1515) and drop the stale 2.5D caveats
Working-in-3D gains a Ground shadows section (properties, the
three-level opt-in and its no-vertical-extent safeguard, cost, and the
Camera3d/GPU requirement); the glTF page documents the level.load
options; the 2.5D page's two caveats are both obsolete now that
anchorPoint: "bottom" and castGroundShadow exist.
obiot
committed
Aug 8, 2026
ed09a2a
Working in 3D: InstancedMesh + EXT_mesh_gpu_instancing (#1508)
obiot
committed
Aug 7, 2026
993c77a
20.0 docs: mandatory await app.init() across all boot examples, WebGPU accuracy pass
- every Application boot snippet now shows the two-phase startup (8 pages)
- FAQ Q9 rewritten: video.init() is removed, not deprecated; async rationale
- FAQ Q10 covers the three backends and the AUTO ladder (WebGPU first)
- Rendering-API: meshes render on all three renderers; init() in the
renderer-choice snippet
- Working-in-3D: MSAA now survives post effects, with its memory cost
- Capacitor: drop the stale single-call claim
- 2.5D-Games: fix an invalid Application(canvas, ...) signature
obiot
committed
Aug 6, 2026
39ea81f
Shader Effects: MSAA composes with post effects in 20.0 (cost note)
obiot
committed
Aug 6, 2026
8dfff4f
3D documentation refresh for 20.0: WebGPU parity, retained meshes, Light3d point/spot, custom mesh shaders
- Working-in-3D: new Retained-rendering and Lighting (Light3d) sections,
mipmaps/anisotropy under Texture filtering, GPU-backend framing,
Camera2d mesh projection corrected, split-screen camera note
- glTF/GLB scenes: point/spot lights now supported (+ examples), lights /
lightIntensityScale load options, authored light names, getGLTF fields
- Supported assets: GPU-backend framing, point/spot moved to supported
- Rendering-API: capability-flags table, retained drawMesh contract,
multi-material OBJ + MTL Ke corrected, WebGPU in renderer selection
- Shader-Effects: dual-language intro, fixed broken drawMesh example
(mesh.shader is the API), wgsl program assets, custom mesh shader section
- Upgrade-Guide: WebGPU/AUTO ladder, WebGLBatcher rename, Light3dBlock
layout change, model-space mesh shader contract
- Home: refreshed 3D/shader blurbs
obiot
committed
Aug 5, 2026
05edf6a
Shader Effects: document the single-language degradation matrix
obiot
committed
Aug 3, 2026
87e0f4c
Shader Effects: dual-language (GLSL + WGSL) custom effects and asset shapes (20.0)
obiot
committed
Aug 3, 2026
d41c8e6
call out the await app.init() requirement for existing new Application users
obiot
committed
Aug 2, 2026
c82600e
Updated Upgrade Guide (markdown)
obiot
committed
Aug 2, 2026
f54c92f
document the 20.0.0 two-phase Application startup (await app.init()), video.* removals, and the experimental WebGPU renderer
obiot
committed
Aug 2, 2026
6adc3f0