Skip to content

metaversecloud-com/scene-swapper

Repository files navigation

Scene Swapper

Introduction / Summary

Scene Swapper is an on-canvas application allowing users to swap scenes by clicking on the key asset.

Key Features

Canvas elements & interactions

  • Key Asset: When clicked this asset will automatically swap the current scene for another one.

Data objects

  • Key Asset: the data object attached to the dropped key asset stores the default and currently displayed scene.

Environment Variables

Create a .env file in the root directory. See .env-example for a template.

Variable Description Required
NODE_ENV Node environment No
SKIP_PREFLIGHT_CHECK Skip CRA preflight check No
INSTANCE_DOMAIN Topia API domain (api.topia.io for production, api-stage.topia.io for staging) Yes
INTERACTIVE_KEY Topia interactive app key Yes
INTERACTIVE_SECRET Topia interactive app secret Yes

Developers

Built With

Server

Node.js Express

Add your .env environmental variables

See Environment Variables above.

Where to find INTERACTIVE_KEY and INTERACTIVE_SECRET

Topia Dev Account Dashboard

Topia Production Account Dashboard

Implementation Requirements

The SCENE_IDS environment variable should contain a comma-separated list of scene IDs that the asset will cycle through when clicked.

Helpful links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •