Age | Commit message (Collapse) | Author |
|
Prevent move_and_slide() to generate an error.
|
|
Initialize TileMap Custom Transform
|
|
Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948.
|
|
The CanvasItem property setters `set_modulate`, `set_self_modulate`
and `set_light_mask` have some side effects that don't need to be run
if the value hasn't changed.
This closes #31777.
|
|
|
|
When moving KinematicBody2D from one scene to another and not freeing
the old scene, the first call to move_and_slide() in the new scene will
generate an error because KinematicBody2D keeps internaly a
RID on_floor_body of a body resource in the old scene which no more has
a space assigned.
To fix this, on_floor_body is set to empty RID in response to
NOTIFICATION_ENTER_TREE notification of KinematicBody2D and
KinematicBody. Also all other data related to move_and_slide() is reset:
floor, ceiling, wall flags, colliders vector, floor_velocity.
This fixes #31416.
|
|
Fix floor_max_angle comparison for impossible angles
|
|
|
|
Replace is_zero_approx(A.distance_to(B)) with A==B
|
|
Related to #22988 (Fixes the holes in the shape of
the first comment)
|
|
- Add new handle icons for path/polygon editors
- Add smooth path point icons and curve tangent icons
- Use a gray color for tangent lines in the Path2D and Path editors
- Use antialiasing for Path2D lines
|
|
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
|
|
the tree
Fixes #31300
|
|
|
|
|
|
Fix corrupted TileMap saves due to missing/wrong format
|
|
Fixes #29312
|
|
Change some code proposed by Coverity and Cppcheck
|
|
|
|
|
|
Toggle CPUParticles2D visibility when redrawing
|
|
|
|
This partially addresses #19182.
|
|
|
|
|
|
This was a regression in 3.1 and later from the new inspector, where
PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to
be a normal PROPERTY_HINT_RANGE which also automatically increments its
value when keyed in the animation player.
To avoid code duplication, I made the frames properties use the actual
PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS
usage flag instead.
|
|
Changed some code reported by LGTM and Coverity
|
|
|
|
Added individual particle random lifetime
|
|
|
|
- Make RayCast2D gray when it's disabled
- Make the one-way collision arrow use the inverted shape debugging
color (will result in an orange color by default)
- This makes it easier to distinguish it from RayCast2D arrows
- Make lines slightly thinner
- Make the RayCast2D arrow tip larger
- Use anti-aliasing for the RayCast2D and one-way collision lines
|
|
Fix DynamicFont outline does not draw using draw_char
|
|
Exposed update_cache() of RemoteTransform and RemoteTransform2D
|
|
This also removes some duplicated editor code which is now obsoleted
by the new parameters in `draw_rect()`.
|
|
|
|
|
|
- Refer to properties explicitly when possible
- When multiple warnings are returned, always separate them by one
blank line to make them easier to distinguish
- Improve grammar and formatting
|
|
Camera2D's offset now ignores the limit property
|
|
Fixes #30348
Addresses a small part of #30012
|
|
Particles / CPUParticles: Return uniform density spheres.
|
|
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
|
|
|
|
The current implementation normalizes points from a uniform distribution
on a cube. This creates a non-uniform distribution on the sphere.
|
|
Tilemap fix displaced textures and shapes and added center texture and compatibility mode
|
|
compatibility mode
This commit fix #22989 #15249 #28206. Main problem is that tilemap displace textures in different tile origins in a strange way and doesn´t respect coincidence between texture and shapes in not uniform tiles. This issue is present in godot 3.0 and godot 3.1. To maintain compatibility are added a compatibility mode and a center texture option. Other related issues and pull request: #28896 #29487 #29519 #29961. Idications of #30204 are added
|
|
|
|
Add a Direction property to ParticlesMaterial
|
|
Fix some editor crashes
|
|
Remove unnecessary code and add some error explanations
|
|
|