Florian Rival
9d015b9cd1
Add Flow static typing to JsExtension.js files
2020-06-20 16:57:21 +01:00
Florian Rival
fc5905b7f4
Update descriptions of extensions
...
Don't show in changelog
2020-06-20 16:57:21 +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
479584c3ef
Also show parameter names and descriptions for checkbox in EffectsList
2019-12-27 17:33:26 +01:00
Bouh
42ddf9b41a
Add Displacement, ColorMap, Pixelate and Reflection effects ( #1329 )
2019-12-26 17:38:28 +01:00
Florian Rival
50adbfaae9
Add support for booleans in effects parameters
2019-12-21 15:16:15 +01:00
Florian Rival
ec9a629124
Add optional description to effect properties
2019-12-21 12:04:08 +01:00
Florian Rival
977dc27bd0
Add update for effects + colors and resources for effect parameters
2019-12-21 12:04:08 +01:00
Florian Rival
81aa68e69d
Add back existing effects as an "Effect" extension
...
* Add tests for EnumerateEffects.
* Ensure fake effects are present for Storybook stories.
2019-12-17 09:04:00 +00:00
Florian Rival
8891c91d61
Add EffectMetadata and AddEffect to extensions
...
* Allow extensions to store EffectMetadata.
* Rework gdjs.PixiFiltersTools to allow new effects to be dynamically registered.
* Update EffectsList to read effects from extensions.
* Update GDJS ExporterHelper to export include files for effects
* Rename effectName to effectType to avoid confusions in gd::Effect
2019-12-17 09:04:00 +00:00
Bouh
76165908fc
Add help button for Video object ( #1244 )
2019-10-02 00:20:21 +02: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
c03b8dd0db
Add test for gdjs.RuntimeScene with object and behaviors
2019-07-28 17:43:50 +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
20ce83ccfe
Add image resource to the dummy example object
2019-02-23 14:58:05 +00:00
Florian Rival
43230003b8
Fix ExampleJsExtension broken after internationalization
2019-02-09 14:08:22 +00: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
6ddace1ec4
Add an example of an object action in ExampleJsExtension
2019-02-06 23:34:43 +00:00
Florian Rival
50ebf6e5a2
Add support for creating objects in JS extensions + example
2019-01-05 12:03:24 +00:00
Florian Rival
f61f525e61
Update GitHub links from 4ian/GD to 4ian/GDevelop
2018-09-09 22:29:32 +01:00
Florian Rival
303a489a41
Adapt JsExtensionsLoader to allow it to be used from Node.js
2018-08-24 16:57:37 +01:00
Florian Rival
91ff59e846
Switch back to ES5 for JsExtension.js
2018-07-11 22:28:31 +01:00
Florian Rival
6b850e82e7
Add extensions sanity tests
2018-07-11 19:33:47 +01:00
Florian Rival
896446f640
Fix missing calls to t("...") in ExampleJsExtension
2018-07-09 22:21:20 +01:00
Florian Rival
0019da90c7
Update documentation about implementing JavaScript extensions
2018-07-05 23:38:51 +01:00
Florian Rival
3be5d85733
Update GDJS docs to use JSDoc
2018-07-04 22:26:02 +01:00
Florian Rival
57fbe470b7
Add ExampleJsExtension
2018-07-04 00:20:03 +01:00