Files
aee-arcade/data/entities/rolling_rock/rolling_rock.yaml
T

23 lines
495 B
YAML

name: rolling_rock
type: dynamic_hazard
sprite:
path: rolling_rock.gif
size: [16, 16]
tile_size: [1, 1]
collision:
# `size`/`base_size` no calen per a la roca (tot el sprite és cos),
# però sí declarem `height` per al filtre de salt: 16 px → fàcil
# d'esquivar amb un salt curt.
height: 16
flags:
collides: true
interactable: false
animations:
roll: { frames: [0], fps: 10, loop: true }
ai:
type: straight_line
initial_direction: right
stats:
speed: 60
damage: 1