D8H
deb802cfec
Allow to override behavior properties on object instances ( #8171 )
...
* For now, this is limited to instances inside custom objects. This will be made available in the future for all instances in scenes if this works well.
2026-02-09 16:21:24 +01:00
Florian Rival
ca5bb93636
Speed up cloud project saves ( #8083 )
2025-12-23 16:47:49 +01:00
Florian Rival
3846a1553b
Experimental in-game editor ( #7974 )
...
Co-authored-by: Davy Hélard <davy.helard@gmail.com >
Don't show in changelog
2025-11-11 18:22:37 +01:00
Florian Rival
58ba2668c2
Add clang-tidy and builds with assertions/memory sanitizers for libGD.js ( #7051 )
...
Only show in developer changelog
2024-10-14 12:06:42 +02:00
Florian Rival
9c62a5e0f1
Fix unserialization of quick customization settings
...
Also remove VersionPriv.h from source control
Don't show in changelog
2024-08-19 12:13:12 +02:00
Aurélien Vivet
5b1e3565d3
Remove dead code (TinyXml) ( #6754 )
...
Only show in developer changelog
2024-07-05 17:45:57 +02:00
D8H
94045aec91
Fix typo in comments and message strings (thanks @st-Wook!) ( #5262 )
...
Co-authored-by: supertree-wook <phk09242@supertree.co >
2023-04-28 11:58:51 +02:00
D8H
7620bac88a
Enable serialization of JS code events and extension descriptions as arrays of strings ( #4613 )
...
* Only show in developer changelog
2022-12-04 13:38:08 +01:00
Florian Rival
59094110ca
Serialize JS code events and extension descriptions as arrays of strings to make collaboration/reviews easier ( #4468 )
...
Only show in developer changelog
2022-11-09 18:39:23 +01:00
D8H
aed4b76a3f
Refactor behavior configuration model ( #4217 )
...
* Merge BehaviorContent into Behavior and add CustomBehavior
* Don't show in changelogs
2022-08-29 09:21:21 +02:00
Florian Rival
7597dbe0d1
Add (new) conditions and expressions to compare the number of instances picked or living on the scene ( #3842 )
...
* Add `PickedInstancesCount` and `SceneInstancesCount` expressions, to replace `Count`. These expressions don't do any "picking" of instances, so they are safe to use anywhere without "weird" side effects.
* Equivalent conditions are available for all objects. These conditions allow to check at any point in your events the number of instances living on the scene or picked by actions/conditions.
* This is useful to check if enough objects are picked by a condition before launching an action.
* Because this condition does not change the already picked objects, it's safe to use anywhere without any side effect.
Only show the rest in the developer changelog:
* Allow to read events missing some fields (like `disabled`, `folded`).
* Reduce the useless information stored in project JSON files by not storing the fields if they have their default value.
2022-04-23 16:35:10 +02:00
Florian Rival
a996c5413f
Improve speed of auto-save/save/load of projects
...
This makes autosave 70% faster, saving a project 30% faster, preview slighlty faster.
- Switch to RapidJSON for serialization inside the Core.
- Avoid extra pair of JSON.parse/JSON.stringify for autosaves
- Fix float used instead of double in the SerializerElement/Value JS bindings
2021-03-13 21:34:53 +00:00
Florian Rival
c5ad9715df
Fix project name not escaped in Cordova generated config.xml
2020-03-05 21:21:27 +00:00
Florian Rival
2c2efa4a99
Fix SerializerElement broken when using attributes with children ( #1088 )
...
* Fix SerializerElement broken when using attributes with children
* Fix usage of AddChild on arrays without named children
2019-06-06 17:43:15 +02:00
Florian Rival
b8270eb55e
Fix typo
2019-05-19 23:28:37 +01:00
Florian Rival
433dc763d1
Separate Behavior into BehaviorContent and Behavior, and add RuntimeBehavior for GDCpp
2019-05-03 22:47:21 +01:00
Florian Rival
13bc2a5cd8
Remove more dead code
2019-04-26 14:12:59 +01:00
Franco Maciel
87acba5105
Fix JSON array parser separators ( #819 )
2018-12-23 19:17:36 +01:00
Florian Rival
238b6a2a09
Fix un/serialization of JSON arrays by gd::Serializer
2018-12-21 21:02:13 +01:00
Florian Rival
af7f13c0b8
Add Get/SetMetadata on gd::Resource
2018-10-11 23:39:48 +01:00
Florian Rival
c23642e78c
Prevent any error due to quotes or invalid characters when exporting to Electron
2018-06-11 22:36:45 +01: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
e444e80493
Update copyrights year
2016-01-14 19:46:56 +01:00
Florian Rival
656b3bf3eb
Use gd::String in Serializer
2015-10-11 17:12:17 +02:00
Florian Rival
824e937748
Add support for saving projects in multiple files as "Folder project".
...
Also refactor loading/saving to XML/JSON in gd::ProjectFileWriter.
2015-09-02 18:54:08 +02: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
18c59dbb5d
Totally remove ToString(), ToInt(), ToFloat() and ToDouble()
2015-07-22 16:20:26 +02:00
Victor Levasseur
2a0052b207
Add gd::String::From/To template to replace all FromXXX/ToXXX() methods
2015-07-21 14:35:29 +02:00
victorlevasseur
52976169ae
Fix gd::String::ToFloat/Double returning int instead of float/double
2015-07-12 23:50:51 +02:00
Victor Levasseur
79c90f5e1b
Add gd::String::IsValid and ReplaceInvalid
...
Replace invalid characters when reading XML and JSON files
2015-07-09 21:25:05 +02:00
Victor Levasseur
4efab914fe
Rename Utf8String.h/.cpp to String.h/.cpp
2015-07-09 18:17:13 +02:00
Victor Levasseur
92ff667e7f
Fix Serializer crashing if a project contains non ASCII characters
2015-07-06 22:29:00 +02:00
Victor Levasseur
0a1542ba73
Replace all std::string by gd::String in GDCore
...
Add some other methods to gd::String (insert, ...)
2015-07-04 23:58:06 +02:00
Victor Levasseur
34845f3abf
Add gd::String support in SerializerValue/Element
2015-06-28 12:28:57 +02:00
Florian Rival
d4cfc645f7
Fixed JSON serializer not handling quotes properly in prop. names and variables serialization. Added tests for it.
2015-03-30 22:19:57 +13:00
Florian Rival
2317368415
Merge branch 'remove-boost' of https://github.com/victorlevasseur/GD into c++11
...
Conflicts:
GDCpp/GDCpp/ObjInstancesHolder.cpp
2015-01-25 20:12:14 +01:00
Florian Rival
64e6860718
Version bump.
...
Updated copyrights.
2015-01-22 21:22:01 +01:00
Victor Levasseur
0e92ebfd4a
Remove boost
2015-01-20 18:29:55 +01:00
victorlevasseur
ae1f6d61b3
Remove boost dependency (boost::to_upper still remaining)
2015-01-18 21:09:45 +01:00
Florian Rival
cf991818d9
Removed useless deprecated dialogs
2014-12-14 19:31:42 +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
a5408d21fd
Fixed typos, removed useless debug messages.
2014-08-08 22:58:21 +02:00
Florian Rival
8844642ae0
Updated copyrights.
...
Added doxygen files.
Cleaned some files.
2014-06-26 00:20:36 +02:00
Florian Rival
ba32de86c0
Embinded gd::Layer and fixed gd::Project binding.
...
Fixed JSON serialization.
gd::InitialInstancesContainer::IterateOverInstances is now passing a pointer. (For use with emscripten, so that the "$$.ptr" element of the instance passed as parameter is constant).
2014-05-29 17:15:59 +02:00
Florian Rival
6d123678d3
Adapted to latest version of SFML.
2014-05-09 22:03:16 +02:00
Florian Rival
a63cb3ef8f
Instructions "manipulated type" of standard extensions are now set in GDCore.
...
Fixed serialization of some classes.
Fixed serializer JSON saving and added loading from JSON.
Exposed gd::Serializer::From/ToJSON to embind.
Added more visible buttons to add automatisms to objects in the IDE.
2014-05-08 16:12:55 +02:00
Florian Rival
57ebd1d5ad
Finished switching to the new serialization classes.
2014-04-30 23:26:19 +02:00
Florian Rival
0bff141691
Started converting LoadFromXml and SaveToXml to the new serialization classes.
...
Fixed strange bug where abs was returning int instead of float.
2014-04-28 23:32:53 +02:00
Florian Rival
cf84e81ead
Added Serializer that will be used for all serialization tasks.
2014-04-28 13:51:49 +02:00