bongle.ioplaycreate
The Bongle Times

dispatches from bongle.io

engineeditor

the illumination update

new bongle update! lights! shadows! some other goodies!

lights

  • PointLight.Trait shines every way from a node: a lantern, a torch, a glowing projectile.
  • SpotLight.Trait shines a cone the way the node faces: a headlight, a searchlight.
  • FloodFillLight.Trait: the glow of a light block, without the block. good for a glowing pickup or a spell.

shadows

  • point and spot lights can cast shadows. turn on castShadows for a lamp, a searchlight or a street of lamps.
  • the sun can cast shadows too, all the way out to the view distance. they're off in the overworld preset, and one line turns them on.
  • blocks, models, meshes and sprites all cast shadows. a sprite's shadow turns as your view does.
  • anything can opt out with castShadows or receiveShadows, handy for glass or a wisp of smoke.
  • lights that cast shadows can be expensive for performance, so use them mindfully!

the renderer

  • a new renderer that looks the same on WebGPU and WebGL.
  • leaves are now solid blocks with a leafy fringe around their edges, so trees look full from every side.
  • sprites and extruded sprites can have outlines.
  • fewer hidden chunks are drawn, and chunks near the camera no longer flicker in and out.

physics

  • editing blocks under a sleeping body wakes it up.
  • bodies at rest cost nothing to keep in sync in multiplayer.
  • characters keep their speed walking up slopes, and a crouched character only stands up when there's room.

camera and characters

  • a third-person camera with adjustable distance and offset, and a crosshair to aim with.
  • the camera eases in when it backs into a wall, and fades your character when it gets close.

editor

  • MCP tools for working with PNGs
  • Improvements to the paint app - tabs, frames, filters.
  • html in the world can face the camera, in full or turning only around the vertical axis.
  • rooms can be given names, and the editor lists them by name.

for creators

  • contact reporting is now opt-in: add a Contacts.Trait to a node whose touches your script reacts to.

fixes

  • particle drag is the same at any framerate.
  • block meshes fade out smoothly instead of popping.
  • a script's mouse lock ends with the script, so a hot reload can't leave the cursor stuck.

Keep reading