Playcanvas engine runtime

From teknokomo/universo-platformo-react · View interactive version

Playcanvas engine runtime is an AI agent skill from the GitHub repository teknokomo/universo-platformo-react. Use when planning, implementing, or QA-reviewing MMOOMM or browser 3D work that uses the Universo PlayCanvas wrapper, PlayCanvas Engine runtime scenes, WebGL canvas lifecycle, camera/light setup, procedural geometry, asset readiness, resize behavior, or cleanup. Applies to `@universo-react/playcanva

How to use this skill

Skill file

PlayCanvas Engine Runtime

Use this skill for PlayCanvas Engine runtime work in Universo, especially MMOOMM

widgets mounted inside the published application shell.

Version Guard

material for integration patterns, but it is not a current wrapper package.

Required Output

Before implementing or reviewing PlayCanvas runtime code, state:

Workflow

  1. Initialize exactly one PlayCanvas application per mounted canvas.
  2. Keep the canvas bounded by the owning widget/container, not the full page.
  3. Build the scene graph with entities, render components, camera, lights,

materials, meshes, and transforms.

  1. For procedural MVP geometry, prefer Engine primitives and explicit geometry

workflows before introducing asset pipelines.

  1. Gate ready UI on asset and scene readiness; provide user-facing failure

states through the surrounding MUI runtime surface.

  1. Resize through the widget/container contract and call the appropriate

PlayCanvas canvas resize path when the container changes.

  1. On unmount, remove event listeners, stop animation/update hooks, detach room

or input handlers owned by the widget, destroy entities, unload assets where

appropriate, and destroy the PlayCanvas app.

Blocking Rules

normal users.

References

resize, and cleanup guidance.

custom normals, and MVP asset guardrails.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.