fledgling/src/sprites.ts
2025-02-01 13:13:44 -08:00

15 lines
798 B
TypeScript

import {Sprite} from "./sprite.ts";
import imgBat from "./art/characters/bat.png";
import imgKobold from "./art/characters/kobold.png";
import imgRaccoon from "./art/characters/raccoon.png";
import imgRaccoonWalking from "./art/characters/raccoon_walking.png";
import imgRobot from "./art/characters/robot.png";
import imgSnake from "./art/characters/snake.png";
export let sprBat = new Sprite(imgBat, 64, 64, 32, 32, 1, 1, 1);
export let sprKobold = new Sprite(imgKobold, 64, 64, 32, 32, 1, 1, 1);
export let sprRaccoon = new Sprite(imgRaccoon, 64, 64, 32, 32, 1, 1, 1);
export let sprRaccoonWalking = new Sprite(imgRaccoonWalking, 64, 64, 32, 32, 8, 1, 8);
export let sprRobot = new Sprite(imgRobot, 64, 64, 32, 32, 1, 1, 1);
export let sprSnake = new Sprite(imgSnake, 64, 64, 32, 32, 1, 1, 1);