- Godot Engine Game Development Projects
- Chris Bradfield
- 119字
- 2021-06-18 18:51:26
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.
推薦閱讀
- 樂高機器人:WeDo編程與搭建指南
- Practical Data Wrangling
- Visual FoxPro 6.0數(shù)據(jù)庫與程序設(shè)計
- 西門子S7-200 SMART PLC從入門到精通
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- ROS機器人編程與SLAM算法解析指南
- CorelDRAW X4中文版平面設(shè)計50例
- 具比例時滯遞歸神經(jīng)網(wǎng)絡(luò)的穩(wěn)定性及其仿真與應(yīng)用
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- 激光選區(qū)熔化3D打印技術(shù)
- SQL Server數(shù)據(jù)庫應(yīng)用基礎(chǔ)(第2版)
- INSTANT Adobe Story Starter
- Photoshop CS4數(shù)碼照片處理入門、進階與提高
- 微機組裝與維護教程
- Flash CS3動畫制作