# @al-engine/game_object

> Game Object for Al-engine, minimalistic game engine, for pixel perfect games

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

## Install

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

## 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-11 |
| First published | 2021-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 45.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zhesha |
| Maintainers | sasha-z |

## Links

- npm: https://www.npmjs.com/package/@al-engine/game_object
- Repository: https://github.com/al-engine/game_object
- Homepage: https://github.com/al-engine/game_object#readme
- Issues: https://github.com/al-engine/game_object/issues
- npm.io page: https://npm.io/package/@al-engine/game_object

## Dependencies (1)

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

## Recent versions

- 0.2.0 (latest) — 2023-06-11
- 0.1.9 — 2023-06-10
- 0.1.8 — 2023-06-09
- 0.1.7 — 2022-02-05
- 0.1.6 — 2022-01-09
- 0.1.5 — 2022-01-09
- 0.1.4 — 2022-01-09
- 0.1.3 — 2022-01-08
- 0.1.2 — 2022-01-08
- 0.1.1 — 2022-01-08
- 0.1.0 — 2021-01-25

## README

# Al engine
## Scale

This is module with base class of Game Object for Al engine.

You need to extend your class from GameObject and add realisation of needed methods:
```
  needUpdate
  init
  tick
  update
  render
  draw
``` 

Also you can use fields:
```
  position
  size
  speed
  children
  parent
  sprite
```

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