官术网_书友最值得收藏!

Pixel rendering

Vector coordinates in Godot are floating point numbers, not integers. This means a Vector2 could have a fractional value, such as (1.5, 1.5). Since objects can't be drawn at half pixels, this can cause visual problems for pixel art games where you want to ensure that all the pixels of the textures are drawn.

To address this, open Project | Project Settings and find the Rendering/Quality section in the sidebar and enable Use Pixel Snap, as shown in the following screenshot:

If you're using 2D pixel art in your game, it's a good idea to always enable this setting when you start your project. This setting has no effect in 3D games.

主站蜘蛛池模板: 西和县| 明水县| 九龙坡区| 龙游县| 德阳市| 澄城县| 林芝县| 克拉玛依市| 瑞金市| 南平市| 金门县| 仙桃市| 茌平县| 南城县| 报价| 伊通| 广东省| 古田县| 固安县| 乐业县| 亳州市| 望都县| 普陀区| 洮南市| 贡山| 嘉定区| 洪雅县| 靖边县| 灵石县| 连云港市| 开江县| 兴义市| 祁连县| 武城县| 永川市| 贵港市| 蓬莱市| 慈溪市| 呼图壁县| 永靖县| 剑川县|