summaryrefslogtreecommitdiffstats
path: root/scene/2d/particles_2d.cpp
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.
* Added some obvious errors explanationsqarmin2019-09-251-2/+2
|
* Fix various memory leaks and errorsBojidar Marinov2019-07-021-0/+1
|
* Merge pull request #29937 from clayjohn/particles-one-shot-bugRémi Verschelde2019-06-271-2/+24
|\ | | | | Update emitting status on one-shot particles
| * update emitting status on one-shot particlesclayjohn2019-06-251-2/+24
| |
* | properly set emitting when particles restartclayjohn2019-06-211-0/+1
|/
* Warn when using GPU particles with GLES2Rémi Verschelde2019-02-091-0/+5
| | | | Closes #25733.
* 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-0/+14
|
* Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS2018-11-041-35/+1
| | | | | | | | 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.
* Move ParticlesMaterial code to its own resource fileRémi Verschelde2018-09-041-3/+6
| | | | | | | | | 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.
* Particles: Allow speed_scale at 0 in property hint, equivalent to pauseRémi Verschelde2018-08-241-1/+1
| | | | Supersedes and closes #21193.
* Particles2D: fix editing Visibility Rect from inspectorNatrim2018-08-171-8/+8
| | | | + renamed generate_aabb to generate_visibility_rect to prevent future confusions
* Allow editing of some unbound properties when hinted (or no range hinted)Juan Linietsky2018-05-161-2/+2
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Set particles emitting to false when particles finish emitting with one-shot ↵MrCdK2017-12-231-4/+3
| | | | enabled
* Particles2D: Fix normal map rid.Andreas Haas2017-12-061-1/+1
| | | | Looks like a Copy & Paste error, fixes #14334.
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-3/+3
| | | | Fixes #12973.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-211-2/+2
|\ | | | | ClassDB: Provide the enum name of integer constants
| * ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-2/+2
| |
* | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-1/+2
|\ \ | |/ |/| Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-1/+2
| |
* | Disabling Particles::one_shot restarts emissionZher Huei Lee2017-08-121-0/+2
|/ | | | Fixes #10181
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-6/+6
|
* Ability to pause particles, closes #3675Juan Linietsky2017-08-071-0/+9
|
* Initialize Particles2D draw order propertyL. Krause2017-08-051-0/+1
|
* Usability improvements for folding. Unfortunately SpatialMaterial broke ↵Juan Linietsky2017-06-251-3/+4
| | | | compatibility.
* Ability to restart particle system with a function callJuan Linietsky2017-06-251-1/+22
|
* Properly exposed material types everywhere.Juan Linietsky2017-06-221-1/+1
|
* Fix tools=no buildRémi Verschelde2017-06-221-0/+3
| | | | This house is falling apart when I'm not around...
* 2D GPU Particles working..Juan Linietsky2017-06-211-973/+209
|
* renamed occurances of ColorRamp with GradientKarroffel2017-06-141-24/+24
| | | | ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-2/+2
|
* -Added .hdr format supportJuan Linietsky2017-05-281-3/+3
| | | | | | -Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
* Merge pull request #8321 from RandomShaper/zero-preprocess-particles2dRémi Verschelde2017-04-091-1/+1
|\ | | | | Allow zero preprocess time for Particles2D
| * Allow zero preprocess time for Particles2DPedro J. Estébanez2017-04-081-1/+1
| |
* | Particles2D: Fix flip property (again).Andreas Haas2017-04-091-4/+4
| | | | | | | | should have flipped the dst_rect..
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|/
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-437/+377
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-0/+1
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* Use the common PRNG in 2D particles code.Ferenc Arn2017-02-271-18/+6
| | | | Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
* Merge pull request #7897 from RandomShaper/particles2d-process-modeRémi Verschelde2017-02-271-2/+26
|\ | | | | Add process mode option to Particles2D
| * Add process mode option to Particles2DPedro J. Estébanez2017-02-271-2/+26
| |
* | Add emission_finished signal to Particles2DBojidar Marinov2017-02-251-9/+4
|/ | | | | (Also remove some Particles2D::testee method, which was unused) Resolves #3963
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-62/+62
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-29/+29
| | | | This saves typing and is a step towards fixing #56
* Particles2D: implement texture flip parameters.Andreas Haas2017-02-101-0/+4
|
* Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-3/+3
| | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.