# @al-engine/loading

> Loading screen for Al-engine, minimalistic game engine, for pixel perfect games

Latest version **0.2.0** (published 2023-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @al-engine/loading
pnpm add @al-engine/loading
yarn add @al-engine/loading
bun add @al-engine/loading
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2023-06-16 |
| First published | 2021-01-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 2 |
| Unpacked size | 17.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zhesha |
| Maintainers | sasha-z |

## Links

- npm: https://www.npmjs.com/package/@al-engine/loading
- npm.io page: https://npm.io/package/@al-engine/loading

## Dependencies (2)

- [@al-engine/core](https://npm.io/package/@al-engine/core.md) ^0.3.1
- [@al-engine/game_object](https://npm.io/package/@al-engine/game_object.md) ^0.2.0

## Recent versions

- 0.2.0 (latest) — 2023-06-16
- 0.1.0 — 2021-01-27

## README

# Al engine
## Scale

This is module with generic Loading screen for Al engine.

```nashorn js
  // position is a position of simple animation
  // {x: 1, y: 1} - will be top left corner
  // {x: options.width - 7, y: 1} - bottom right corner
  // asset is a instance of Asset class, while it loading animation is shown
  const loading = new Loading(position, asset,
    // callback to hide loading animation
    () => {
      this.removeChild(loading);
      this.addChild(this.menu);
    }
  );
```

---
_Source: https://npm.io/package/@al-engine/loading · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
