fruta 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/README.md +8 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,19 +13,20 @@ npm i fruta
13
13
  # Usage
14
14
 
15
15
  ```
16
- import { fruta } from "fruta";
16
+ import Fruta from "fruta"
17
17
 
18
- const frutaC = fruta({
18
+ const config = {
19
19
  scene: {
20
20
  w: 500,
21
21
  h: 500,
22
- id: "main",
22
+ id: 'main',
23
23
  },
24
- });
24
+ }
25
+
26
+ const { FontCreator, ShapeCreator, Game } = Fruta(config)
27
+
28
+ // Code :)
25
29
 
26
- fruitC.Game.tick.OnRender((tick) => {
27
- // code
28
- });
29
30
  ```
30
31
 
31
32
  # Current Short Doc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fruta",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Intuitive Video Game Library Aimed at HTML5 Development.",
5
5
  "browser": "./src/core/fruta.js",
6
6
  "scripts": {