0.0.4 • Published 7 years ago

naf-entity-saver v0.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

NAF Entity Saver

NAF Entity Saver is a patch of the Networked Aframe (NAF) entity manager class that will take ownership and rebroadcast entities of another user when they leave the room. The entity manager class is what manages entities with the networked component.

This plugin is intended to be used for sandbox apps, where users create entities that you might want to save for future visitors. Some apps such as A-Painter don't use the networked component, and will require a different plugin to persist entities.

Usage

NAF Entity Saver just needs to be included in your source code, and it will automatically patch NAF.

NPM

Run in your project root

npm install naf-entity-saver

Include in your source code

require('naf-entity-saver');

The networked-aframe package will automatically be required as a dependency

Script Tag

Include the following after NAF

<script src="https://unpkg.com/naf-entity-saver"></script>
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago