summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2019-08-20Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-19Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn
Related to #22988 (Fixes the holes in the shape of the first comment)
2019-08-18Improve the appearance of 2D path editorsHugo Locurcio
- 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
2019-08-14Merge pull request #31360 from nekomatata/fix-error-parallax-mirroringRémi Verschelde
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
2019-08-14Fixed error in ParallaxLayer when set_mirroring is called before entering ↵PouleyKetchoupp
the tree Fixes #31300
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-08Merge pull request #31194 from bojidar-bg/29312-corrupt-initial-tilemapRémi Verschelde
Fix corrupted TileMap saves due to missing/wrong format
2019-08-08Fix corrupted TileMap saves due to missing/wrong formatBojidar Marinov
Fixes #29312
2019-08-07Merge pull request #31077 from qarmin/coverity_bugsRémi Verschelde
Change some code proposed by Coverity and Cppcheck
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-06Tweaks related to Camera2D drag marginsTomasz Chabora
2019-08-01Merge pull request #30905 from clayjohn/set-cpuparticles2d-visibleRémi Verschelde
Toggle CPUParticles2D visibility when redrawing
2019-07-31Tweak Area and PhysicsBody damping setting hints for consistencyHugo Locurcio
This partially addresses #19182.
2019-07-28toggle CPUParticles2D visibility when redrawingclayjohn
2019-07-27Add frame_cords accessors to Sprite and Sprite3Dgroud
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
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.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-15Merge pull request #30590 from clayjohn/particle_lifeRémi Verschelde
Added individual particle random lifetime
2019-07-14added individual particle random lifetimeclayjohn
2019-07-12Improve 2D RayCast and one-way collision drawingHugo Locurcio
- 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
2019-07-10Merge pull request #30451 from raphael10241024/fix_outlineRémi Verschelde
Fix DynamicFont outline does not draw using draw_char
2019-07-09Merge pull request #30304 from DavidSichma/remote_cacheRémi Verschelde
Exposed update_cache() of RemoteTransform and RemoteTransform2D
2019-07-09Add `width` and `antialiased` parameters to CanvasItem `draw_rect()`Hugo Locurcio
This also removes some duplicated editor code which is now obsoleted by the new parameters in `draw_rect()`.
2019-07-09Added force_update_cache() to RemoteTransform and RemoteTransform2DDavid Sichma
2019-07-09Fix DynamaicFont outline does not draw using draw_charRaphaelHunter
2019-07-09Improve the node configuration warning displayHugo Locurcio
- 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
2019-07-08Merge pull request #30361 from LikeLakers2/camera2d-offset-ignores-limitRémi Verschelde
Camera2D's offset now ignores the limit property
2019-07-08Fix some issue with TileMap's and other nodes' boundariesBojidar Marinov
Fixes #30348 Addresses a small part of #30012
2019-07-07Merge pull request #30357 from simonpuchert/spheresRémi Verschelde
Particles / CPUParticles: Return uniform density spheres.
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
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)
2019-07-05Camera2D's offset now ignores the limit propertyLikeLakers2
2019-07-06cpu_particles: Return uniform density spheres.Simon Puchert
The current implementation normalizes points from a uniform distribution on a cube. This creates a non-uniform distribution on the sphere.
2019-07-02Merge pull request #30231 from Ranoller/masterRémi Verschelde
Tilemap fix displaced textures and shapes and added center texture and compatibility mode
2019-07-02Tilemap fix displaced textures and shapes and added center texture and ↵Ranoller
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
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-07-02Merge pull request #26613 from KoBeWi/direction_of_particlesRémi Verschelde
Add a Direction property to ParticlesMaterial
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Merge pull request #28565 from CedNaru/CurvedWidthLine2DRémi Verschelde
Added a Width Curve to Line2D + UVs fix
2019-06-30Fix uninitialized variables in Line2D, JSONParseResult and TileMapRémi Verschelde
2019-06-30CPUParticles2D: Fix gravity to be the same as in Particles2D and Area2DRémi Verschelde
This was likely a typo, 10 times the standard gravity is 98.0665 (ca. 98), not 98.8.
2019-06-29Merge pull request #25649 from bojidar-bg/4454-promote-tilemap-shapesRémi Verschelde
Allow CollisionObject2D to get shapes from tilemaps
2019-06-29Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde
Add default values to the editor help, docs, and generated RST
2019-06-27Allow ColisionObject2D to get shapes from tilemapsBojidar Marinov
Fixes #4454 and likely resolves #22285
2019-06-27Merge pull request #29937 from clayjohn/particles-one-shot-bugRémi Verschelde
Update emitting status on one-shot particles
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086