mrmaxm
mrmaxm
> Thinking about this more, we probably should focus on the primary task here, which is to add support for ES Modules, anything outside this is secondary, and it doesn't...
How do you define a name of a script and attach it to the entity?
> > How do you define a name of a script and attach it to the entity? > > Scripts will be identified by their path, so `entity.esmscript.import('./path/to/esmscript.js')`. I think...
> The import will be context aware and fetch the bundle if necessary and resolve the ESM script it export. It should also handle code splitting. If you're consuming a...
A couple of questions: 1. How to know when the script got disabled/enabled without events? 2. If get/set is not specified for the class, but the attribute is, will the...
**Regarding the whole of this PR, why not use classes notation with existing system and extend it, instead of creating a new one?** I just did this: ```javascript class TestClass...
> We’re planning to allow a global script priority, so users can specify an execution order to types of scripts. This is outlined in a separate issue but existing scripts...
> One of the lacking features for us with ScriptType is inability to add modules from NPM ecosystem. Given how modules are widespread today, some libraries don't even bother generating...
> To be honest, this has caused a few headaches in the past... > > ```js > const c = Color() > script.color = c > c.r = 1 >...
> https://developers.poki.com/player-device-report/ shows that only ~60% of the Poki users have `KHR_parallel_shader_compile`. Less than I expected. Poki's statistics comes from a very specific audience, generally it covers a lot of...