move lib.js into lib folder
This commit is contained in:
parent
5314862da4
commit
69c8077f0c
2
game.js
2
game.js
@ -1,4 +1,4 @@
|
|||||||
import * as lib from "./lib.js"
|
import * as lib from "./lib/lib.js"
|
||||||
|
|
||||||
const playerSprite = await lib.texture.loadImage("assets/player.png", 64, 64);
|
const playerSprite = await lib.texture.loadImage("assets/player.png", 64, 64);
|
||||||
const bulletSprite = await lib.texture.loadImage("assets/bullet1.png", 24, 24);
|
const bulletSprite = await lib.texture.loadImage("assets/bullet1.png", 24, 24);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
export * as canvas from "./lib/canvas.js"
|
export * as canvas from "./canvas.js"
|
||||||
export * as texture from "./lib/texture.js"
|
export * as texture from "./texture.js"
|
||||||
|
|
||||||
export let frameDeltaT = 0;
|
export let frameDeltaT = 0;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user