Repository navigation
v0.112.0
·
122 commits
to master
since this release
Added
- Content Browser filters and collections. The Filters menu puts a filter beside the search: a type, Recently opened (the last 20 assets opened in the project) or a custom filter you write once and keep in every project, with its own label, colour and filter string (the search's own syntax, such as
type:texture hero). A click turns a filter off and leaves it in place, greyed; right-click it to remove it, enable only it, enable or disable all, or remove all the others. Filters add up, and the search narrows what they admit. Collections, under the folder tree, group assets without moving them: make one with +, nest them, drop assets on one or tick it under Manage collections in an asset's menu, and click it to see its assets alone. An asset added to a collection inside another is in both; renaming or moving an asset keeps it in its collections, and deleting a collection deletes no asset. Collections are kept on this machine, per project. More room for assets in the Content Browser. Its navigation bar spans the whole panel and the filters share the search's row, the bottom dock starts at about a third of the window (Window ▸ Reset Layout takes it for a layout already saved), and a tile shows its name and type only, an image's size moving to its tooltip and the Columns view. A dock too low for a row of tiles lists the assets instead, and says so in its footer, until it is pulled up; a narrow dock keeps the Columns view to the name and one column. - The Content Browser has a navigation bar, a Settings menu and three views. The bar over the assets carries Add, Import, Save all, back and forward arrows, the path and Settings, the same in the docked panel and the Content Drawer; the type filter and the search sit on a row under it. Settings picks the view: Tiles (the thumbnail grid), List (a small thumbnail with the name and type on each row) or Columns (a table of type, size, dimensions and modified time that sorts from its header, either way round, and hides a column from the header's right-click menu). It also turns the folders and the folder tree on or off, lets a type filter reach into subfolders, chooses whether a search matches type names and asset paths, and sets the order. Names sort as numbers do, so
level2comes beforelevel10. The choices are kept per user. - OpenGL on Windows, for faster shader compiles. Settings → Renderer → Windows graphics driver chooses what WebGL draws through: Direct3D 11 (the default) or OpenGL. Through Direct3D every shader is translated and compiled by Microsoft's compiler, and a lit 3D material variant took 3 to 8 seconds the first time a project opened after an update; through OpenGL the same shader compiled in under a second, the editor had compiled a 3D scene's shaders in about half the time, and Play straight after opening it no longer sat at "Creating play realm" behind them (8 s down to under 1 s in a measured scene). With OpenGL there is no WebGPU, and a project set to it draws with WebGL2; some older Intel and AMD drivers draw worse through OpenGL. The choice applies when the editor restarts, and the setting says which driver the running editor has.
- A project can cap its frame rate. Project Settings → Game → Runtime → Frame has a Frame rate cap (
features.runtime.maxFrameRate): 0, the default, follows the display as before, so a 120 or 165 Hz phone draws that many frames and heats up for it; 60 or 30 caps the exported game on web, mini-game and native hosts from the first frame.App.setTargetFrameRatestill changes it while the game runs. - River visualization and a spline point's right-click menu. Right-click a point of a spline or an outline in the viewport for Delete Spline Point, Duplicate Spline Point, Select Spline Points (first, previous, next, last), Spline Point Type, Reset to Automatic Tangent and Focus Selected. On a river the same menu switches what it shows beside its points: Visualize Water Velocity draws three arrows at each point, as long as a second of its current and pointing the way it runs; Visualize River Width shows the handles its width is dragged by (on, as before); Visualize Depth draws a line down to each point's depth with a handle that drags it. The arrows' length is scaled by Water visualization scale in Settings > Viewport. Dragging a point also no longer drops what it carries (its type and tangents, its depth, velocity and audio intensity).
- Spline points with types, tangents and river values, edited in Selected Points. Each point of a Spline now says how the curve runs on from it: Curve (the smooth curve through the points, as before), Curve Custom Tangent (along its own Arrive and Leave Tangents), Linear or Constant. On a river a point can also carry its own Depth (how deep the bed is cut there), Velocity (the current there; negative runs back toward the start) and Audio Intensity (how loud it sounds there, which a water sample answers as
audioIntensity); a point that carries none takes the river's own Bed Depth and Flow Speed. Details shows them under Selected Points: buttons to step to the first, previous, next or last point, and the picked point's Input Key, Location, Type, tangents, Width and, on a river, its Depth, Velocity and Audio Intensity. - Each body of water can have its own colour. A WaterBody's new Surface Look keeps the zone water material's colour or uses its own Water Color: a muddy river, a green pond and a blue sea in one zone. Where a body with its own colour meets another (a river running into a lake) the two run into each other across the junction, as a transition between their looks. Deep water darkens a body's colour the way the material's deep colour darkens its shallow one, and an ocean's own colour reaches past the zone to the horizon.
- More ways a body of water meets the ground. A WaterBody's Curve Channel can now be laid Additive (the channel added onto the ground as it is, its detail and slope kept), and its bank can use Falloff Mode: Angle, running out at Falloff Angle from the water until it meets the ground (cut into a hill, built up from a hollow) instead of fading over a fixed width. Falloff Edge Offset keeps a flat edge at the water's level before the falloff. The cut also takes Blur Radius, two octaves of Curl Noise bending its outline, Inner and Outer Smooth Distance rounding where the bed leaves the bank and where the bank meets the ground, and a Terrace Mask (length and start offset) keeping terraces to a span out from the water's edge. Alpha Blend is now the blend a new Curve Channel starts with.
- Every kind of water body in the Create menu. Water Body Ocean, Lake, River, Island and Exclusion Volume, and a Water Zone, can each be placed from the Create menu, a river with the Spline it follows. An island and an exclusion volume show their outline in the viewport and take points dragged and added on it as a lake does, and Details offers the same way back to the rectangle of their size.
- Custom water bodies take the shape of a mesh. A WaterBody set to Custom names a Shape Mesh: the triangles of it that face up, seen from above, are the water, and the water stands at the mesh's top. A fountain bowl, a pool of any outline or a trough is its own shape, an L-shaped pool included (not the hull round it), and it is drawn, answered and seen from under like any lake. The mesh is only a shape; nothing draws it. Place one from the Create menu as Water Body Custom.
- A water sample says how deep the water is.
Waters.samplenow answerswaterDepth: how far it is from the surface at rest down to the ground under it (a river's bed, a lake's floor), in world units. That is what wading, swimming and a boat running aground are decided by;depthstill says how far the point itself is above or below the surface. Open sea with no ground known under it answers 1e6. - Exclusion volumes that name their bodies. A WaterBody exclusion volume's Exclude All Overlapping Water Bodies (on, as before) keeps every body whose water overlaps it out; off, it keeps out only the bodies in Water Bodies to Exclude: inside it their water is not drawn and a point is in none of it, while any other body runs on through (a box that keeps a pond out still holds the sea round it). Details lists the volume only under the bodies it keeps out. A mini-game package that uses no water also no longer carries the WaterBody definition and its descriptions (about 15KB).
- Exclusion volumes keep the water out of a box. A WaterBody set to Exclusion Volume is a box (its Size X and Z, or an outline, and a Size Y height) the water stays out of. Where the water's surface lies within its height the surface is not drawn over it, and a point inside it is not in water: no underwater look, no buoyancy, no depth answered. A box wholly under the surface keeps the surface above it, so a dry room under the sea, a boat's hold or a cave mouth reads as above water from inside while the sea stays whole over it.
- Far distance settings on the Water Zone. Past the rings a zone draws a flat sea out to the horizon, so an ocean does not end in a straight line where its detailed surface does. It was always 80 km and drawn with the ocean's own material; the new Far Distance group on WaterZone sets whether it is drawn (Far Distance), how far it reaches (Far Distance Extent), the material it is drawn with (Far Distance Material: a cheaper one matched to the ocean, or empty for the zone's water) and whether a zone with only lakes and rivers draws it too (Far Mesh Without Ocean, laid at the zone's own height). A zone with no ocean no longer draws it unless asked.
- Islands, and lakes that cut their floor. A WaterBody can now be an Island: inside its rectangle or outline the terrain is raised to the island's own height, easing back down to the ground over its Shore Width outside it, so the sea or lake round it leaves it dry. A lake's Bed Depth (until now a river's alone) cuts its floor into the terrain under its outline, sloping down from the shore to that depth. Both are laid over the terrain without changing it: move or remove the body and the ground is as it was. A lake only cuts and an island only raises, so either can sit over sculpted ground, and the terrain's height range now grows to hold what they make, so an island over the highest hill or a floor under the lowest valley is no longer held at the edge of the range.
- Terrain settings on a body of water. A WaterBody's new Terrain settings say how it changes the ground. Affects Terrain turns a lake's floor, a river's bed and an island's ground off and on. Channel Shape keeps the built-in cut or uses a Curve Channel: an Elevation Curve (an S by default) across a Curve Ramp Width from the shore, starting Channel Edge Offset in from it (negative out on the bank), to the body's Bed Depth (a river's, its points' Depth); laid over the terrain as Min (only cuts), Max (only raises) or Alpha Blend (either way), its bank running back into the ground over Falloff Width, the whole moved by Z Offset, and stepped by Terraces (alpha, spacing, smoothness). Details also lists, read-only, the Water Body Islands and Water Body Exclusion Volumes over a body and its Owning Water Zone, and
Waters.influencesOf(entity)answers the same at run time. - Each body of water can look its own from under it. A WaterBody's new Underwater settings choose where the look from under it comes from: the zone's water material, as before, or its own colour, absorption, density and sunlight through the waves. A murky pond and a clear sea in one zone now each look their own once the camera goes under them.
- More of a body of water's own settings. A WaterBody's Wave Attenuation Depth calms its waves where its water is shallower than that depth, flat at the water's edge (0 calms them by no depth; the Shore Width still calms them toward the shore). Its Overlap Priority decides whose colour the water takes where two bodies overlap: the higher priority's, blending only across its own edge, while equal priorities blend as before. Shape Dilation grows its water past its outline, holding a stream or a pond narrower than a few of the zone's texels together. Under the water, Underwater Enabled turns its underwater look off for water a game never goes under, and where the camera is under two bodies at once, the higher Underwater Priority is laid over the lower by its Underwater Blend Weight, fading in across its Underwater Blend Radius past its outline.
Waters.bodiesAt(x, z)lists the bodies a point is in.
Changed
- An exclusion volume is drawn as a box. Selected, a WaterBody set to Exclusion Volume showed only its outline on its middle plane, so how far up and down it kept the water out (its Size Y) could not be seen. The viewport now draws its outline at its top and its bottom too, joined at every point.
- AI agents can connect from the first launch. Allow AI agents to connect (Settings > AI Agents) is now on by default, so someone new to the editor can ask an AI tool for help without first finding a switch. It opens a local-only port behind a token, and a connected agent can only read the project until you let it change things in Connect an AI tool. Turn it off to have nothing listening.
- Panel tabs read as cards. Each docked panel's tab has 4px rounded top corners and room after its title, with the close button at the tab's right end. The focused panel's tab is marked by a thin line along its top, brightest at the middle and fading out to both ends, and the active tab's title and icon are white.
Fixed
- A mesh draws on Adreno 6xx phones. On a Pixel 5 (Adreno 620) and phones like it, every 3D mesh was missing: the driver refused to link the mesh programs ("cannot compute gv size for oob"), so a scene showed its sky and nothing standing in it. The vertex stage looked up a multi-drawn draw's records and a morphed mesh's shape weights in uniform arrays indexed by
gl_DrawIDand a loop counter, which those drivers cannot compile. Each draw now has an entry in the frame's record texture, beside the records it places, and a morphed draw's weights follow it there, so the vertex stage reads both with a texel fetch on every backend. A material's mesh variant now blends as many shapes as a built-in mesh does (64, not 8). - Content Browser tiles no longer overlap the row below. The grid is laid out in rows of one height, measured off the first row in view, but an image's tile carries a line more than a mesh's (its size) and a folder's a line less, so a row of images under a row of meshes ran into the next row. Every tile now keeps room for the same two lines under its name.
- Deleting an asset another program has open says which and why. Deleting a file or folder in the Content Browser used to fail with "Error invoking remote method 'fs:trash': Error: Failed to perform delete operation" whenever something on Windows still had a file in it open. The editor now tries again for about a second (a virus scanner or the search indexer often holds a file just written), and if the file is still held, names it (or, where only its folder will not move, the folder) and says to close it in the program using it, such as a running game, a player or another editor.
- Parallax layers stay put while you pan or zoom the editor viewport, and move when you move the scene camera. The viewport measured parallax from its own eye, so a background at a parallax factor below 1 slid against the rest of the scene on every pan or zoom, and moving the game's camera moved nothing. Layers now sit where the scene camera puts them, so the viewport shows the parallax play will have. Show > Parallax from game camera turns this off and shows the layers where they were placed. Sprites, shapes, text, meshes and tilemap layers all follow it; a game is unchanged.
- A web export's page lets in fonts embedded as data: URLs. Its security policy named no font source, so a font a page's CSS embeds as a
data:URL (a game's own@font-face, or one the browser adds) was refused and logged as an error on every load. - The fixed timestep applies without physics. Project Settings > Physics > Fixed timestep is the step of every FixedUpdate system, but only the physics plugins handed it to the game, so a project that steps its own logic at a fixed rate without physics ran at 1/60 whatever it said. Every runtime now sets it before the first scene, physics or not, and the setting says so.
- An AI agent can set a Spline's points. A list a component declares but Details has no row of its own for was taken to be a list of project paths, so writing a Spline's points (or any list of records) over MCP, through set_field or a scene op, was refused with "is a list of strings". The list is now checked against what the component's own default holds: records where it holds records.
- A screenshot taken during Play waits for the game's shaders. The running game compiles its shaders in the background and leaves a draw out until its shader is ready; on the first Play after the editor opens that takes a moment longer, behind the editor's own. A screenshot taken then (by an AI agent over MCP, or an editor check) showed the scene with its water or other materials missing. The editor now counts the game's shaders still compiling as work in hand, so a screenshot waits for them as it already did for the viewport's.
- An entity added inside a prefab instance is applied and saved with it. An entity created under a prefab instance (from the Create menu, or by an AI agent's scene ops), or moved under one, was not counted as part of the instance: Apply passed over it and re-made the instance without it, so it never reached the prefab, and a saved scene put it under a parent the saved instance no longer lists. It is now an entity the instance adds: Apply writes it into the prefab, the other instances take it, and a save keeps it inside the instance.
- Water no longer starts shaking wildly after a stutter. A water zone with ripples (the rings a boat or a dropped body leaves) could suddenly turn into a field of large jittering blotches. Each step of the ripple simulation read the previous one as a velocity under its own length, so a long frame after short ones (a hitch, a busy editor, a background tab) amplified every wave, and a few hitches grew a ripple without bound. Ripples now step in substeps of one fixed length and carry the rest of a frame to the next; they die away the same at any frame rate.
- Quick taps on a slow frame are no longer lost. When a touch screen reported several whole taps before the game drew its next frame, and the platform gave them the same touch id (WeChat, mini-game hosts and browsers often do), only the last one reached the UI: tapping three buttons quickly during a long frame could select one. Each tap is now a press, a release and a click of its own, in the order it happened.
- Standalone Game opens its game window on Windows. A game could start playing while its window stayed hidden.
- The viewport follows the spline point Details picks. Stepping through a spline's or an outline's points with Selected Points in Details changed which point the rows edit, but the viewport went on marking the one picked before until something else (the camera moving) redrew it. It now marks the picked point as soon as it changes.