Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user scripting module. #212

Open
ctrlaltdavid opened this issue Sep 23, 2022 · 0 comments
Open

Add user scripting module. #212

ctrlaltdavid opened this issue Sep 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ctrlaltdavid
Copy link
Collaborator

ctrlaltdavid commented Sep 23, 2022

  • One thread per script, uses Web Workers
  • Script Engines / Contexts
    • System (local, non-sandboxed script)
    • User (local script)
    • Avatar (avatar entity)
    • Entity (domain entity)
  • API
    • Namespaces
      • CORE (all engines, e.g. scale entities, add materials like shaders)
      • EXTEND (most engines, e.g. raytracing)
      • SPECIFIC (specific features for each engine, e.g. Lumen on UE5)
  • Versioning
    • Scripts
  • Extensibility
    • App developers may want to add modules to the scripting API.
  • Security
    • Isolated from App
    • Isolated from SDK
    • Isolated from Browser in general
    • Isolation is optional and can be broken if desired for full control scripts? ?system vs user script)

Consider this in architecture: https://github.com/Tencent/puerts

@ctrlaltdavid ctrlaltdavid added the enhancement New feature or request label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant