litecanvas 0.103.3 → 0.103.5
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 +9 -5
- package/dist/dist.dev.js +945 -1110
- package/dist/dist.js +472 -857
- package/dist/dist.min.js +1 -1
- package/package.json +8 -8
- package/src/dev.js +1 -1
- package/src/index.js +158 -141
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -29,23 +29,27 @@ Litecanvas is a lightweight HTML5 canvas 2D engine suitable for small web games,
|
|
|
29
29
|
|
|
30
30
|
## Getting Started
|
|
31
31
|
|
|
32
|
-
You can
|
|
32
|
+
You can play around with Litecanvas in the [Playground](https://litecanvas.github.io) without installing nothing.
|
|
33
33
|
|
|
34
34
|
If you want to test locally, just use one of the installation options.
|
|
35
35
|
|
|
36
36
|
### HTML/CDN
|
|
37
37
|
|
|
38
|
-
Create a HTML file and add a `<script>` tag with one of
|
|
38
|
+
Create a HTML file and add a `<script>` tag with one of the following CDN links:
|
|
39
|
+
|
|
40
|
+
#### Unpkg
|
|
39
41
|
|
|
40
42
|
```html
|
|
41
|
-
// Unpkg
|
|
42
43
|
<script src="https://unpkg.com/litecanvas"></script>
|
|
44
|
+
```
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
#### jsDelivr
|
|
47
|
+
|
|
48
|
+
```html
|
|
45
49
|
<script src="https://cdn.jsdelivr.net/npm/litecanvas"></script>
|
|
46
50
|
```
|
|
47
51
|
|
|
48
|
-
### Template
|
|
52
|
+
### ESM Template
|
|
49
53
|
|
|
50
54
|
For those who are familiar with Node/NPM, we have a [basic template](https://github.com/litecanvas/template).
|
|
51
55
|
|