Commit Graph

42 Commits

Author SHA1 Message Date
AlexandreS c0176dfb2b Add lightweight markdown interpreter for in-app tutorial in-game messages (#7391)
Don't show in changelog
2025-02-12 14:35:32 +01:00
D8H 94045aec91 Fix typo in comments and message strings (thanks @st-Wook!) (#5262)
Co-authored-by: supertree-wook <phk09242@supertree.co>
2023-04-28 11:58:51 +02:00
Florian Rival c95991756a Add type checking in some test files and remove HSHG from the codebase
Don't show in changelog
2021-03-02 23:09:54 +00:00
Florian Rival 4b2cd90320 Add documentation of extensions in the generated GDJS documentation
Only show in developer changelog
2021-01-14 21:32:13 +00:00
Florian Rival 542d0bceba Fix crash in HSHG after translation to TypeScript
Don't show in the changelog
2021-01-08 21:38:06 +01:00
Florian Rival 65d3688052 Fix duplicate classes in the generated GDJS documentation
Don't show in changelog
2021-01-08 19:55:20 +01:00
Florian Rival d0dba2a713 Fix typings in TypeScript files
Don't show in changelog
2021-01-08 19:54:56 +01:00
Florian Rival d639e0ea6e Translate more files to TypeScript
Don't show in changelog
2021-01-08 19:54:52 +01:00
Florian Rival 8338ab666d Translate a bunch of GDJS files to TypeScript
Don't show in changelog
2021-01-08 19:54:37 +01:00
Florian Rival 89e3853296 Enforce TypeScript "strictNullChecks" and other strict compiler options 2020-02-25 21:06:04 +00:00
Arthur Pacaud 746b2f5480 Add more JSDoc/typing to gdjs.RuntimeObject and Hashtable (#1376) 2020-02-10 20:24:11 +00:00
Florian Rival 64c9033155 Add basic JSDoc to Hashtable 2019-08-21 14:17:57 -07:00
Florian Rival 3be5d85733 Update GDJS docs to use JSDoc 2018-07-04 22:26:02 +01:00
Florian Rival b9d71b0d9c Optimization to avoid constructing objects maps for events at runtime 2016-12-31 18:38:45 +01:00
Florian Rival 5281cd54cc Replace HSHG in platformruntimebehavior.js by RBush
TODO: Check if RBush create/destroy a lot of temporary JS objects and arrays
and try to reduce this.
2016-12-31 18:38:45 +01:00
Florian Rival edae3892ca Rework gdjs.TimeManager to avoid using Date.now() 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 6625e3fd00 Avoid creating temporary objects when calling Hashtable.keys() 2016-04-28 22:18:25 +02:00
Florian Rival c88f7e53c0 Rework PlatformBehavior to avoid creating temporary objects. Remove dead code in HSHG and avoid temp objects/arrays 2016-04-27 23:03:46 +02:00
Florian Rival 4c62c8c046 Comment out a console.log 2016-04-27 00:31:57 +02:00
Florian Rival 2a90e9bd5e Avoid usage of Hashtable.entries() and remove it 2016-04-26 23:50:20 +02:00
Florian Rival ad2e85be49 Use prototype to define Hashtable functions instead of modifying the object 2016-04-26 23:29:09 +02:00
Florian Rival 656921b9c8 Move soundmanager.js to howler-sound-manager 2016-03-02 12:19:03 +01:00
Florian Rival 1e4f622b5c Update pixi.js to v3.0.8 and add a TODO about HTML5 resources loading 2015-11-18 21:57:48 +01:00
Florian Rival 4eeabf430d Update to Pixi.js v3 2015-05-13 23:40:21 +12:00
Florian Rival 3ae4f1ba73 Switched to howler.js for the sound system implementation of HTML5 games
Refactored gdjs.SoundManager
2015-05-02 18:36:52 +12:00
Florian Rival 0caadb1010 Updated pixi.js to v2.2.3 2015-01-07 17:38:23 +01:00
Florian Rival c64838009c Added support for the action to open an URL in GDJS (with support for CocoonJS & Intel XDK) 2014-10-14 23:10:54 +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 23d9c7fe42 Updated licenses.
Fix pow expression in EditExpressionDialog.
French and Spanish translation update.
Upgraded pixi.js to latest version.
2014-07-26 17:20:33 +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 2f471ed7db Fixed regression in performance in SoldierJS.
git-svn-id: svn://localhost@1060 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 20:11:45 +00:00
Florian 6b5c6c948d Improved MathematicalToolsExtension.
Added loading of TextObject extension from GD C++.
Tried to improve performance of Runtime.

git-svn-id: svn://localhost@1059 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-23 19:56:32 +00:00
Florian 71cb9e2021 Fixed closure compiler incompatibility with pixi.js
git-svn-id: svn://localhost@1048 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-18 15:20:27 +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 6ccc2a17dc Move back to old implementation of Hashtable.
git-svn-id: svn://localhost@1033 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 22:19:56 +00:00
Florian 4eb9ba0da0 Tried a more basic implementation of hashtable : No changes, still memory consumption growing quite fast.
git-svn-id: svn://localhost@1032 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 22:18:20 +00:00
Florian bbb12a2491 Updated collision test to use a spatial hashing grid. Performance is improved when lots of objects are involved ( even if limited when the polygon collision test must be really done on lots of objects ).
Updated pixi.js


git-svn-id: svn://localhost@1031 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-13 21:47:26 +00:00
Florian e3c651efec Fixed conflict in Pixi.js with Closure Compiler.
Finished exportation and support for minimizing the code with the Closure Compiler.

git-svn-id: svn://localhost@1028 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-06-11 20:59:47 +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 5495cec870 Documented part of the runtime.
Added support for hit boxes and collision condition.
Moved runtime libs to a "libs" folder.

git-svn-id: svn://localhost@986 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-05-11 14:20:53 +00:00