Files
aee-arcade/data/player/player.yaml
T

38 lines
738 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.
# player animation
tileSetFile: player.gif
frameWidth: 12
frameHeight: 24
# Geometria de col·lisió del jugador (independent de l'animació):
# size → costat del quadrat de col·lisió (16×16)
# base_size → costat del quadrat visual inferior del sprite (els "peus");
# s'usa per centrar la caixa de col·lisió sobre ell.
collision:
size: 16
base_size: 12
animations:
- name: stand_down
frames: [0]
- name: stand_up
frames: [4]
- name: stand
frames: [8]
- name: walk_down
speed: 0.07
loopFrom: 0
frames: [0, 1, 2, 3]
- name: walk_up
speed: 0.07
loopFrom: 0
frames: [4, 5, 6, 7]
- name: walk
speed: 0.07
loopFrom: 0
frames: [8, 9, 10, 11]