summaryrefslogtreecommitdiffstats
path: root/scene/2d/cpu_particles_2d.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fixed delay when CPUParticles & CPUParticles2D start being emittedPouleyKetchoupp2019-10-201-0/+1
| | | | | | Particles were processed only on the next frame after the emission started, causing a one frame delay in rendering. Now the first process cycle is started during the same frame, which makes them consistent with Particles & Particles2D. Fixes #32890
* Remove redundant author doc commentsIAmActuallyCthulhu2019-08-121-4/+0
|
* added individual particle random lifetimeclayjohn2019-07-141-0/+4
|
* Merge pull request #26613 from KoBeWi/direction_of_particlesRémi Verschelde2019-07-021-0/+4
|\ | | | | Add a Direction property to ParticlesMaterial
| * Add a Direction property to ParticlesMaterialTomasz Chabora2019-06-261-0/+4
| |
* | Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
| |
* | change emit shape circle to sphere in CPUParticles2Dclayjohn2019-06-171-1/+1
| |
* | Merge pull request #29700 from clayjohn/cpuparticles_transform_bugRémi Verschelde2019-06-161-0/+2
|\ \ | | | | | | Fix CPU particles bug with local_coords and transform
| * | fix CPU particles bug with local_coords and transformclayjohn2019-06-141-0/+2
| | |
* | | Implement missing orbit velocity for CPUParticles and CPUParticles2DRémi Verschelde2019-06-131-0/+2
|/ / | | | | | | | | | | | | The relevant code was copied from (GPU) ParticlesMaterial but commented out initially, and never ported. Closes #29580.
* | Reversed operator in SortLifetime fixing #29440SamSindt2019-06-061-1/+1
| |
* | Prevent invisible/inactive cpupparticles2d to redrawDaeil Kim2019-03-081-0/+3
|/
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make 2D particles work OOTB (again)JFonS2018-11-131-10/+1
|
* Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS2018-11-041-3/+11
| | | | | | | | Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Move ParticlesMaterial code to its own resource fileRémi Verschelde2018-09-041-2/+2
| | | | | | | | | It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense to have as a common resource. It also allowed to disable compilation of Particles (3D) when using 'disable_3d'. Also cleaned up includes in SpatialEditorGizmos and some other places, as well as dropped dead code in material_editor_plugin.cpp.
* Add missing copyright headersRémi Verschelde2018-08-291-0/+30
|
* Ported CPU particles to 2DJuan Linietsky2018-08-291-0/+259