route-graphics 0.0.12 → 0.0.15
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 +20 -4
- package/dist/RouteGraphics.js +203 -203
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
|
|
1
2
|
## Overview
|
|
2
3
|
|
|
3
4
|
Route Graphics is a declarative UI system that enables developers to create rich, interactive 2D interfaces through JSON configurations. Instead of manipulating DOM elements directly, you define your interface structure using JSON, and Route Graphics handles the rendering, animations, audio, and interactions automatically.
|
|
4
5
|
|
|
6
|
+
## Links
|
|
7
|
+
|
|
8
|
+
- [Playground](http://route-graphics.routevn.com/playground)
|
|
9
|
+
- [Tasks & Roadmap](http://route-graphics.routevn.com/tasks)
|
|
10
|
+
|
|
5
11
|
## Typical Usage Patterns
|
|
6
12
|
|
|
7
13
|
### How It Works
|
|
@@ -97,7 +103,7 @@ await app.init({
|
|
|
97
103
|
animations: [
|
|
98
104
|
tweenPlugin
|
|
99
105
|
],
|
|
100
|
-
|
|
106
|
+
audio: [
|
|
101
107
|
soundPlugin
|
|
102
108
|
],
|
|
103
109
|
},
|
|
@@ -727,7 +733,7 @@ await app.init({
|
|
|
727
733
|
customPlugin
|
|
728
734
|
],
|
|
729
735
|
animations: [/* ... */],
|
|
730
|
-
|
|
736
|
+
audio: [/* ... */]
|
|
731
737
|
}
|
|
732
738
|
});
|
|
733
739
|
```
|
|
@@ -902,7 +908,7 @@ src: hero-sprite
|
|
|
902
908
|
|
|
903
909
|
#### Supported Asset Types
|
|
904
910
|
|
|
905
|
-
- **Images**: PNG, JPG, JPEG, WebP
|
|
911
|
+
- **Images**: PNG, JPG, JPEG, WebP
|
|
906
912
|
- **Audio**: MP3, WAV, OGG
|
|
907
913
|
- **Fonts**: TTF, OTF, WOFF
|
|
908
914
|
|
|
@@ -996,4 +1002,14 @@ All element types are defined with YAML schemas in the `src/schemas/` directory,
|
|
|
996
1002
|
- Type definitions and validation
|
|
997
1003
|
- Property documentation
|
|
998
1004
|
- Default values
|
|
999
|
-
- Required field specifications
|
|
1005
|
+
- Required field specifications
|
|
1006
|
+
|
|
1007
|
+
## Community
|
|
1008
|
+
|
|
1009
|
+
Join us on [Discord](https://discord.gg/8J9dyZSu9C) to ask questions, report bugs, and stay up to date.
|
|
1010
|
+
|
|
1011
|
+
## License
|
|
1012
|
+
|
|
1013
|
+
This project is licensed under the [MIT License](LICENSE).
|
|
1014
|
+
|
|
1015
|
+
|