mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00

GDevelop now refreshes resources (images, videos, 3D models, fonts, etc.) when a change is detected on the filesystem so that you can immediately see the changes. This allows to efficiently use GDevelop alongside other tools (Tiled or LDtk for instance). Notes: - This logically only affects the desktop version for projects saved on the filesystem; - You can deactivate it in the preferences.
36 lines
1.4 KiB
JavaScript
36 lines
1.4 KiB
JavaScript
// @flow
|
|
|
|
/**
|
|
* @file This file contains the (Flow) types that are used in the JavaScript
|
|
* extensions declaration (i.e: JsExtension.js files).
|
|
* Extension runtime files are in TypeScript (ts files) and not using Flow.
|
|
*
|
|
* If you do changes here, run `node import-GDJS-Runtime.js` (in newIDE/app/scripts),
|
|
* and be sure that the types declared here are reflecting the types exposed by the editor.
|
|
*
|
|
* Note that Flow comments are used to avoid having to preprocess this file and the
|
|
* JsExtension.js files through Babel. This allows to keep plain JS files, while allowing
|
|
* Flow static type checking to be run on them when integrated in the editor.
|
|
*/
|
|
|
|
/*::
|
|
export type ObjectsRenderingService = {
|
|
gd: libGDevelop,
|
|
PIXI: any,
|
|
THREE: any,
|
|
THREE_ADDONS: {SkeletonUtils: any},
|
|
RenderedInstance: any,
|
|
Rendered3DInstance: any,
|
|
registerInstanceRenderer: (objectType: string, renderer: any) => void,
|
|
registerInstance3DRenderer: (objectType: string, renderer: any) => void,
|
|
requireModule: (dirname: string, moduleName: string) => any,
|
|
getThumbnail: (project: gdProject, objectConfiguration: gdObjectConfiguration) => string,
|
|
rgbOrHexToHexNumber: (value: string) => number,
|
|
registerClearCache: (clearCache: any => void) => void,
|
|
};
|
|
export type ObjectsEditorService = {
|
|
registerEditorConfiguration: (objectType: string, editorConfiguration: any) => void,
|
|
getDefaultObjectJsImplementationPropertiesEditor: ({| helpPagePath: string |}) => any,
|
|
};
|
|
*/
|