@al-engine/asset
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Al engine

Asset

This is module for asset management for Al engine.

  const asset = new SpriteAsset(urlToAsset);
  // To start loading you need to call load after creating
  asset.load();
  // You can check if it's still loads
  asset.isLoading();

  // After loading all the asset data will be in [data] field
  asset.data

Readme

Keywords

none

Package Sidebar

Install

npm i @al-engine/asset

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

58 kB

Total Files

12

Last publish

Collaborators

  • sasha-z