Skip to content
On this page

@thejsngin/standard-assets / Modules

@thejsngin/standard-assets

Description

@thejsngin/standard-assets is a package that provides a set of standard assets for use with jsngin. These assets include essential components and functionalities necessary for building games.

Installation

You can install the @thejsngin/standard-assets package using npm:

bash
npm install @thejsngin/standard-assets

Usage

To use the assets provided by @thejsngin/standard-assets, you need to import the desired modules into your game code. Here are the available exports:

  • ./renderer.jsncmp
  • ./scene.jsncmp
  • ./transform.jsncmp
  • ./model.jsncmp
  • ./geometry.jsncmp
  • ./material.jsncmp
  • ./mesh.jsncmp
  • ./light.jsncmp
  • ./camera.jsncmp
  • ./physicsWorld.jsncmp
  • ./collider.jsncmp
  • ./rigidBody.jsncmp
  • ./script.jsncmp
  • ./empty.jsncmp

License

This package is distributed under the MIT License. See the LICENSE file for more information.

jsngin.com