@ud-viz/game_shared_template

NPM package version

Overview

@ud-viz/game_shared_template provides a collection of script base on @ud-viz/game_shared reusable for building interactive and games. It includes functionality for managing maps, handling drag and drop operations for avatars, and managing native commands for object movement and rotation.

Installation

You can install @ud-viz/game_shared_template via npm:

npm install @ud-viz/game_shared_template

Usage

Example

const { AbstractMap,  DragAndDropAvatar, NativeCommandManager } = require('@ud-viz/game_shared_template');

// Example usage of AbstractMap
class MyMap extends AbstractMap {
  // Implement custom methods and functionality
}

// Example usage of DragAndDropAvatar
const avatarManager = new DragAndDropAvatar();

// Example usage of NativeCommandManager
const commandManager = new NativeCommandManager();

Documentation

Online Documentation

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests on the GitHub repository. See Contributing.md.

License

This package is licensed under the GNU Lesser General Public License Version 2.1, with copyright attributed to the University of Lyon.

Credits

@ud-viz/game_shared_template is developed and maintained by VCityTeam. See Contributors.md.