Working animations
This commit is contained in:
@@ -81,7 +81,8 @@ export function main() {
|
||||
grid.add_tile('bridge', tiles.BRIDGE_LR, 46, 18);
|
||||
grid.add_tile('bridge', tiles.BRIDGE_LR, 46, 10);
|
||||
|
||||
grid.add_tile('tower', tiles.TOWER_FIREBALL1, 30, 18);
|
||||
const tower = grid.add_tile('tower', tiles.TOWER_FIREBALL1, 30, 18);
|
||||
setInterval(() => tower.play('fire'), 3250);
|
||||
};
|
||||
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user