@drecom/scene-graph-mediator-cli
This module converts static scene file to scene graph schema. Each of converters should know scene graph definitions schema of each engine/library, this module provides [CocosCreator](http://www.cocos2d-x.org/creator) exporter by default.
Last updated a year ago by dolow .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @drecom/scene-graph-mediator-cli 
SYNC missed versions from official npm registry.

scene-graph-mediator-cli

This module converts static scene file to scene graph schema. Each of converters should know scene graph definitions schema of each engine/library, this module provides CocosCreator exporter by default.

The schema definition of scene graph is based on @drecom/scene-graph-schema .

Usage

$ sgmed
Usage:
  set environment variable as below, then execute lib/index.js with node
    required:
      RUNTIME          runtime identifier, currently supports only 'cc'
      ASSET_ROOT       root directory for assets
      SCENE_FILE       exporting scene file

    optional:
      DEST             destination directory;       default './scene-graph'
      ASSET_NAME_SPACE asset directory name;        default 'assets',
      ASSET_DEST       asset destination directory; default ${DEST}/${ASSET_NAME_SPACE}
      GRAPH_FILE_NAME  scene graph file name;       default 'graph.json',

  e.g;
    RUNTIME=cc ASSET_ROOT=path/to/asset SCENE_FILE=path/to/scene sgmed

Current Tags

  • 1.2.1                                ...           latest (a year ago)

15 Versions

  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 15
Last Month 2
Dependencies (1)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |