Repository navigation
Lenga 0.9.1
Lenga Engine v0.9.1
Release date: 2026-08-07
Lenga v0.9.1 is a focused compatibility release that restores correct 2D
gravity behavior and carries forward the settings foundations completed since
v0.9.0.
Fixed: 2D Gravity Direction And Scale
A regression in the shared physics defaults caused gravity in new and existing
2D projects without an explicit gravity override to pull dynamic bodies upward
at a much lower rate than intended.
v0.9.1 restores Lenga's established coordinate conventions:
- 2D uses positive Y as down and defaults to
(0, 980, 0)world units per
second squared. - 3D uses positive Y as up and continues to default to
(0, -9.8, 0)meters
per second squared. - Explicit project gravity values remain authoritative and are not replaced by
the defaults.
The correction lives in the shared physics settings seam used by project
defaults, the Box2D backend, the fallback 2D solver, editor-facing APIs, PHP
bindings, and Web bridge fixtures. This prevents the editor, native runtime,
and supporting tooling from drifting onto different gravity conventions.
Settings Foundations
Work completed after v0.9.0 also establishes clearer ownership for settings:
- Project-owned settings persist with the game project.
- Personal editor preferences remain local to the developer and machine.
- Focused settings persistence replaces panel-local or ad hoc ownership.
Upgrade Guidance
No gameplay scripting changes are required for projects that use Lenga's
default 2D gravity. Dynamic 2D bodies should move downward again after upgrading.
If a project added an explicit gravity override only to compensate for the
regression, remove that workaround to return to the corrected default. Projects
with deliberate custom gravity continue to use their saved value; positive Y
pulls downward in a 2D scene.
Verification
The release adds headless regression coverage for both available 2D physics
paths. Tests assert the shared 2D and 3D defaults, project-settings propagation,
and downward dynamic-body motion through the Box2D and fallback backends. PHP
API fixtures and public physics documentation are validated against the same
convention.