litecanvas 0.69.1 → 0.69.2
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 +5 -1
- package/package.json +1 -1
- package/src/types.js +0 -1
- package/types/types.d.ts +1 -4
package/README.md
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
# Litecanvas
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
[](https://discord.com/invite/r2c3rGsvH3)
|
|
9
|
+
[](https://bills.itch.io/litecanvas)
|
|
6
10
|
|
|
7
11
|
Litecanvas is a lightweight HTML5 canvas engine suitable for small web games, prototypes, game jams, animations, creative coding, learning game programming and game design, etc.
|
|
8
12
|
|
package/package.json
CHANGED
package/src/types.js
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -696,10 +696,7 @@ type LitecanvasGameLoop = {
|
|
|
696
696
|
tapping?: (tapX: number, tapY: number, tapId: number) => void
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
type drawCallback = (
|
|
700
|
-
offcanvas: OffscreenCanvas,
|
|
701
|
-
context: CanvasRenderingContext2D
|
|
702
|
-
) => void
|
|
699
|
+
type drawCallback = (context: CanvasRenderingContext2D) => void
|
|
703
700
|
|
|
704
701
|
type LitecanvasPluginHelpers = {
|
|
705
702
|
/**
|