mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
3475156ae3
This small in-engine documentation change aims to make it easier to discover ways to handle pixel art aesthetics. - I have moved 2D pixel snapping settings out of "Advanced." This now matches other pixel-art-friendly settings for GUI Snapping and Default Texture filtering. - I've added notes to the project settings and Sprite/AnimatedSprite sources to hint users towards better understanding of why pixelated sprites may not work correctly and what to do about it. This should help users make informed decisions for their needs. Context: Proper handling of pixel art in Godot is routinely frustrating for new users: I, like others, assumed that Godot would act on pixels, not subpixels, when I was working a pixel art game. I was confused when my interpolations would appear blurry, and when pixel textures would be distorted for no apparent reason (this was because of centering). I had naively thought that setting Linear interpolation would be the single "it's a pixel art game" toggle, but that only hid the underlying issues until later. I had no idea there was a snap-to-pixel option because it was hidden in the Advanced options, since my default assumption was that a pixel art game would want no subpixels at all. Some references for the frustration: - https://github.com/godotengine/godot/issues/82696 - https://www.reddit.com/r/godot/comments/fah25e/best_way_to_achieve_pixel_perfect_rendering/ - https://shaggydev.com/2021/09/21/project-setup-for-pixel-art/ |
||
---|---|---|
.. | ||
classes | ||
tools | ||
translations | ||
class.xsd | ||
Doxyfile | ||
Makefile |