![]() ![]() This means that all pixel rounding calculations are now done on the GPU instead of the CPU, which can save a lot of math in intensive games. All of the core vertex shaders, including Multi, Single and Mobile now have a new uniform called uRoundPixels which is set in all of the corresponding pipelines.So if you're creating a pixel-art style game, please still enable this in your config. Note that only roundPixels has been set to true. If you wish to disable this, you can do so by setting the roundPixels property in the Game Config to false. This will prevent sub-pixelation when rendering at non-integer offsets and allows for smoother camera scrolling, especially at higher zoom scales. This means that all Game Objects will be positioned and rendered with pixel-perfect precision, which is by far the most common use-case for Phaser games. The Game Config roundPixels property is now true by default.This feature has now been enabled by default. ![]() What's New in 3.70.0? Version 3.70.0 - Yotsuba - 10th November 2023 New Features - Round PixelsĪll pixel rounding math is now handled on the GPU instead of on the CPU. If you're just doing a quick test then it's safe to grab the js files, however it's always worth having the source code to hand for reference. The zip and tar links download an archive of the repository. The "js" and "min.js" links download pre-built versions of Phaser with all modules enabled. Which file should I download?įamiliar with git? Use the "clone" link to get the whole repo. The latest CE release is 2.19.1 released on 13th October 2021. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |