Commit Graph

80 Commits

Author SHA1 Message Date
Arthur Pacaud cafa0d512f Allow extensions to declare dependencies (npm, cordova...) and custom properties in the project (#1717)
Only show in developer changelog
2020-08-24 20:51:10 +01:00
Florian Rival 61e8e95d5b Add typing for PIXI in GDJS Runtime
This means that the global object PIXI will now be properly typed and understood by TypeScript.

Also fix documentation generation

Don't show in changelog
2020-07-25 18:56:38 +01:00
Florian Rival aa823c1287 Make Network Preview (Preview over Wifi) compatible with live preview ("hot reloading")
* Also allow the debugger to work with games run using Network Preview (Preview over Wifi), including on other devices (phones, tablets...)

Don't show the rest in the changelog:

This removes the "live reloading" of the network preview and makes the hot-reloading and debugging to work with the network preview.
2020-07-25 14:23:02 +01:00
Florian Rival c385aae845 Add support for "hot reloading" of previews (apply changes to preview without restarting) 2020-07-25 14:23:01 +01:00
Florian Rival 3a9f896f04 Add hot reloader (electron app only) 2020-07-25 14:23:00 +01:00
Arthur Pacaud 689904bda5 Add an action to pause the game during a preview (#1806)
* This is useful to then inspect the game with the Debugger.
2020-06-14 20:07:44 +01:00
Arthur Pacaud a04f641415 Add a condition to check if the game is running as a preview (#1740) 2020-05-24 19:01:22 +02:00
Florian Rival ed7ddd2b67 Improve autocompletions for JavaScript code events and for the game engine 2020-05-17 19:30:58 +01:00
Florian Rival e95a336dd2 Add new GDJS callbacks: first scene loaded, pre/post events 2020-02-12 20:47:43 +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 af21bc5aea Add command in GDJS to run TypeScript to type check the game engine 2019-11-28 23:01:43 +00:00
Wend1go 12c5df67fa Integrate experimental SkeletonObject into GD5 (#1138)
The object is looking for a maintainer! https://github.com/4ian/GDevelop/pull/1138

Flagged as experimental and added warning about this
2019-09-19 22:49:52 +01:00
Florian Rival 5b3bb9d0cf Add getJsonManager to gdjs.RuntimeGame 2019-07-01 22:24:48 +01:00
Florian Rival a7e0cd2cec Add gdjs.JsonManager to load json + added icons in ResourcePreview for all resources 2019-06-30 15:50:21 +01:00
Florian Rival b7b94a18fb Add supporting for capping the maximum number of FPS, with safety margin 2019-04-07 16:06:05 +01:00
Florian Rival 1f7bec0ff1 Add option to set scale mode ("sampling") of the game to nearest ("pixel-perfect") 2018-12-25 23:27:09 +01:00
Florian Rival 45d2844d8b Add FontResource and rework loading to ensure all fonts are properly loaded
* Add FontManager to the game engine, used to load and get access to loaded fonts.
* Use fontfaceobserver library to detect when a font is loaded.
* Add FontResource as a resource, like AudioResource.
* Update the TextEditor to use a selector for fonts.
* Refactor ResourceSelector floating label text
2018-11-12 23:45:01 +00:00
Florian Rival b785b3d2fc Enhance typings/documentation of GDJS 2018-08-22 23:08:20 +01:00
Florian Rival 5bf75f8cd6 Add support for fullscreen and close the app on Electron/Cordova (#590)
* Move openURL to RuntimeGameRenderer for consistency/portability
* Add support for Fullscreen in Electron
* Add support for closing the game/app on Electron and Cordova
* Improve typings and allow RuntimeGame.adaptRendererSizeToFillScreen to be called without args
2018-08-22 21:58:22 +01:00
Florian Rival 3be5d85733 Update GDJS docs to use JSDoc 2018-07-04 22:26:02 +01:00
Florian Rival 5468ea19b3 Fix profiler not stopped (and user unable to get results) when changing scene 2018-06-25 21:50:55 +01:00
Florian Rival 5fc9a4a51a Improve Profiler 2018-06-24 00:06:04 +01:00
Florian Rival cdf95811b9 Refactor ingame profiling display & remove profiling at begining of scene 2018-06-23 11:43:33 +01:00
Florian Rival 1a3bd2423d [WIP] Add support for profiler in GDJS 2018-06-23 11:43:32 +01:00
Florian Rival 6d9b96d0e8 Fix game not launching with the specified scene 2018-05-27 23:41:01 -07:00
Florian Rival fdf4683b83 Add option to adapt HTML5 games size to the screen at startup 2018-05-24 10:04:47 -07:00
Florian Rival 6450a051d0 Add Facebook Instant Games basic support 2018-05-23 20:47:05 -07:00
Florian Rival a53de69c4e [WIP] Implement a basic client/server debugger for GDJS games 2018-04-23 22:15:20 +01:00
Florian Rival 2c4ae7573e Add LoadingScreen in project properties to allow to show/hide splash at startup 2018-02-18 23:02:26 +01:00
Florian Rival 04ff1f2726 Add GDevelop Splashscreen at game startup 2018-02-18 21:55:42 +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 edae3892ca Rework gdjs.TimeManager to avoid using Date.now() 2016-08-07 22:26:41 +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 2ae5f01836 Add an option to AnchorBehavior to position objects according to the original game window size
The option is activated by default, so that the distance to the edges are the same as the one
in the editor, even when the game size has been changed.
2016-07-27 01:14:16 +02:00
Florian Rival 0c2600ccf4 Directly use *Renderer in game engine 2016-02-22 23:12:45 +01:00
Florian Rival d3d37afea6 Move loading screen rendering to gdjs.LoadingScreenPixiRenderer 2016-02-22 22:22:13 +01:00
Florian Rival 961513f81b Move game loop implementation in RuntimeGamePixiRenderer 2016-02-21 23:05:31 +01:00
Florian Rival de45e12245 Rename gdjs.ImageManager to gdjs.PixiImageManager 2016-02-21 22:43:28 +01:00
Florian Rival 746bdd0114 Move rendering of gdjs.RuntimeGame to gdjs.RuntimeGamePixiRenderer 2016-02-21 19:13:35 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival d65bc5c61f Previewing an external layout from the IDE now launches the game with the objects from the external layout 2015-12-15 22:03:57 +01:00
Florian Rival 7d991c6823 Fix GDJS tests 2015-11-28 16:37:55 +01:00
Florian Rival b492cc72c4 Support for using audio files directly or as resources 2015-11-23 00:14:56 +01:00
Florian Rival 2d6de6e16a Rework gdjs.ImageManager to make it responsible of textures loading 2015-11-22 15:37:18 +01:00
Florian Rival 95afd2c5b6 Support stop pingsounds/musics of previous scene for HTML5 games 2015-11-19 23:16:10 +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 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 428e72914d [WIP] Rename Automatism to Behavior 2015-08-17 23:52:59 +02:00
Florian Rival 563e92a37e Basic scene stack for HTML5 games 2015-07-24 10:53:09 +12:00