feat(pyramid): usa variants 16×32 sam (jugador) i momia
This commit is contained in:
1 parent
936adf1405
commit
67ecb704d2
8 files changed
+97
-19
No files matched your search
@@ -0,0 +1,37 @@
|
||||
# player animation
|
||||
tileSetFile: sam.gif
|
||||
frameWidth: 16
|
||||
frameHeight: 32
|
||||
|
||||
# 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: 16
|
||||
|
||||
animations:
|
||||
- name: stand_down
|
||||
frames: [1]
|
||||
|
||||
- name: stand_up
|
||||
frames: [5]
|
||||
|
||||
- name: stand
|
||||
frames: [9]
|
||||
|
||||
- name: walk_down
|
||||
speed: 0.1
|
||||
loopFrom: 0
|
||||
frames: [0, 1, 2, 3]
|
||||
|
||||
- name: walk_up
|
||||
speed: 0.1
|
||||
loopFrom: 0
|
||||
frames: [4, 5, 6, 7]
|
||||
|
||||
- name: walk
|
||||
speed: 0.1
|
||||
loopFrom: 0
|
||||
frames: [8, 9, 10, 11]
|
||||
Reference in new issue
Block a user