UofTMADLab / reach

A VR format for Twine
0 stars 0 forks source link

"diff" transitions between passages, so that elements don't need to be reloaded unnecessarily #21

Open samesimilar opened 4 years ago

samesimilar commented 4 years ago

from a-frame: use pool component

pool

The pool component allows for object pooling. This gives us a reusable pool of entities to avoid creating and destroying the same kind of entities in dynamic scenes. Object pooling helps reduce garbage collection pauses.

Note that entities requested from the pool are paused by default and you need to call .play() in order to activate their components’ tick functions.