43 lines
579 B
CoffeeScript
43 lines
579 B
CoffeeScript
CONF =
|
|
|
|
playmat:
|
|
w: 2000
|
|
h: 1000
|
|
|
|
card:
|
|
w: 225
|
|
h: 315
|
|
|
|
bigcard:
|
|
x: (2000 - 1200) / 2
|
|
y: (2000 - 1675) / 2
|
|
w: 1200
|
|
h: 1675
|
|
|
|
anim:
|
|
time: 300
|
|
func: 'smootherStep'
|
|
|
|
layer:
|
|
background: 0
|
|
playmats: 1
|
|
cards: 2
|
|
focus: 3
|
|
|
|
# layout of a playmat, refer to assets
|
|
coord:
|
|
|
|
x:
|
|
main: 357 # fw1, fw3, bkup
|
|
side: 484 # fw2
|
|
step: 255 # fw*, bkup
|
|
deck: 51 # deck, break
|
|
dmg: 1634 # damage
|
|
|
|
y:
|
|
fwd: 51
|
|
fwst: 102
|
|
bkup: 634
|
|
deck: 408
|
|
dmg: 948
|
|
dmst: -51
|