Mark Lundin

Results 52 issues of Mark Lundin

ESM Scripts by design do not trigger `attr:{propName}` events. In order to help migration, it would be helpful to provide some alternative. Something like; ```javascript import { Script, watch }...

feature request

## Problem It would be useful to have script attributes that only displayed under certain conditions. For example ```javascript class PostProcessing extends Script { /** @attribute */ useBloom = true;...

feature request

Feature Request from https://github.com/playcanvas/editor/issues/1196#issuecomment-2402457468 >I would also like collapsible headers for interface classes, based on its enabled attribute. In the script I created, I have mutliple subsections that are available...

feature request

This ticket is to track the feature of TypeScript support to the editor as a native way of creating Scripts. ```typescript import { Script } from 'playcanvas' export class My...

feature request

### Describe the bug In [this project](https://stackblitz.com/edit/pc-react-gaussian-splats) I want to delete the file `/public/skull.compressed.ply`. This is a binary file. If I delete it, it's removed from the file heirarchy, but...

### React Export This PR adds an option for exporting a React app using the [`@playcanvas/react`](https://github.com/playcanvas/react) library. The export generates a project zip file that contains all the necessary assets...

enhancement

Exports a `SogsMeta` type for Sogs meta data. This is a handy type that's useful for engine consumers (@playcanvas/react). Also generates associated docs. prop descriptions tbd ![image](https://github.com/user-attachments/assets/a54cf12d-b003-437c-8244-819fa7c7c4e9)

### Problem PlayCanvas currently supports: • `FILLMODE_KEEP_ASPECT` and `FILLMODE_FILL_WINDOW`: tied to the window size • `FILLMODE_NONE`: allows manual control over the canvas dimensions However, a common use case - embedding...

@playcanvas/react performs simple validation of engine props at runtime. It would be useful to exclude any deprecated members. Adding something like the following would help provide a list of deprecated...

enhancement

Updates editor to generate ESM (.mjs) scripts as the default when no file suffix is given

enhancement