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

23 lines
665 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: sarcophagus
type: interactable
sprite:
path: sarcophagus.gif
size: [48, 32]
# Footprint lògic en tiles: 3×1 (48×16 baix del sprite). Els 16 px de dalt
# són "alçada" en falsa perspectiva, sense col·lisió. Perímetre ortogonal
# de 8 tiles (3 N + 3 S + 1 O + 1 E).
tile_size: [3, 1]
flags:
collides: true
interactable: true
animations:
closed: { frames: [0], fps: 1, loop: true }
opening: { frames: [0], fps: 6, loop: false }
open: { frames: [0], fps: 1, loop: true }
behaviour:
states: [CLOSED, OPENING, OPEN]
initial_state: CLOSED
on_perimeter_complete: OPENING
on_opening_end: OPEN
emits_event_on_open: sarcophagus_opened