Commit Graph

33 Commits

Author SHA1 Message Date
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 e5aac3d75d Fix crash when Text object font is set to 0 2019-08-19 00:28:10 -07: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
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
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 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
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 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 42022290b8 Refactor gdjs.RuntimeObject and behaviors to allow per-layer timescale 2016-12-01 22:18:08 +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 c9a0cc9afd Tiny fixes on TextRuntimeObject and its renderers 2016-03-05 14:38:11 +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
Florian Rival 9bae415530 Move rendering of layers in gdjs.LayerPixiRenderer 2016-02-21 16:51:48 +01:00
Florian Rival 3ac292ec18 Factor common methods to gdjs.RuntimeObject.
Thanks to exposePIXIDisplayObject, objects can expose the PIXI.DisplayObject that they are using
and let RuntimeObject handles common operations (layer change, z order change, deletion, visibility).
2015-09-10 22:37:32 +02:00
Florian Rival 4eeabf430d Update to Pixi.js v3 2015-05-13 23:40:21 +12:00
Florian Rival 67db5bf5ac Fixed hitboxes of PanelSprite/TiledSprite/Text objects not properly updated in HTML5 games 2015-01-20 23:10:09 +01:00
Florian Rival 6eea30d35a Ported PrimitiveDrawing for HTML5 games 2015-01-18 18:01:11 +01:00
Florian Rival 4c39bf0fa2 Removed need to have useless destruction functions for objects 2015-01-06 22:47:02 +01:00
Bouh 33953b0639 Correct 2015-01-03 00:32:07 +01:00
Bouh 4503b55bad Update textruntimeobject.js 2014-12-30 01:36:30 +01:00
Bouh 67e3d777c6 Correct location for textruntimeobject.js 2014-12-30 01:34:50 +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 b40333cbab Latest commit before switching to git for the whole Extension directory.
git-svn-id: svn://localhost@1119 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 22:03:15 +00:00