dino-ge 1.11.8 → 1.11.9
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 +12 -9
- package/package.json +24 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dino-ge
|
|
2
2
|
|
|
3
|
-
A lightweight, performant 2D game engine built from the ground up in TypeScript. `dino-ge` provides a robust, developer-friendly framework for building 2D web games.
|
|
3
|
+
A lightweight, performant 2D game engine built from the ground up in TypeScript. `dino-ge` provides a robust, developer-friendly framework for building 2D web games. Friend of [dino-ge-playground](https://www.npmjs.com/package/dino-ge-playground).
|
|
4
4
|
|
|
5
5
|
⚠️ **This project is in alpha** ⚠️
|
|
6
6
|
|
|
@@ -26,14 +26,17 @@ import { Engine, Sprite, Vector2 } from 'dino-ge';
|
|
|
26
26
|
|
|
27
27
|
class MyGame {
|
|
28
28
|
constructor() {
|
|
29
|
-
new Engine(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
new Engine(
|
|
30
|
+
{
|
|
31
|
+
onLoad: () => this.onLoad(),
|
|
32
|
+
update: () => this.onUpdate()
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: 'My Game',
|
|
36
|
+
width: '100%',
|
|
37
|
+
height: '100%'
|
|
38
|
+
}
|
|
39
|
+
);
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
onLoad() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dino-ge",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.9",
|
|
4
4
|
"description": "Lightweight, performant 2D game engine built with TypeScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,5 +19,27 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"typedoc": "^0.28.18",
|
|
21
21
|
"typescript": "^5.8.2"
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"game-engine",
|
|
25
|
+
"2d-game-engine",
|
|
26
|
+
"typescript",
|
|
27
|
+
"gamedev",
|
|
28
|
+
"html5",
|
|
29
|
+
"canvas",
|
|
30
|
+
"browser-game",
|
|
31
|
+
"ecs",
|
|
32
|
+
"entity-component-system",
|
|
33
|
+
"physics",
|
|
34
|
+
"2d-physics",
|
|
35
|
+
"collision",
|
|
36
|
+
"sprite",
|
|
37
|
+
"sprite-animation",
|
|
38
|
+
"spritesheet",
|
|
39
|
+
"camera",
|
|
40
|
+
"scene-management",
|
|
41
|
+
"asset-loader",
|
|
42
|
+
"lightweight",
|
|
43
|
+
"pixel-art"
|
|
44
|
+
]
|
|
23
45
|
}
|