export Monster lizard {
name: "Lizard",
sprite: Sprite {
- image: "monster.png",
+ // using pathes relative to project root until path resolution is implemented
+ image: "test-data/monster.png",
size: <64,64>
},
level: 1,
},
attackAnimation: SimpleAnimation {
sprite: Sprite {
- image: "attack-monster.png",
+ image: "test-data/attack-monster.png",
size: <96,64>
},
frametime: frameTime,
}
Sprite maximSprite {
- image: "maxim.png",
+ image: "test-data/maxim.png",
size: <64,64>
}
export Hero maxim {
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "melee-maxim.png",
+ image: "test-data/melee-maxim.png",
size: <96,96>
},
frametime: twoFramesTime,