Skip to content

Lenga 0.10.1

Latest

Choose a tag to compare

@amasiye amasiye released this 25 Nov 17:30
6994a9e

Lenga 0.10.1 Release Notes

Give power-ups, hazards, and other gameplay moments a temporary look.
Use the same custom material shader on desktop and Web, and work in an
editor with warm charcoal panels and rose highlights.

A New Editor Theme

The editor uses warm charcoal surfaces, rose highlights for active
controls and selections, and Inter for interface text. The theme
applies to the editor interface and does not change your game's art,
materials, or exported appearance.

Temporary Screen Effects

Enable Post Processing on the scene camera. From PHP, call
PostProcessing::setOverride() to add or replace a named effect layer
and PostProcessing::clearOverride() to remove it. Use a separate key
for each effect so several effects can run at once. Temporary layers
clear when the scene ends.

Peripheral Warp distorts the edges of the scene while keeping the
center clearer. Screen-space UI draws afterward, so HUD and menu text
stay readable. Try it for a power-up that briefly changes the world's
appearance.

Custom Shaders on Desktop and Web

For a material shader that uses syntax shared by desktop GLSL 330 and
GLSL ES 300, place // lenga:portable-glsl on the first line of each
shader stage. Lenga supplies the header for the target. A stage that
already uses a Web compatibility header can keep #version 300 es on
line one and put the marker on line two.

Shaders without the marker keep their authored version. Re-export your
game with 0.10.1 to use the new shader support and post-processing API
in a build.

The editor and exported games continue to embed PHP 8.5.13.