Florian Rival
37c260c19d
Remove methods polluting Array prototype in gd.js
...
Only show in developer changelog
2020-08-05 18:47:39 +02:00
Florian Rival
3a9f896f04
Add hot reloader (electron app only)
2020-07-25 14:23:00 +01:00
Florian Rival
9b178bc985
Fix "Remove Unused Images" removing images used by BBText object
...
Don't show the rest in changelog:
* More generally, fix resources exposed by any object declared in JavaScript
* Refactored GetProperties (and UpdateProperty) across behavior/object/behavior shared data to remove the dependency on gd::Project.
2020-06-23 22:40:38 +01:00
Florian Rival
b8ccf02f70
Refactor callbacks registration in GDJS
2020-02-11 23:33:30 +00:00
Arthur Pacaud
054e48227c
Make object and behavior registering more explicit ( #1379 )
2020-01-17 22:49:24 +00:00
Florian Rival
2f8840b2cf
[codemod] Adapt sentences of action/conditions
2019-12-27 13:46:57 +01:00
Florian Rival
942d6f8413
Remove useless commented code
2019-12-24 12:19:32 +01:00
Florian Rival
aa7a4a4ff3
Rename onOwnerRemovedFromScene to onDestroy and fix onCreated/onDestroy calls
...
* Rename onOwnerRemovedFromScene to onDestroy (because it can be now called when a scene is destroyed)
* Fix it being not called when a scene is destroyed (so behavior don't get a chance to clean up what they have created)
* Fix onCreated being called before the object is fully initialized (for custom behaviors or behaviors relying on an object type)
2019-07-28 17:43:50 +01:00
Florian Rival
90f0828474
Remove translation for a magic field
2019-06-30 14:01:26 +01:00
Florian Rival
4483e0659a
Rename 'Value to test' to 'Value to compare'
2019-06-19 21:28:58 +01:00
Florian Rival
c2b123d20b
Add NamedPropertyDescriptor
2019-06-16 17:08:55 +01:00
Florian Rival
3161f641d8
Rename ownerRemovedFromScene to onOwnerRemovedFromScene
2019-05-06 23:08:41 +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
b9680e26e7
[WIP] Remove almost all remaining references to wxWidgets/GD4 IDE related code from codebase
2019-04-23 13:08:22 +01: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
7f0033989a
[WIP] Partially clean GDJS/GDCpp/GDCore of wxWidgets related code
2019-04-20 01:21:28 +01:00
Florian Rival
02c65bcf66
[WIP] Add translations support, using js-lingui, to newIDE (including libGD.js)
...
* Upgrade to Flow 0.92 and make fixes for it
* Convert all extensions to use _("...") instead of t("...") for translations,
to be able to be parsed by gettext
* Handle translation in JS extensions
* Move Providers out of MainFrame
* Remove i18next
* Adapt ExtractTranslations script to handle js files (for extensions)
2019-02-09 14:08:22 +00:00
Florian Rival
417ab2ff3d
Gray out the deprecated Physics Engine category in InstructionSelector
2019-01-11 20:04:24 +00:00
Florian Rival
1fbd58fa75
Change wording of the old Physics extension
2019-01-11 19:48:25 +00:00
Florian Rival
39887ccc80
Add help links in actions/conditions editor ( #576 )
...
* Add support for help links in InstructionParametersEditor.
* Add help paths for extensions/objects/behaviors/instructions
2018-08-07 23:03:50 +01:00
Florian Rival
3be5d85733
Update GDJS docs to use JSDoc
2018-07-04 22:26:02 +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
9c6790ac37
Update default gravity in PhysicsBehavior
2018-01-27 23:50:49 +01:00
Florian Rival
bdbf7fd9fc
Add support for editing BehaviorSharedData in newIDE
...
TODO:
* Support for cancelling modifications made on it in ScenePropertiesDialog
2018-01-27 19:13:27 +01:00
Florian Rival
6bbedbd8f9
Fix BehaviorSharedData not created by newIDE + fix warnings
2018-01-27 17:00:44 +01:00
Florian Rival
f115b6607f
Add PhysicsBehavior support to newIDE, with an example
2018-01-21 22:11:24 +01:00
Florian Rival
6aa515d085
Merge branch 'master' into feature/browser-demo-merged-master
2017-09-10 00:18:09 +03:00
wild-master
0f4d73fae3
English translation improvements ( #375 )
2017-08-28 22:04:16 +02:00
Florian Rival
71ab16a76e
[WIP] Add Extensions/ prefix to all includes files for JS extensions
2017-08-26 17:32:02 +02:00
Victor Levasseur
d20b5a0fbb
gd::Object and RuntimeObject are now cloned in unique_ptr
2016-11-15 08:33:56 +01:00
Victor Levasseur
72df404d7f
Automatic versioning ( #311 )
...
* Use the port number in SendHttpRequest and DownloadFile
* Fix "Custom size" and "Custom viewports" not displayed in layer propgrid
* Fix Fedora spec file
* Use automatic versioning from git
* A "correct" version number is now generated even if git is unable to find a tag
2016-11-11 11:32:56 +01:00
Victor Levasseur
bc5349fd26
Remove useless files (SPARK doc, Box2D doc, dlib doc)
2016-08-08 18:45:51 +02:00
Florian Rival
c7cd582152
Avoid creating objects when calling Hashtable.values() and by using gdjs.staticArray
2016-04-28 23:16:38 +02:00
Victor Levasseur
1adb4febb1
Fix world only destroyed if instanciated
2016-04-10 11:13:38 +02:00
Victor Levasseur
ff24bf7af6
Merge remote-tracking branch 'upstream/master' into bugfix/box2djs
2016-04-09 22:59:41 +02:00
Victor Levasseur
d705f7503a
Fix physic behavior memory leak in HTML5 games
2016-04-09 22:06:46 +02:00
Victor Levasseur
da4dc223f7
Fix box2d.js crash when changing scenes
...
(use an updated version of box2d.js)
2016-04-09 13:32:48 +02:00
Florian Rival
117722621a
Change file organization in GDCpp to have a Runtime directory inside GDCpp
2016-02-09 19:42:52 +01:00
Florian Rival
bec51c705b
Update some extensions to be created on Android
2016-02-09 19:40:47 +01:00
Florian Rival
e444e80493
Update copyrights year
2016-01-14 19:46:56 +01:00
Florian Rival
b78e8a46ec
Merge pull request #235 from pstieber/b2TOISolverInitializationFix
...
b2TOISolver initialization fix
2016-01-14 18:50:23 +01:00
Peter J. Stieber
35b14bb58a
Fixed incorrect initialization.
...
Replaced initialization of an in32 (m_count) with NULL to an
initialization with 0 because the value is not a pointer. This
removed gcc 4.9.2 warnings when building on Fedora 21.
2016-01-08 11:33:07 -08:00
Peter J. Stieber
4605ac8688
Merge branch 'master' into UpdateWxFontStyles
2016-01-08 10:31:49 -08:00
Peter J. Stieber
b8322398f3
Updated wxFont flags to remove warnings.
...
Changed font family and font weight flags to use the new convention
to prevent deprecation warnings from wxWidgets.
2016-01-08 09:49:33 -08:00
Peter J. Stieber
4573a9db1e
Updated wxBrush styles.
...
Changed the following in wxBrush constructors:
wxTRANSPARENT -> wxBRUSHSTYLE_TRANSPARENT
wxSOLID -> wxBRUSHSTYLE_SOLID
wxFDIAGONAL_HATCH -> wxBRUSHSTYLE_FDIAGONAL_HATCH
This fixed 6 warnings in the build.
2016-01-08 07:23:52 -08:00
Florian Rival
db69c83a58
Change file organization 5 (GDCpp/Project)
2015-11-01 17:06:23 +01:00
Florian Rival
63cb853d72
Change file organization (Events, Extensions + more folders)
2015-11-01 11:26:40 +01:00
Florian Rival
3a982afea7
Fix mistakes and add Dutch to Windows installer languages
2015-10-19 22:57:18 +02:00
Florian Rival
faf4baffc5
Refactor time management into TimeManager for native game engine
2015-10-12 00:17:57 +02:00
Florian Rival
cf2100a626
Refactor time management into gdjs.TimeManager for HTML5 game engine
2015-10-11 20:39:10 +02:00