greenaxe svg + animation
This commit is contained in:
@@ -98,7 +98,8 @@ export function main() {
|
||||
}, factory.duration);
|
||||
}, 3250);
|
||||
|
||||
const greenaxe = grid.add_tile(tiles.GREENAXE_WALK1, 30, 16);
|
||||
const greenaxe = grid.add_tile(tiles.GREENAXE, 30, 16);
|
||||
greenaxe.play('walk');
|
||||
greenaxe.elem.style.transitionProperty = 'top,left';
|
||||
greenaxe.elem.style.transitionDuration = '25s';
|
||||
greenaxe.elem.style.transitionTimingFunction = 'linear';
|
||||
|
||||
Reference in New Issue
Block a user