diff --git a/package-lock.json b/package-lock.json index 41a0c59..4753e82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -523,9 +523,9 @@ } }, "node_modules/@litecanvas/litecanvas": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@litecanvas/litecanvas/-/litecanvas-0.29.0.tgz", - "integrity": "sha512-en+7YFnh/a5L1oLpHIkOPFMIBhePdFcHmr1jRP90w12lcgsaBhcIxK5xxeTCo2QHCByaZnsa1z32+Yr8Vy/q1A==" + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/@litecanvas/litecanvas/-/litecanvas-0.30.0.tgz", + "integrity": "sha512-MEzOMquCPiOR5hUTkjzgUvvYnzLAlYYtCjVEgMZCgTp0+c61o9Z2eCBVmzZoJzfseEXdeQHLuHMfWdBRAv+tWQ==" }, "node_modules/@litecanvas/plugin-asset-loader": { "version": "0.4.2", diff --git a/public/about.html b/public/about.html index 2e7c2d1..1bd9121 100644 --- a/public/about.html +++ b/public/about.html @@ -509,7 +509,11 @@

Plugin API

// add a game loop listener // returns a function that removes the listener -listen(event: string, callback: function, highPriority = false): function +listen(event: string, callback: function, highPriority = false): function + +// resizes the game canvas +// also, emit the "resized" event +resize(width: number, height: number): void

Advanced Features

diff --git a/public/app.js b/public/app.js index 833ebc0..dd54ece 100644 --- a/public/app.js +++ b/public/app.js @@ -241,7 +241,7 @@ function draw () { <\/script>