Arthur Pacaud
d8546c5547
Add doc and type annotations to gdjs.WebsocketDebuggerClient ( #1637 )
2020-04-11 18:37:28 +02:00
Florian Rival
f84a97a4f2
Move Cursor/touch on object condition to an "object" condition
...
See #1611
2020-04-05 17:25:09 +02:00
Garett Tok Ern Liang
348459481a
Fix Left/Right Ctrl/Shift/Alt/Meta not recognised as separate keys ( #1553 )
2020-03-25 21:13:08 +01:00
Arthur Pacaud
b77eb123e8
Move loadObject to registerObject method in gdjs.RuntimeScene ( #1572 )
2020-03-22 21:32:43 +01:00
Florian Rival
1193e1bbd0
Run Prettier autoformatting on some files
2020-03-19 23:17:38 +01:00
Quarkstar
c6f21955a3
Add BulgePinch, Glitch, RadialBlur and Twist effects ( #1531 )
2020-03-18 15:20:01 +01:00
Aurélien Vivet
fe5b519917
Add blending mode effect ( #1499 )
2020-03-08 23:34:53 +00:00
Florian Rival
c5ad9715df
Fix project name not escaped in Cordova generated config.xml
2020-03-05 21:21:27 +00:00
Florian Rival
89e3853296
Enforce TypeScript "strictNullChecks" and other strict compiler options
2020-02-25 21:06:04 +00:00
Arthur Pacaud
df655f2269
Removed non-required use of Hashtable.items ( #1458 )
2020-02-25 20:51:55 +00:00
Florian Rival
6b6ec6f06f
Upgrade another package-lock.json file to latest format
2020-02-25 20:46:03 +00:00
Arthur Pacaud
e2f8f70d54
Improve JSDoc in gd.js ( #1459 )
2020-02-23 20:34:37 +00:00
Aurélien Vivet
5ed0c57e48
Improve pixel perfect rendering of games ( #1432 )
...
Can help with the issue of "bleeding" tiles.
2020-02-17 21:34:27 +01:00
Florian Rival
3955612e3b
Run autoformatting on runtimegame-pixi-renderer.js
2020-02-17 20:27:58 +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
Florian Rival
a564a484a7
Rework codeNamespace to be generated by LayoutCodeGenerator instead of EventsCodeGenerator
2020-02-11 21:54:49 +00:00
Florian Rival
b9c1f5f6a7
Add LayoutCodeGenerator
2020-02-11 21:26:00 +00:00
Florian Rival
243bc93fe5
Add EventsFunctionsExtensionCodeGenerator
2020-02-11 20:45:20 +00:00
Arthur Pacaud
746b2f5480
Add more JSDoc/typing to gdjs.RuntimeObject and Hashtable ( #1376 )
2020-02-10 20:24:11 +00:00
Todor Imreorov
7becb0be4b
Fix multiple issues in Dialogue Tree (Yarn) extension ( #1418 )
...
* Add protection against misusage of the extension
* Fix json loading resource reading at the beginning of scene (thanks @4ian)
* Fix getClippedLineText sometimes clips the last letter
2020-02-08 18:25:09 +00:00
Florian Rival
7bf892c7eb
Upgrade to Emscripten 1.39.6
2020-02-02 19:32:09 +00:00
Florian Rival
eae2a06a4e
Improve export speed (~20%) by memoizing mangled names
2020-01-28 23:57:37 +00:00
Arthur Pacaud
574bdaaf41
Refactor SpriteRuntimeObject types to add prefix "Sprite" ( #1378 )
...
Also remove useless parseFloat
2020-01-27 22:54:28 +00:00
Florian Rival
bff43ee771
Remove dead code related to old ExpressionParser
2020-01-27 22:08:48 +00:00
Florian Rival
47025329dd
Remove remaining old functions to register objects/behaviors
2020-01-26 10:53:49 +00:00
Florian Rival
01a844c356
Refactor import-GDJS-Runtime script to use Node.js
2020-01-18 14:27:36 +00:00
Arthur Pacaud
054e48227c
Make object and behavior registering more explicit ( #1379 )
2020-01-17 22:49:24 +00:00
Florian Rival
dc976003b7
Add action to center the window on screen
2020-01-14 22:03:10 +00:00
Florian Rival
b25752907f
Fix effects not applied in exported games
2020-01-13 22:31:54 +00:00
Florian Rival
71dcb20b7b
Fix date not removed from generated GDJS HTML documentation
2020-01-13 19:35:23 +00:00
Florian Rival
61ffb40dee
Remove date from generated documentation HTML
2020-01-13 08:56:08 +00:00
Florian Rival
6655a949ec
Fix GDJS doc generation (incompatible TypeScript/JSDoc notations)
2020-01-12 23:33:39 +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
010b52ced6
Update documentation urls to docs.gdevelop-app.com/...
2020-01-12 18:45:39 +00:00
Florian Rival
a0887a1982
Fix rendering of particles not using a texture
2020-01-06 23:41:15 +00:00
Florian Rival
64dbab1bce
Fix layer center position after resolution update
2020-01-02 21:33:36 +00:00
Florian Rival
dc4e68dd21
Add actions to change game resolution resize mode
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
73f6636163
Use getter and normalize declaration of "ChangeScale"
2019-12-25 15:36:39 +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
Florian Rival
81aa68e69d
Add back existing effects as an "Effect" extension
...
* Add tests for EnumerateEffects.
* Ensure fake effects are present for Storybook stories.
2019-12-17 09:04:00 +00:00
Florian Rival
8891c91d61
Add EffectMetadata and AddEffect to extensions
...
* Allow extensions to store EffectMetadata.
* Rework gdjs.PixiFiltersTools to allow new effects to be dynamically registered.
* Update EffectsList to read effects from extensions.
* Update GDJS ExporterHelper to export include files for effects
* Rename effectName to effectType to avoid confusions in gd::Effect
2019-12-17 09:04:00 +00:00
Florian Rival
721b021b0a
Fix memory leak and warning about texture not found.
...
Replaced the invalid texture for the PIXI image manager by a valid, hardcoded image. This:
* avoids a warning about not being able to load bunny.png (finally!)
* when creating a new Sprite, the invalid texture being used while the sprite is being set up, this was making PIXI adding a new event listener on the bunny.png texture. As the texture was not loaded, the event listener would never be removed, creating a leak.
Verified that the memory consumption is now stable on "Collisions with creation and deletion benchmark.gdg.json" benchmark game.
2019-12-08 23:16:16 +00:00
Florian Rival
c4ba5f43fb
Add test game for audio being played then immediately checked if stopped
2019-12-01 21:43:35 +00:00
Florian Rival
41a275ca8e
Run Prettier on howler-sound-manager and update copyright
2019-12-01 21:28:33 +00:00