summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2019-06-15Fix compilation warnings in JS and Windows buildsRémi Verschelde
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.
2019-06-13Implement missing orbit velocity for CPUParticles and CPUParticles2DRémi Verschelde
The relevant code was copied from (GPU) ParticlesMaterial but commented out initially, and never ported. Closes #29580.
2019-06-12Cleanup some unecessary editor/ includes in scene/Rémi Verschelde
Part of #29730, handles false positives.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12Merge pull request #29696 from akien-mga/cpuparticles-randomnessRémi Verschelde
CPUParticles: Do randomness ratio computations in phase instead of time
2019-06-12Merge pull request #29685 from akien-mga/cpuparticles-tangential-accelRémi Verschelde
CPUParticles: Fix inconsistent tangential acceleration
2019-06-11CPUParticles: Do randomness ratio computations in phase instead of timeRémi Verschelde
The original shader code uses a phase (ratio from 0 to 1 for the particle lifetime) for the randomness ratio computations, and this code was ported over but converted to time computations. The seeding/cycle logic was thus invalid, so we're going back to phase for these computations, thus fixing the previous non-working time/emission randomness property. Part of #29692. Follow-up to #26859.
2019-06-11CPUParticles: Fix inconsistent tangential accelerationRémi Verschelde
The tangential acceleration for both CPUParticles2D and CPUParticles had been badly converted from their GPU counterpart (ParticlesMaterial). This fixes it and ensures that both GPU and CPU particles behave the same with regard to tangential acceleration.
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-11Merge pull request #29558 from SamSindt/fix-lifetime-reversed-CPUParticles2DRémi Verschelde
Reversed operator in SortLifetime fixing #29440
2019-06-11Merge pull request #29519 from Ranoller/masterRémi Verschelde
Make tilemap texture origin point top-left.
2019-06-10Fix crash when frames are emptyqarmin
2019-06-06Reversed operator in SortLifetime fixing #29440SamSindt
2019-06-06Fix 2D Line crashqarmin
2019-06-05Make tilemap texture origin point top-left.Ranoller
Fix https://github.com/godotengine/godot/issues/29487. In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-06-03added MultiMeshInstance2D node for using MultiMesh in 2Dclayjohn
2019-06-02Properly add "texture_changed" signal to MeshInstance2DMichael Alexsander Silva Dias
Fixes #29410.
2019-06-02Merge pull request #28390 from KoBeWi/smaller_bigger_gizmoRémi Verschelde
Allow to change Position2D gizmo size
2019-06-01Allow to change Position2D gizmo sizeTomasz Chabora
2019-06-01Merge pull request #24560 from guilhermefelipecgs/fix_24549Rémi Verschelde
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-05-29Fix wrong property binding for NavigationPolygon::verticesRémi Verschelde
2019-05-28Merge pull request #28896 from Ranoller/masterRémi Verschelde
Fix tilemap displaced textures and shapes
2019-05-25Don't allow PathFollow offset outside boundsTomasz Chabora
2019-05-24Don't modulate canvas on invisible color changeTomasz Chabora
2019-05-22Fix 2D bones ignored by onion skinningPedro J. Estébanez
Fixes #27819.
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-15Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and ↵Ranoller
CENTER and other casuistry This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249, https://github.com/godotengine/godot/issues/28206, https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-04Fix ParallaxBackground breaking when moving it out the scene treeColin Redman
2019-04-30Merge pull request #27371 from ShyRed/fixdisabled2dcollisionsRémi Verschelde
Allow adding disabled shapes
2019-04-30Merge pull request #27805 from Kanabenki/line2d-add-point-idxRémi Verschelde
Add optional position argument for add_point in Line2D
2019-04-30Merge pull request #27845 from samdze/masterRémi Verschelde
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-29Merge pull request #18992 from aaronfranke/mono-equal-approxRémi Verschelde
[Core] [Mono] Improve and use approximate equality methods
2019-04-27Make TileMap overridable "set_cell" function called on undo/redoSamuele Zolfanelli
2019-04-27Revert "Fix AudioStreams::stop possibly causing a small noise"Juan Linietsky
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-23Allow adding disabled shapesShyRed
Adds the ability to directly add disabled shapes to a collision object. Before this commit a shape has always been assumed to be enabled and had to be disabled in an extra step.
2019-04-23Merge pull request #24489 from mateusfccp/18264_wrong_animation_errorHein-Pieter van Braam
Make AnimatedSprite.animation complain when invalid animation name
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-21Merge pull request #27448 from avencherus/light2d-heightRémi Verschelde
Light2D height range expanded to -2048 to 2048.
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-04-16Merge pull request #28038 from CatThingy/area-error-fixRémi Verschelde
Removed unnecessary error from _area_inout
2019-04-15Merge pull request #24171 from YeldhamDev/occluder_polygon_grabMichael Alexsander Silva Dias
Make OccluderPolygon2D draggable in the editor
2019-04-15Removed unnecessary error from _area_inoutCatThingy
The error was previously removed from _body_inout for the same reason. Fixes #28022.
2019-04-10Added generator audio stream, and spectrum analyzer audio effectJuan Linietsky
Made AudioFrame and Vector2 equivalent for casting. Added ability to obtain the playback object from stream players. Added ability to obtain effect instance from audio server.
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08Add optional position argument for add_point in Line2DKanabenki
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-06Fix wrong method binds and registered classIgnacio Etcheverry