godot/scene
Sabs, like Sobs 3475156ae3 Expose pixel snapping settings add pixel-art notes
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/
2024-02-17 23:40:53 +00:00
..
2d Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
3d Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
animation Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
audio Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const 2024-02-08 13:01:50 -06:00
debugger Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport 2024-02-13 18:53:21 +09:00
gui Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
main Expose pixel snapping settings add pixel-art notes 2024-02-17 23:40:53 +00:00
resources Make consistent the retrieval of audio tracks 2024-02-18 00:15:33 +09:00
theme Merge pull request #84763 from KoBeWi/all-knowing_theme_editor 2024-02-13 17:23:07 +01:00
property_list_helper.cpp Add PropertyListHelper to PopupMenu 2024-02-11 12:09:55 +01:00
property_list_helper.h Add PropertyListHelper to PopupMenu 2024-02-11 12:09:55 +01:00
property_utils.cpp Fix node property duplication 2023-11-04 10:45:38 +02:00
property_utils.h
register_scene_types.cpp Implement support for application status indicators (tray icons). 2024-02-13 15:59:35 +02:00
register_scene_types.h
scene_string_names.cpp Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
scene_string_names.h Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
SCsub