Commit Graph

44 Commits

Author SHA1 Message Date
Florian Rival 767f365a78 Revert usage of pick in GenerateObjectCondition
Don't show in changelog
2020-08-05 18:47:39 +02:00
Florian Rival 5f54583ff5 Add TypeScript checks to gdjs.RuntimeScene, gdjs
Only show in developer changelog
2020-08-05 18:47:39 +02:00
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 4f17d526ab Fix typo 2020-05-14 19:26:04 +02:00
Arthur Pacaud e2f8f70d54 Improve JSDoc in gd.js (#1459) 2020-02-23 20:34:37 +00:00
Florian Rival 0d60a54fa7 Add support for extension lifecycle events function 2020-02-14 16:58:05 +00:00
Florian Rival e95a336dd2 Add new GDJS callbacks: first scene loaded, pre/post events 2020-02-12 20:47:43 +00: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 6dba9d9031 Improve EventsBasedBehavior edition in IDE 2019-05-06 22:51: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 73121d5d53 [WIP] Add code generation for EventsBasedBehavior (2) 2019-04-29 21:48:28 +01:00
Florian Rival 3cf8a8ea65 Add callbacks for when a gdjs.RuntimeScene is paused/resumed 2019-03-14 22:56:19 +00:00
Florian Rival f370b8b78b Add gdjs.objectsListsToArray and OptionsEditorDialog for EventsFunctionsExtensionEditor 2018-10-08 22:21:37 +01:00
Florian Rival 98f97f7b17 Add Monaco editor for JavaScript code events, with autocompletion support 2018-08-17 18:03:06 +02:00
Lizard-13 b2b3307ff7 Add RandomInRange, RandomFloat and other random functions (#558) 2018-07-21 19:06:26 +01:00
Florian Rival 3be5d85733 Update GDJS docs to use JSDoc 2018-07-04 22:26:02 +01:00
Florian Rival 80ca92336e Fix filters and refactor Text style update for Pixi v4 2018-01-09 23:03:26 +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 fc2fe9e1eb Reworked gdjs.evtTools.object.twoListsTest and Array.prototype.createFrom to avoid allocations 2016-08-14 19:33:43 +02:00
Florian Rival b3b39ab468 Remove gdjs.iterateOverArray and replace its usage by raw loops 2016-08-07 22:26:41 +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
Florian Rival 246bde6dec Various fixes for Cocos2d 2016-03-02 11:38:50 +01:00
Florian Rival 7f3ef4002d Remove dead code in HTML5 game engine 2016-02-16 23:16:59 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival 4b3b5a9bbe Fix 'an behavior' and wording 2015-08-18 18:36:52 +02:00
Florian Rival 428e72914d [WIP] Rename Automatism to Behavior 2015-08-17 23:52:59 +02:00
Florian Rival 130f5526f2 Allow gdjs.register* functions to be called multiple times 2015-03-11 17:15:58 +13:00
Florian Rival ddb1f1dbda Support for (multi)touch in gdjs.RuntimeObject.cursorOnObject 2015-03-11 16:23:46 +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 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 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 49008c8478 Added missing built-in extensions ( even if most of them are not implemented ).
git-svn-id: svn://localhost@1037 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-15 18:11:26 +00:00
Florian 673443850a Fixed some small bugs.
git-svn-id: svn://localhost@1007 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-22 20:20:20 +00:00
Florian 2cedf94f91 Runtime : Cached default hitbox to avoid temporaries.
git-svn-id: svn://localhost@999 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-20 18:15:51 +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
Florian 3bd7326f72 Initial import.
git-svn-id: svn://localhost@967 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-06 20:06:36 +00:00