diff options
author | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-11 16:22:06 -0600 |
---|---|---|
committer | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-11 16:22:06 -0600 |
commit | 32879581e53fae5e684c24b44433172d8375d69e (patch) | |
tree | 307551e59409c2f01168e5fabeff200319c18aa7 /src/engine/config/sprites.ts | |
parent | 4da17f6dedb4475c7730bdeab9ad3e339f0bfdee (diff) | |
download | the-abstraction-engine-32879581e53fae5e684c24b44433172d8375d69e.tar.gz the-abstraction-engine-32879581e53fae5e684c24b44433172d8375d69e.zip |
support underscores in function application, add sign entity
Diffstat (limited to 'src/engine/config/sprites.ts')
-rw-r--r-- | src/engine/config/sprites.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/config/sprites.ts b/src/engine/config/sprites.ts index f8912d5..481dbb9 100644 --- a/src/engine/config/sprites.ts +++ b/src/engine/config/sprites.ts @@ -11,6 +11,7 @@ export enum Sprites { BUBBLE, PORTAL, GRASS, + SIGN, } export interface SpriteSpec { @@ -126,3 +127,12 @@ const grassSpriteSpec = { sheet: "/assets/grass.png", }; SPRITE_SPECS.set(Sprites.GRASS, grassSpriteSpec); + +const signSpriteSpec = { + msPerFrame: 200, + width: 64, + height: 64, + frames: 3, + sheet: "/assets/sign.png", +}; +SPRITE_SPECS.set(Sprites.SIGN, signSpriteSpec); |