AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Phaser transparent rectangle12/15/2023 ![]() ![]() □ Fixed an issue when loading audio files from a Phaser project wrapped in Capacitor native app shell on iOS (thanks □ Video would not resume playing after regaining focus swapping from another browser tab.Fix #5642 (thanks The property can now be a WheelEvent as well. Fix #5570 (thanks Math.ToXY will now return an empty Vector 2 if the index is out of range, where before it would return the input Vector2 (thanks ⚡️ The UpdateList.shutdown method will now remove the PRE_UPDATE handler from the ProcessQueue correctly (thanks When loading a Video with a config object, it would not get the correct key value from it (thanks The GameObjectFactory.existing method will now accept Layer as a TypeScript type. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5628 (thanks The Mesh Game Object would incorrectly cull faces if the Scene Camera scrolled. ⏪ Have reverted all of the DOM Element CSS changes back to how they were in 3.52, causing both DOM Input and Phaser Input to work together properly again.The t1fv, set2fv, set3fv, set4fv, set1iv, set2iv, set3iv, set4iv, setMatrix2fv, setMatrix3fv and setMatrix4fv methods no longer try to do array comparisons when setting the uniforms, but sets them directly.tUniform4 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.tUniform3 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.tUniform2 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.The types have been improved for WebGL Compressed Textures (thanks □ Container.moveAbove is a new method that will move a Game Object above another in the same Container (thanks □ Container.moveBelow is a new method that will move a Game Object below another in the same Container (thanks □ List.moveAbove is a new method that will move a Game Object above another in the same List (thanks □ List.moveBelow is a new method that will move a Game Object below another in the same List (thanks □ The MeasureText function, as used by Text Game Objects, has had its performance enhanced by removing a duplicate image data check and also now checks for metrics properties correctly (thanks tUniform1 has a new optional boolean parameter skipCheck which will force the function to set the values without checking against the previously held ones.This means that drawing Sprites and Graphics / Shapes will all batch together again. The Graphics Game Object and all of the Shape Game Objects have been updated to use the new Multi Pipeline. ⚡️ All of the methods from the GraphicsPipeline have now been merged with the MultiPipeline, these include batchFillRect, batchFillTriangle, batchStrokeTriangle, batchFillPath, batchStrokePath and batchLine.This has the effect of erasing any filled pixels in the objects being drawn. The RenderTexture.endDraw method has a new optional boolean erase which allows you to draw all objects in the batch using a blend mode of ERASE.is a new config property set via dom: within the Game Config that allows you to set the pointerEvents css attribute on the DOM Element container.This is auto by default and should not be changed unless you know what you're doing. 0️⃣ is a new property that allows you to set the pointerEvents attribute on the DOM Element CSS. ![]()
0 Comments
Read More
Leave a Reply. |