Skip to content

Releases: playcanvas/engine

v0.219.5

07 Dec 19:21
Compare
Choose a tag to compare
  • Changing batchGroupId now marks old/new groups dirty, and they're be regenerated automatically
  • [FIX] Fix resuming sounds from the same spot after pausing
  • [FIX] Custom attributes in custom shadow shaders

v0.219.3

29 Nov 18:31
Compare
Choose a tag to compare
  • Added Runtime Batching which allows multiple mesh instances to be combined into batches in order to reduce draw calls

  • Added two-sided lighting in pc.StandardMaterial

  • Allow chunks and custom uniforms in shadow shaders

  • Parameters now have passFlags to determine in which passes they are used

  • [FIX] Enable mouse input and touch input simultaneously for Elements

  • [FIX] Initialize pc.Element#autoWidth and pc.Element#autoHeight before other properties so that the text element has the correct width after it's initialized.

  • [FIX] Fix initialize and postInitialize not called on script instances when they become enabled

  • [FIX] Do not call postInitialize when scripts get disabled in initialize

  • [FIX] Made skybox not cullable

  • [FIX] Typos in comments

v0.216.5

08 Sep 15:43
Compare
Choose a tag to compare
  • Added pc.Entity#destroy event
  • Updated docs for pc.GraphNode#find
  • [FIX] Set parent to null for all child entities when the parent is destroyed
  • [FIX] Remove insert event handler from element component when the component is removed
  • [FIX] Clear all event handlers from an entity when it's destroyed

v0.216.4

08 Sep 15:34
Compare
Choose a tag to compare
  • [FIX] Handle missing material / texture assets for image elements
  • [FIX] Remove resizecanvas event from screen component when component is removed

v0.216.3

31 Aug 13:59
Compare
Choose a tag to compare
  • [FIX] Fix image elements losing user assigned material on screen resize

v0.216.2

30 Aug 12:27
Compare
Choose a tag to compare

[FIX] Ambient light no longer affects element components
[FIX] Input checking when window resolution is fixed for 2D and 3D elements

v0.216.1

29 Aug 11:15
Compare
Choose a tag to compare

[FIX] Fix non preloaded sounds not playing when AudioContext is not available
[FIX] Docs fixes

v0.216.0

29 Aug 11:14
Compare
Choose a tag to compare
  • Added intensity value to font data to boost value read from SDF
  • Added mouse and touch input handling for element components
  • Better API docs for pc.Entity#addComponent
  • Support different font atlas parameters
  • Added pc.ElementComponent#canvasCorners
  • Added docs for ScreenComponent, ScreenComponentSystem, ElementComponent, ElementComponentSystem, and Font
  • Ignore color and opacity when a material is set
  • Image elements can now work without a texture if you just want to show color / opacity
  • [BREAKING] Removed pc.ElementComponent#canvasPosition - use midpoint of canvasCorners[0] and canvasCorners[2] instead.
  • [FIX] Various fixes when using element component split anchors
  • [FIX] Element component size not being calculated after screen is set for the first time
  • [FIX] Element worldCorners / screenCorners optimizations and fixes
  • [FIX] Calculate text element width and height correctly using font bounding box
  • [FIX] Pre-calculate font extents instead of doing it per-char in the string
  • [FIX] Element sorting bugs
  • [FIX] Fix flipped normal on image elements
  • [FIX] Disable shadows on image and text elements
  • [FIX] Fix browser color-correcting images

v0.215.0

01 Aug 13:33
Compare
Choose a tag to compare
  • Simplify GraphNode.getWorldTransform

  • Simplify and optimize GraphNode.syncHierarchy

  • GraphNode.sync is now called from 5 to 1000+ times less due to dirtify caching

  • Performance of retrieving world transformations: getPosition, getRotation, getEulerAngles, etc. is much faster now, especially if no ancestor was transformed during the frame

  • Changed pc.createCylinder opts.baseRadius to opts.radius (old way still works)

  • Optimize morphing init time

  • [FIX] Typo in comment

  • [BREAKING] If you are using the tween library from https://github.com/playcanvas/playcanvas-tween/blob/master/tween.js make sure to get the latest file from the repository.

v0.214.0

14 Jul 14:17
Compare
Choose a tag to compare

[ADDED] Support for scale compensation. Enabling pc.GraphNode#scaleCompensation prevents scale from propagating down the hierarchy from that node.
[FIX] Various morph target fixes.
[FIX] Correctly disable attributes on destroying vertex buffers.
[FIX] Require normals if only a heightmap is specified on a pc.StandardMaterial.
[FIX] Fix draw order of elements in the picker.
[FIX] Fix issues with sounds not being resumed from the same point after being paused.