Arthur Pacaud
054e48227c
Make object and behavior registering more explicit ( #1379 )
2020-01-17 22:49:24 +00:00
Florian Rival
72da63afcb
Fix broken Text and TiledSprite objects
2020-01-13 21:51:35 +00:00
Arthur Pacaud
99312c71e0
Improve overall type annotations ( #1361 )
...
* Add type annotation for ObjectData and related types.
* Add missing type annotations.
* Add // @ts-check to some files.
2020-01-12 20:14:00 +00:00
Florian Rival
3b89284fd2
Normalize/fix some action/condition sentences
2020-01-03 22:29:08 +00:00
Florian Rival
2f8840b2cf
[codemod] Adapt sentences of action/conditions
2019-12-27 13:46:57 +01:00
Bouh
2b4d263410
Fix selection dismissed when panning + some icons and descriptions ( #1269 )
2019-10-29 18:28:22 +00:00
Florian Rival
e5aac3d75d
Fix crash when Text object font is set to 0
2019-08-19 00:28:10 -07:00
Wend1go
dba5c08569
Reduce spikes/artifacts from text outlines ( #1180 )
2019-08-04 21:48:14 +01:00
FAlooC
14ba8d34aa
Fix crash when using Text Object actions/conditions without object on the scene ( #1183 )
...
Added "Extensions/TextObject/textruntimeobject-pixi-renderer.js" and "Extensions/TextObject/textruntimeobject-cocos-renderer.js" wherever "Extensions/TextObject/textruntimeobject.js" was imported.
2019-08-04 20:13:44 +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
f76a661bbc
Set default text color to black
2019-07-28 12:42:31 +01:00
Florian Rival
4483e0659a
Rename 'Value to test' to 'Value to compare'
2019-06-19 21:28:58 +01:00
Wend1go
26cf2e35f2
Add outline, shadow, gradient and alignment to Text object ( #1096 )
2019-06-16 11:36:26 +01:00
Wend1go
6448c6a78a
Add scale actions/conditions for Text objects ( #1092 )
2019-06-09 21:20:30 +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
87adc2cab9
[WIP] Clean old methods used only in GD4 in objects and behaviors (3)
2019-04-21 20:52:48 +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
Wend1go
1c7d11a302
Add Tween behavior to animate object position/angle/properties ( #980 )
...
* Implementation based on Shifty.js
* Add examples
2019-04-03 23:34:11 +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
cbe33d2bd1
Improve/fix mistakes in gdjs.TextRuntimeObject documentation
2019-01-03 22:45:24 +00:00
Franco Maciel
302bcb718f
Fix initial opacity undefined
2019-01-03 13:59:08 +00:00
Florian Rival
1b7a667c79
Improve description of opacity and other actions/conditions
2018-11-25 19:55:20 +01:00
Florian Rival
e9a3e801f7
Update gdjs.FontManager to support files for Cocos2d-JS
2018-11-13 23:24:49 +00:00
Florian Rival
871b01124f
Refactor ResourcesInUseHelper and TextObject for exposing fonts
2018-11-13 22:13:40 +00:00
Florian Rival
45d2844d8b
Add FontResource and rework loading to ensure all fonts are properly loaded
...
* Add FontManager to the game engine, used to load and get access to loaded fonts.
* Use fontfaceobserver library to detect when a font is loaded.
* Add FontResource as a resource, like AudioResource.
* Update the TextEditor to use a selector for fonts.
* Refactor ResourceSelector floating label text
2018-11-12 23:45:01 +00:00
Lizard-13
566540133d
Add word wrapping for Text Object ( #658 )
2018-09-23 11:45:18 +01:00
Florian Rival
f182ed0704
Enhance/fix types in documentation of GDJS
2018-08-17 18:34:22 +02: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
b6707d62b2
Fix default font loading for Text object
2018-07-28 12:59: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
80ca92336e
Fix filters and refactor Text style update for Pixi v4
2018-01-09 23:03:26 +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
fd67843d0d
Use sf::Text::getFillColor instead of the deprecated getColor
2016-12-29 12:53:22 +01:00
Victor Levasseur
d01a80c7b9
Fix TextObject smoothing freezing HTML5 games
...
(disable the smoothing action and condition in HTML5 games)
2016-12-29 12:39:34 +01:00
Florian Rival
42022290b8
Refactor gdjs.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
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
Florian Rival
422132d8c7
Avoid allocations in gdjs.RuntimeObject.getRendererObject and gdjs.evtTools.object.pickObjectsIf
2016-08-15 19:54:01 +02:00
Florian Rival
020348e3b0
Fix text objects font not properly applied with Cocos2d on Android/iOS
...
For iOS, the user still need to add the font to the app provided fonts in XCode
(see http://stackoverflow.com/questions/14508675/how-can-i-add-a-font-to-my-cocos2d-ios-project-and-use-it-with-a-cclabelttf )
2016-05-02 23:34:48 +02:00
Florian Rival
2ed48d302d
Add support for custom font for TextObject rendered with Cocos2d
2016-03-21 23:49:22 +01:00
Florian Rival
21012c3445
Add experimental export with Cocos2d
2016-03-19 23:05:45 +01:00
Florian Rival
c9a0cc9afd
Tiny fixes on TextRuntimeObject and its renderers
2016-03-05 14:38:11 +01:00
Florian Rival
99681bb89b
[WIP] Cocos2D renderer for text object + fixes for Sprite/Layer
2016-02-28 18:39:37 +01:00
Florian Rival
13dcc9a1bd
Move HTML5 Text object rendering to gdjs.TextRuntimeObjectPixiRenderer
2016-02-28 18:23:09 +01:00
Florian Rival
8a0d0d332d
Rename gdjs.LayerPixiRenderer PIXI related methods
2016-02-21 17:16:13 +01:00
Florian Rival
40be4153c2
Rename exposePIXIDisplayObject to exposeRendererObject
2016-02-21 17:00:30 +01:00