godot/scene
lawnjelly 847a37b196 Change 2d transform snapping from floor to round
Two common problems have emerged as a result of transform snapping:
1) Camera jitter with a camera following a snapped object
2) Pixel gaps between e.g. a platform and a player, where a platform rounds down and a player rounds up

Using round seems to greatly reduce problems due to camera jitter. It also may prove better for  pixel gaps because pixel art is often designed on a grid, so whole numbers are too expected, which are unstable with floor().
2021-02-28 14:34:39 +00:00
..
2d Change 2d transform snapping from floor to round 2021-02-28 14:34:39 +00:00
3d Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00
animation Tween: Add null check for target object 2021-02-25 15:14:31 +01:00
audio Don't fade out after pausing unless stream is running 2021-02-19 15:55:41 +01:00
debugger Modernize Mutex 2021-02-18 11:58:08 +01:00
gui Fixed issues with slider focus and scroll input 2021-02-26 15:27:42 +01:00
main Fix crash during drag if user freed the drag preview 2021-02-27 15:16:06 +01:00
resources Fix crash when loading a scene containing an uncreatable type 2021-02-26 11:30:38 +01:00
register_scene_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00