summaryrefslogtreecommitdiffstats
path: root/scene/2d/cpu_particles_2d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update Node::get_configuration_warnings signature"Rémi Verschelde2024-02-171-2/+2
| | | | This reverts commit d3852deaa450d77edb30df2bb1c77bd7bc45befc.
* Update Node::get_configuration_warnings signatureRedMser2024-02-081-2/+2
|
* Fixed CPUParticle tangential force to match GPUParticle implimentationrsburke2023-11-071-1/+1
|
* Unify and streamline connecting to Resource changeskobewi2023-07-171-3/+2
|
* Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+3
|
* Add `finished` signal to CPUParticlesHolonProduction2023-07-121-15/+19
|
* Use NULL instead of COND checks when appropriateNinni Pipping2023-06-101-1/+1
| | | | Restricted to scene
* Increase precision in particle damping properties in the editorHugo Locurcio2023-06-071-2/+2
|
* Use angle_rand to calculate base_angle in particles process materialclayjohn2023-04-131-2/+2
|
* Remove visual limit for damping in CPUParticlesAlbin2023-02-191-2/+2
| | | | | | | Issue #56324 notes that you may can't set the damping property of CPUParticles2D to anything more that 100 in the editor inspector while you may set it to anything in code, this is considered a bug and changed in this commit
* Merge pull request #70716 from ↵Rémi Verschelde2023-01-101-2/+2
|\ | | | | | | | | | | Calinou/particles-tweak-animation-offset-property-hint Tweak particles animation offset property hint to allow more precise values
| * Tweak particles animation offset property hint to allow more precise valuesHugo Locurcio2022-12-291-2/+2
| | | | | | | | | | | | Values above 1.0 (or below 0.0) are no longer allowed, as these make no visual difference whatsoever (and may cause particles not to appear at all if looping is disabled).
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* | Add safety-checks before some servers `free()`Adam Scott2022-12-291-0/+1
|/
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-36/+35
| | | | change warnings=all to use /W4.
* Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron2022-09-191-2/+2
|
* Rename `or_lesser` range property hint to `or_less`Hugo Locurcio2022-09-021-14/+14
| | | | | | | "less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
* Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio2022-08-301-17/+17
| | | | | "sampling" is a more accurate term than "interpolating" for what's happening when using that function.
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-12/+12
| | | | | | | | | | Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
* Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde2022-08-261-3/+3
|\ | | | | Rename `str2var` to `str_to_var` and similar
| * Rename `str2var` to `str_to_var` and similarMicky2022-08-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
* | Rename ParticlesMaterial to ParticleProcessMaterialMicky2022-08-261-13/+13
|/ | | | Also affects their file names, related classes and documentation.
* Make `_validate_property` a multilevel methodYuri Sizov2022-08-221-15/+15
|
* Use global coordinates for particles by defaultHugo Locurcio2022-08-021-1/+1
| | | | | | | | Particles won't move or rotate anymore with the node (or its parents) by default. This new default behavior is generally more suited to most use cases. Local coordinates can still be enabled on a per-node basis. This affects both 2D and 3D particles, and both CPU and GPU-based particles.
* Particles: Fix missing configuration warning updatesRémi Verschelde2022-07-031-1/+5
| | | | Fixes #33488.
* Fix `CPUParticles2D.emission_shape` enum hintkleonc2022-06-181-1/+1
|
* Add suffixes to all nodes and resourcesFireForge2022-06-111-1/+1
|
* Use suffixes for units in nodes and resourcesAaron Franke2022-05-191-8/+8
|
* Rename Basis get_axis to get_column, remove redundant methodsAaron Franke2022-05-031-2/+2
|
* Rename Transform2D "elements" to "columns"Aaron Franke2022-04-291-18/+18
|
* correct initial cpu particle velocityRedHeadphone2022-04-241-1/+1
|
* String: Remove TTR and DTR defines in non-tools buildRémi Verschelde2022-03-281-1/+1
| | | | | This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
* Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershapeRémi Verschelde2022-03-181-2/+8
|\ | | | | ParticleMaterial: Sphere emission shape emitting from the volume.
| * Fixed sphere emission shape to emit particles in a spheres volume and added ↵Raffaele Picca2021-12-061-2/+8
| | | | | | | | "Sphere Surface" to keep the old behaviour.
* | Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-0/+4
| |
* | Use List Initializations for Vectors.Anilforextra2022-01-121-17/+17
| |
* | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | | | | | Happy new year to the wonderful Godot community!
* | Merge pull request #55263 from RPicster/ParticleMaterial-random-start-colorRémi Verschelde2021-12-101-1/+24
|\ \
| * | Random initial color parameter for ParticleMaterialRaffaele Picca2021-12-031-1/+24
| |/ | | | | | | Works with 2D and 3D GPU Particles
* | Add a double-precision editor build to CIAaron Franke2021-12-091-1/+1
| |
* | Fixed texture animation speed when using random lifetime ( Particle2D gpu + ↵Raffaele Picca2021-11-261-1/+1
|/ | | | cpu) as mentioned here: https://github.com/godotengine/godot/issues/54993
* Rename `GradientTexture` to `GradientTexture1D`Andrii Doroshenko (Xrayez)2021-11-071-1/+1
| | | | | 1. Explicit and unambiguous when comparing to `GradientTexture2D` 2. Consistent with other class names where 1D is used in the engine.
* Merge pull request #52430 from AnilBK/vector2-replacementsRémi Verschelde2021-09-241-1/+1
|\
| * Use builtin Vector2 functions for calculation of angles.Anilforextra2021-09-071-1/+1
| | | | | | | | .
* | Construct values only when necessary.Anilforextra2021-09-231-1/+1
|/
* moved particle parameters to minmax and split scale axisQbieShay2021-08-221-88/+166
| | | | | | | This commit adds quite a chunk of modifications to particles - particle (value + randomness) now use min and max instead - passing a curveXYZtexture is now possible and will scale particles per-axis - CPUParticle3D have an optional parameter to split the scale curve per-axis
* Fix some unnecessary includesAaron Franke2021-08-131-2/+0
|
* Some work on double supportAaron Franke2021-08-091-1/+1
|
* Use doubles for time in many other placesAaron Franke2021-08-091-23/+23
|
* Fix color properties of particle nodes/materialHendrik Brucker2021-07-041-4/+0
|