mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00: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/ |
||
---|---|---|
.. | ||
canvas_item.cpp | ||
canvas_item.h | ||
canvas_layer.cpp | ||
canvas_layer.h | ||
http_request.cpp | ||
http_request.h | ||
instance_placeholder.cpp | ||
instance_placeholder.h | ||
missing_node.cpp | ||
missing_node.h | ||
multiplayer_api.cpp | ||
multiplayer_api.h | ||
multiplayer_peer.cpp | ||
multiplayer_peer.h | ||
node.cpp | ||
node.h | ||
resource_preloader.cpp | ||
resource_preloader.h | ||
scene_tree.cpp | ||
scene_tree.h | ||
SCsub | ||
shader_globals_override.cpp | ||
shader_globals_override.h | ||
status_indicator.cpp | ||
status_indicator.h | ||
timer.cpp | ||
timer.h | ||
viewport.cpp | ||
viewport.h | ||
window.cpp | ||
window.h |