The Bongle Times

dispatches from bongle.io

engineeditorkit

the fluffy leaves update

new bongle update!

kit

  • made leaves fluffy! the tree leaves are now big soft clumps instead of flat blocks, built on the new larger tiles so they keep the same 16x16 pixel density.
  • pixel ascii text font sprites in import { sprites } from 'bongle/kit'. use them for in-world text or particles!
  • lots of new blocks:
    • various flowers
    • various crops
    • lanterns
    • sunstone
    • improved short grass and tall grass
    • bookshelf
    • stone bricks block set
    • red bricks block set
    • leaf litter
    • chain
    • fire
    • cobweb

performance

  • faster editor startup! again!
  • faster game startup! some engine startup work now happens once as baked editor work instead of every time a game boots.
  • lots of other performance fixes and improvements throughout.

textures

  • support for non 16x16 block textures! this is primarily geared at supporting larger tiles in the world that still look like they have 16x16 pixel density. it's what the new fluffy tree leaves are built on.
  • renamed blockTexture() to tile(). an annoying one to break, but better to break lots of things now so we can be stable in a great state later!
  • introduced texture(), which feeds into either tile() or sprite(). it replaces draw(). this means much easier sharing of textures between sprites and block tiles, and texture() is smarter than draw() was about only doing the work once when a texture is reused.

engine

  • TextTrait! an easy way to display in-world text. way better performance than HtmlTrait and CanvasTrait, but less flexible. pick your tradeoffs.
  • removed ModelTrait. MeshTrait can now be used freely without needing a parent ModelTrait. simpler api!
  • added an outlines api for MeshTrait and VoxelMeshTrait.
  • choose your server tick rate with config({ server: { tickRate: 30 } }). the default is still 60hz, which is great for more dynamic games. this might change later, TBD!
  • improved the spawnParticle api. you don't define particles upfront anymore. you can spawn particles with any sprite and any behaviour at runtime. simpler api.

editor

  • add a MarkerTrait to a node to see an icon and a label for it in the editor.
  • selected nodes are now much better visualised in the viewport.
  • new "add node here" right click action.
  • new "add trait" right click action.
  • live preview of trait raw data in the node inspect panel.

Keep reading