summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-08Add array element type to `_get_polygons` and `_get_outlines`Raul Santos
2022-02-08Fix RayCast{2,3}D.clear_exceptions clears parentHaoyu Qiu
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-02-01Merge pull request #57355 from akien-mga/method-bindings-clearer-typesRémi Verschelde
2022-01-28Merge pull request #56601 from Scony/fix-navigation-obstacle-errorsRémi Verschelde
2022-01-28Improve some method bindings to use specific `Object` subtypesRémi Verschelde
This was made possible by changes to `VariantCaster` which now make it possible to pass any `Object`-derived type as pointer.
2022-01-28TileSetAtlasSource: Make `get_tile_data` return `TileData *`Rémi Verschelde
This is now possible thanks to `Variant` changes. Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-26Revert #53174 (applying the delta in move and collide), rename rec_vel to ↵fabriceci
distance and improve the doc description
2022-01-25Store ObjectID instead of raw pointer for Shape OwnersHaoyu Qiu
2022-01-24Merge pull request #56888 from FreegleBarr/implement_gpuparticle_subemitters2dRémi Verschelde
2022-01-24Merge pull request #57144 from AnilBK/fix-pos-draggingRémi Verschelde
2022-01-24ported particle sub-emission to 2Dfreeglebarr
2022-01-24Merge pull request #57120 from KoBeWi/grandpa_issueRémi Verschelde
2022-01-25Node2D/Node3D: Fix Undraggable Position Property.Anilforextra
2022-01-24rename free mode to floating modefabriceci
2022-01-24Better clarify map_to_world() descriptionkobewi
2022-01-19Fix error on scene tiles cleanupkobewi
2022-01-18Merge pull request #47522 from madmiraal/rename-test_width-test_heightRémi Verschelde
2022-01-13Merge pull request #55665 from KoBeWi/you_touched_my_TouchScreeenButtonRémi Verschelde
2022-01-12Merge pull request #56696 from AnilBK/use-init-listsRémi Verschelde
2022-01-12Use List Initializations for Vectors.Anilforextra
2022-01-11Fixed incorrect property typesArnav Vijaywargiya
2022-01-09Path2D: Check points count before rendering.Anilforextra
2022-01-07Fix NavigationObstacle errorsPawel Lampe
* `NavigationObstacle2D` premature radius estimation (before entering the tree) * `NavigationObstacle3D` premature radius estimation (before entering the tree)
2022-01-07i18n: Sync template with current 3.x codebaseRémi Verschelde
Weblate will now track the state of `3.x` to prepare for the 3.5 release. (cherry picked from commit 02d9ac107158c8c5d95f1ecc48078d66e00c1a57)
2022-01-05NavigationServer: Restore constness for thread safe `get_singleton`Rémi Verschelde
This was removed by mistake in #47024, NavigationServer uses internal mutability for thread safety, and removing `const` breaks the contract.
2022-01-04Rename Project Window width and height settings to match their functionMarcel Admiraal
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-18Fix crash when executing `TileMap.map_pattern`Haoyu Qiu
Validates the input reference.
2021-12-13Merge pull request #52998 from AnilBK/node2d-renamesRémi Verschelde
Node2D member renames.
2021-12-10Improve RigidDynamicBody force and torque APIPouleyKetchoupp
Makes the API for forces and impulses more flexible, easier to understand and harmonized between 2D and 3D. Rigid bodies now have 3 sets of methods for forces and impulses: -apply_impulse() for impulses (one-shot and time independent) -apply_force() for forces (time dependent) applied for the current step -add_constant_force() for forces that keeps being applied each step Also updated the documentation to clarify the different methods and parameters in rigid body nodes, body direct state and physics servers.
2021-12-10Merge pull request #51235 from AnilBK/awkward-funcsRémi Verschelde
2021-12-10Merge pull request #55263 from RPicster/ParticleMaterial-random-start-colorRémi Verschelde
2021-12-10Merge pull request #55572 from aaronfranke/ci-doubleRémi Verschelde
2021-12-09Add a double-precision editor build to CIAaron Franke
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Fix _validate_property on AnimatedSprite 2D and 3DJonathan Gollnick
2021-12-06Rename TouchScreenButton's textureskobewi
2021-12-03Random initial color parameter for ParticleMaterialRaffaele Picca
Works with 2D and 3D GPU Particles
2021-12-02Merge pull request #55271 from RPicster/particles-texture-animation-speedRémi Verschelde
2021-12-01Faster Path2D drawing with polylinelawnjelly
Changes the Path2D drawing to use POLYLINE instead of thick lines.
2021-11-29Merge pull request #55417 from ekumlin/issue-54856Rémi Verschelde
2021-11-28Visibility rect only shown when a GPUParticle2D is selected to reduce visual ↵Raffaele Picca
clutter in scenes with a lot of Particle nodes.
2021-11-26Fixed texture animation speed when using random lifetime ( Particle2D gpu + ↵Raffaele Picca
cpu) as mentioned here: https://github.com/godotengine/godot/issues/54993
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Improve various textskobewi
2021-11-19Scales the horizontal velocity according to the wall slope in 2Dfabriceci