Commit Graph

36 Commits

Author SHA1 Message Date
Florian Rival 64dbab1bce Fix layer center position after resolution update 2020-01-02 21:33:36 +00:00
Florian Rival 9d3cd9f110 Add option to automatically resize game resolution to window size
* Also refactor:
  * method names related to window/game resolution
  * runtime game renderer size handling

* Update ProjectPropertiesDialog
2020-01-02 21:33:36 +00:00
Florian Rival 4ac3516336 Improve type annotations for gdjs.Layer 2019-12-27 18:34:03 +01:00
Florian Rival e3aed61390 Add type annotations and auto-format gdjs.Layer 2019-12-27 18:21:31 +01:00
Florian Rival 50adbfaae9 Add support for booleans in effects parameters 2019-12-21 15:16:15 +01:00
Florian Rival 977dc27bd0 Add update for effects + colors and resources for effect parameters 2019-12-21 12:04:08 +01:00
Wend1go a077da2f54 Add more layer effects (#1206)
Also enable layer effects to be enabled/disabled.
2019-08-27 21:10:36 +01:00
Florian Rival b84bb8630a Improve accuracy/performance of various computations and add benchmarks
Add tests for gdjs.Force
Add tests for gdjs.Layer
2018-10-28 06:41:09 -07:00
Florian Rival b785b3d2fc Enhance typings/documentation of GDJS 2018-08-22 23:08:20 +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 a1fa6dad15 Implement AnchorBehavior for the Javascript Platform 2016-07-25 23:23:30 +02:00
Florian Rival e83d2a2b48 Add support for effects for HTML5 games (Pixi.js and Cocos2d-JS renderers)
Two effects are hardcoded for now
2016-06-02 01:05:14 +02:00
Florian Rival 0c2600ccf4 Directly use *Renderer in game engine 2016-02-22 23:12:45 +01:00
Florian Rival 8a0d0d332d Rename gdjs.LayerPixiRenderer PIXI related methods 2016-02-21 17:16:13 +01:00
Florian Rival 9bae415530 Move rendering of layers in gdjs.LayerPixiRenderer 2016-02-21 16:51:48 +01:00
Florian Rival 35f857060c Move rendering of runtime scene into gdjs.RuntimeScenePixiRenderer 2016-02-21 15:51:52 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival 4eeabf430d Update to Pixi.js v3 2015-05-13 23:40:21 +12:00
Lizard-13 5472b61a82 Get container for layeres 2015-05-05 11:12:08 -03:00
Florian Rival 3121e632ec Fixed MacOS bundle and updated docs 2015-04-03 00:07:29 +13:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +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 131d1fe224 Fix layers not properly hidden in HTML5 games.
Started implementing unit tests for GDJS.
2014-08-25 21:03:59 +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 a2bc0b3306 Updated documentation.
git-svn-id: svn://localhost@1099 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 20:18:44 +00:00
Florian 6e8b74bdff Added loading of DestroyOutsideAutomatism from GD C++ Platform.
Added getAutomatism to runtimeObject and prevented bug when deleting an object in an automatism method.

git-svn-id: svn://localhost@1085 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-28 16:29:29 +00:00
Florian 8c9f864451 Added automatisms support to Runtime.
Added Draggable automatism test.
Fixed hidden objects rendering.
Added support for using custom fonts.
Added support for getting the mouse position ( or any other point ) in a rotated/scaled layer.
Added tests.

git-svn-id: svn://localhost@1064 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-25 14:18:25 +00:00
Florian cb375aaac3 Moved events related functions to gdjs.evtTools.
Updated a bit the doc.

git-svn-id: svn://localhost@1058 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-20 18:26:04 +00:00
Florian e92e1ec65b Added copyright.
git-svn-id: svn://localhost@1038 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-16 15:15:05 +00:00
Florian 86c67281d1 Added support for scenes changed ( All scenes are now exported during game preview ) and game quit.
Added basic support for CursorOnObject condition.

git-svn-id: svn://localhost@1021 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-02 15:45:07 +00:00
Florian c0ee13d816 Objects z Ordering done.
git-svn-id: svn://localhost@1019 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-31 20:43:50 +00:00
Florian 50ee292342 Added TimeExtension.
Added imageManager to Runtime ( TODO : Images not properly loaded at startup ).
Added support for scaling Sprite objects.

TODO : Polygon collision testing is too expensive. Add a check for basic bounding box and avoid recreating temporaries when returning hit boxes.
TODO : Avoid creating forces each frame.
TODO : Recycle objects.

git-svn-id: svn://localhost@997 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-19 22:23:44 +00:00
Florian 8394c1761a Almost finished implementation of BaseObjectExtension.
Added very basic support for layers.
Started implementing SceneExtension and CameraExtension.
Added tests.

git-svn-id: svn://localhost@995 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-14 22:46:26 +00:00