3.2.0 • Published 8 months ago

@ud-viz/shared v3.2.0

Weekly downloads
-
License
(LGPL-2.1)
Repository
github
Last release
8 months ago

@ud-viz/shared

NPM package version

@ud-viz/shared is a npm package based on Three.js including data processing and model plus a game engine.

Directory Hierarchy

UD-Viz/packages/shared
├── bin                                 # Global NodeJS development
├── src                                 # JS files composing the package
|    ├── Game                           # Shared game engine
|    |    ├── Component                 # Components of `Game.Object3D`
|    |    ├── ScriptTemplate            # JS script templates of Shared game engine
|    |    ├── State                     # Game state
|    |    ├── Context.js                # Handle scripts, collisions and model of a game
|    |    ├── Object3D.js               # Game node of a 3D scene
|    ├── Command.js                     # Basic object communication
|    ├── Data.js                        # Module for data processing (split string, converts to uri...)
|    ├── index.js                       # API description (webpack entry point)
|    ├── ProcessInterval.js             # Manage loop process requesters
|    ├── Type.js                        # Check if a string is a valid number
├── webpackConfig                       # Configs of bundles' creation
├── package.json                        # Global npm project description
├── Readme.md                           # It's a me, Mario!

Getting started

See here.

Developers

For pre-requisites see here.

Npm scripts

ScriptDescription
npm run buildCreate a webpack bundle in production mode. See webpack.config.js
npm run build-debugCreate a webpack bundle in developpement mode. See webpack.config.js
npm run testRun shared testing scripts. Uses this test script
npm run debugLaunch a watcher for debugging. See here for more information

Debugging

For debugging run:

npm run debug

This runs a watched routine debug.js with nodemon which:

  • Runs a npm run build-debug
  • May run npm run test (true by default).
3.2.0

8 months ago

3.1.1

9 months ago

3.1.0

12 months ago

3.0.0

1 year ago