'Offline support' setting; Folder project improvements; TypeScript updates.
TS is great :)
but also can you fix some bugs:
- Typing for IRuntime["sortZOrder"], callback must return number not boolean;
- Typing for ConstructEventTarget, first you need mapping which event fit to which argument
type in callback, like it's work with default addEventListener in js, document.addEventListener("click", (e: MouseEvent) => {}), cause for now I have an error for example when listen pointerDown
runtime.addEventListener("pointerdown", (e: PointerEvent) => {}) PointerEvent is not ConstructEvent;
- Externally created files appears in project only if they are created in "scripts" subfolders which created via Construct, so you need to add "scripts" subfolder in Construct and then any added scripts in this folder in external IDE appears in Construct after update or preview with enable auto update;
And again - Typescript is great, it's very nice you moving in this direction, thank you guys!
Please report any problems to the issue tracker as things only mentioned in comments are easily lost and forgotten.