playengine

A WebGL framework based on PlayCanvas engine

Usage no npm install needed!

<script type="module">
  import playengine from 'https://cdn.skypack.dev/playengine';
</script>

README

  • PlayEngine

PlayEngine is a framework based on PlayCanvas engine.

** Features

  • Refactor playcanvas script system by TypeScript. You can write script by TypeScript now. See [[file:src/scripts/camera/orbitCamera.ts][OrbitCamera]] for more detail.

  • Lots of enhancements for PlayCanvas engine. Implemented by prototype inheritance.

  • Add asset type managers, such as ModelManager, MaterialManager, TextureManager and so on.

  • Add selection for application. You can select entities by raycast or pc.Picker.

  • Built in gizmoes.

** Install

*** Prerequirements

  • PlayCanvas engine (Global variable =pc=)

    You can use =