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

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.

主站蜘蛛池模板: 大埔县| 深泽县| 新巴尔虎左旗| 桐梓县| 朝阳区| 屏东市| 怀宁县| 平定县| 台前县| 松桃| 红原县| 丰县| 页游| 乐安县| 阜城县| 丹棱县| 常山县| 安西县| 金山区| 中牟县| 安塞县| 通道| 海丰县| 通化市| 新田县| 习水县| 德保县| 绥阳县| 阿合奇县| 金寨县| 当涂县| 东至县| 五原县| 固阳县| 吉木萨尔县| 开原市| 新巴尔虎右旗| 牡丹江市| 安义县| 榆树市| 呼图壁县|