antha 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
# antha
|
|
2
2
|
|
|
3
|
-
An easy to use drop-in Antha engine with
|
|
3
|
+
An easy to use drop-in package containing the [Antha game engine](https://www.npmjs.com/package/@antha/engine) with a bunch of pre-built mods already setup.
|
|
4
|
+
|
|
5
|
+
## Included mods
|
|
6
|
+
|
|
7
|
+
- [@antha/asset](https://www.npmjs.com/package/@antha/asset): asset loading.
|
|
8
|
+
- [@antha/audio](https://www.npmjs.com/package/@antha/audio): audio loading and playback.
|
|
9
|
+
- [@antha/entity-2d](https://www.npmjs.com/package/@antha/entity-2d): 2D entities, rendering, and collision detection.
|
|
10
|
+
- [@antha/fps](https://www.npmjs.com/package/@antha/fps): on-screen frames-per-second counter.
|
|
11
|
+
- [@antha/graphics-2d](https://www.npmjs.com/package/@antha/graphics-2d): PixiJS application and canvas for rendering 2D graphics.
|
|
12
|
+
- [@antha/input](https://www.npmjs.com/package/@antha/input): keyboard and gamepad input detection and bindings.
|
|
4
13
|
|
|
5
14
|
## Install
|
|
6
15
|
|
|
7
16
|
```sh
|
|
8
17
|
npm i antha
|
|
9
18
|
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
<!-- example-link: src/readme-examples/creating-default-engine.example.ts -->
|
|
23
|
+
|
|
24
|
+
```TypeScript
|
|
25
|
+
import {createDefaultAnthaEngine} from 'antha';
|
|
26
|
+
|
|
27
|
+
const {engine} = createDefaultAnthaEngine();
|
|
28
|
+
|
|
29
|
+
engine.startLoop();
|
|
30
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antha",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A simple-to-use all-in-one Antha engine variant with default mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vir",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@augment-vir/common": "^32.2.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@antha/web-test-runner-plugin-pixi": "^0.1.
|
|
42
|
+
"@antha/web-test-runner-plugin-pixi": "^0.1.1",
|
|
43
43
|
"@augment-vir/test": "^32.2.2",
|
|
44
44
|
"@web/dev-server-esbuild": "^2.0.0",
|
|
45
45
|
"@web/test-runner": "^1.0.0",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"vite": "^8.2.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@antha/asset": "^0.1.
|
|
53
|
-
"@antha/audio": "^0.1.
|
|
54
|
-
"@antha/engine": "^0.1.
|
|
55
|
-
"@antha/entity-2d": "^0.1.
|
|
56
|
-
"@antha/fps": "^0.1.
|
|
57
|
-
"@antha/graphics-2d": "^0.1.
|
|
58
|
-
"@antha/input": "^0.1.
|
|
52
|
+
"@antha/asset": "^0.1.1",
|
|
53
|
+
"@antha/audio": "^0.1.1",
|
|
54
|
+
"@antha/engine": "^0.1.1",
|
|
55
|
+
"@antha/entity-2d": "^0.1.1",
|
|
56
|
+
"@antha/fps": "^0.1.1",
|
|
57
|
+
"@antha/graphics-2d": "^0.1.1",
|
|
58
|
+
"@antha/input": "^0.1.1"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=22"
|