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

18 lines
505 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: torch
type: decoration
sprite:
path: torch.gif
size: [16, 16]
tile_size: [1, 1]
collision:
# Decoratiu, no col·lisiona. Camp `height` declarat per coherència
# amb la resta d'entitats; no té efecte mentre `collides: false`.
height: 0
flags:
collides: false
interactable: false
# El torch.gif és un strip vertical 16x64 amb 4 frames apilats.
# El render clipa cada frame per `anim.currentFrame()` × 16 píxels en Y.
animations:
idle: { frames: [0, 1, 2, 3], fps: 8, loop: true }