50 Commits

Author SHA1 Message Date
Florian Rival 43f5bd1c0e Allow to edit object properties, behaviors, variables and effects directly from the properties panel (#6898)
* When an object is selected (or when "Edit object" button is clicked in the properties panel after choosing an instance), the properties panel will show the properties of the object.
* This allows for fast edition of most elements of an object: appearance, properties, but also behaviors, variables and effects. Most workflow and iterations on your game should be faster, from adapting the appearance of a text to tweaking behaviors and updating the preview to check the result in realtime.
2024-09-27 10:56:39 +02:00
Tristan Rhodes c223abad60 Add property a property to particle to "Jump the emitter forward in time" when it's created (#5039)
* This works like the action of the same name, and allow newly created particle emitters to act as if they were emitting since a bit of time - useful when starting a scene for example to avoid seeing the initial particles being emitted.
2023-03-27 13:27:03 +02:00
Clément Pasteau b9ac22208b Replace most float with double for better precision (#4689)
Do not show in changelog
2022-12-16 14:50:11 +01:00
D8H b8e9bc801a Add a properties editor for custom objects (#4227)
* Don't show in changelogs
2022-09-02 14:13:41 +02:00
AlexandreS adc7584981 Fix particle emitter unused parameter friction removing it 2021-09-22 13:13:13 +02:00
AlexandreS 2febbf439f Fix some particle emitter actions and conditions 2021-09-22 10:49:47 +02:00
Florian Rival 1a27f689e0 Remove deprecated/unused/unmaintained GDCpp code (#2930)
* This also includes extensions code.

Only show in developer changelog
2021-08-17 14:34:58 +02:00
Florian Rival edd98d8bd5 [WIP] Clean old methods used only in GD4 in objects and behaviors 2019-04-21 10:20:32 +01:00
Florian Rival 563bc6c64c Fix particle texture not properly handled/corrupted in GD5 2018-08-30 21:38:44 +01:00
Florian Rival 147dc321f1 Fix formatting 2018-06-04 16:03:00 +01:00
Florian Rival 0e0c49c11b Fix Get/SetConeSprayAngle in ParticleEmitterObject 2018-05-26 21:46:59 -07:00
Florian Rival e78fa036a3 Avoid a Emscripten compilation issue related to ambiguous method 2018-05-26 17:16:14 -07:00
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Florian Rival 66ef1e0abf Refactor RuntimeObject and behaviors to allow per-layer timescale 2016-12-01 22:18:08 +01:00
Victor Levasseur d20b5a0fbb gd::Object and RuntimeObject are now cloned in unique_ptr 2016-11-15 08:33:56 +01:00
Florian Rival 117722621a Change file organization in GDCpp to have a Runtime directory inside GDCpp 2016-02-09 19:42:52 +01:00
Victor Levasseur 12323965e0 RuntimeObjects ctor now takes their Object derivative as argument 2016-01-28 17:37:27 +01:00
Victor Levasseur 804e8c8718 Remove old CreateXXXObject(...) functions 2016-01-28 17:15:48 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Victor Levasseur cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Victor Levasseur 870b6580f5 Replace std::string with gd::String in all remaining extensions 2015-07-12 12:39:40 +02:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Florian Rival 418bae8632 Removed useless Destroy* functions for objects 2015-01-08 21:58:36 +01:00
Florian Rival 40a82c61ea Switched from LGPL and zlib/png licenses to MIT License. 2014-11-30 16:59:51 +01:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival e8cd1b16b7 Added GDJS and Extensions to this repository. 2014-06-30 21:39:29 +02:00
Florian Rival 475c9da06c Cleaned thing and added not versioned files. 2014-03-31 21:55:51 +02:00
Florian e2285a11b2 Latest commit before switching to git for the whole Extension directory.
git-svn-id: svn://localhost@1113 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 22:02:40 +00:00
Florian 46aa856447 Exchanged all french messages with their English counterparts.
git-svn-id: svn://localhost@847 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-20 19:57:57 +00:00
Florian 641bbf5411 Corrected subtle bug when checking if particle emitter has no more particles : hasSomeParticles member was not copied and so sometimes set to false.
Adapted to changes in GDL/GDCore.

git-svn-id: svn://localhost@799 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-08-01 21:21:14 +00:00
Florian b24b2fc32d Made ParticleEmitterObject header independent from ParticleSystemWrapper header.
git-svn-id: svn://localhost@760 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-06-09 21:13:22 +00:00
Florian 277f79f967 Adapted to changes in GDL.
Fixed: Gravity was not properly saved when using the editor.

git-svn-id: svn://localhost@712 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-05-14 21:40:38 +00:00
Florian d7f1b0ea8c Corrected SetAngle/GetAngle actions/conditions.
Updated copyright.


git-svn-id: svn://localhost@648 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-02-05 14:44:38 +00:00
Florian 9f6f7d6b70 Adapted to changes in GDL.
git-svn-id: svn://localhost@559 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-11-05 21:03:55 +00:00
Florian 700689c2c8 Adaptations to changes in GDL.
git-svn-id: svn://localhost@527 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-09-09 14:59:23 +00:00
Florian 4bb4021810 Adaptations to changes in GDL.
git-svn-id: svn://localhost@504 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-08-22 18:44:20 +00:00
Florian 663856533e Adaptations to GD2.
git-svn-id: svn://localhost@469 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-08-06 13:36:15 +00:00
Florian 6f5d9d5533 Minor adaptations to minor changes in GDL.
git-svn-id: svn://localhost@414 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-03-26 22:19:16 +00:00
Florian 89942f74cb Minor changes due to changes in GDL.
git-svn-id: svn://localhost@376 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-02-01 20:47:16 +00:00
Florian cf0350c431 Updated copyright and defines.
git-svn-id: svn://localhost@359 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-01-20 21:15:19 +00:00
Florian 4ca652545b Added action/condition to change texture.
git-svn-id: svn://localhost@314 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-11-16 21:45:50 +00:00
Florian 6105b53576 Deleted advanced setup when useless.
Changed some actions so as to get immediate effect.
Added randomness values for values ( Opacity, angle, size ) changing over the time ( Need to add actions/conditions/expressions for these randomness values ).

git-svn-id: svn://localhost@288 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-11-06 23:21:48 +00:00
Florian 38665efa2a Added maximum particle number.
git-svn-id: svn://localhost@283 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-11-01 11:02:45 +00:00
Florian 4f9eeb1ba8 Added simplified parameters to ParticleEmitter editor.
Added related actions/conditions/expressions.
Some corrections.

git-svn-id: svn://localhost@281 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-27 13:29:49 +00:00
Florian 621f3acb44 Added nearly all actions, conditions and expressions.
Corrected handling of sf::View zoom. Refactored OpenGL display code.
Textures are now correctly displayed.
All SPARK stuff have been moved to a dedicaced ParticleSystemWrapper class.
Decomposed extension declaration in 3 files as GCC is not able to compile it in one file without filling all memory ( Windows Seven / 4 GB ).


git-svn-id: svn://localhost@275 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-18 20:02:06 +00:00
Florian ff109c71d8 Working particle system rendered with OpenGL. Just a problem with other 3D object : Their texture are not showed.
git-svn-id: svn://localhost@273 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-14 19:53:18 +00:00
Florian 818d21217d Enhanced editor and particle object.
Rendering is not working properly.


git-svn-id: svn://localhost@272 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-13 19:56:16 +00:00
Florian f2ff6e46ed Implemented members and editor controls corresponding to these members for several properties of the particles.
git-svn-id: svn://localhost@270 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-08 20:13:32 +00:00
Florian 89d3dcf2ba Corrected typo on "Particule".
git-svn-id: svn://localhost@267 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-10-08 18:34:20 +00:00