/
players.js
49 lines (48 loc) · 1.21 KB
/
players.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{ players:
{ "blue":
{ handOffset: { x: 12, y: 15 }
, startMoney: 0
, startWeapon: "scalpel"
, unit:
{ hitbox: { width: 18, height: 37 }
, orientation: LEFT
, hitpoints: 100
, speed: 125
, sprites:
{ "walk":
{ framerate: 10
, offset: { x: 0, y: 0 }
, sprite: "textures/players/blue-walk.png"
, tileSize: { width: 18, height: 37 } }
, "death":
{ framerate: 8
, offset: { x: 0, y: -1 }
, sprite: "textures/players/blue-death.png"
, tileSize: { width: 50, height: 38 } }
}
}
}
, "red":
{ handOffset: { x: 12, y: 15 }
, startMoney: 0
, startWeapon: "scalpel"
, unit:
{ hitbox: { width: 18, height: 37 }
, hitpoints: 100
, speed: 125
, sprites:
{ "walk":
{ framerate: 8
, offset: { x: 0, y: 0 }
, sprite: "textures/players/red-walk.png"
, tileSize: { width: 18, height: 37 } }
, "death":
{ framerate: 8
, offset: { x: 0, y: -30 }
, sprite: "textures/players/red-death.png"
, tileSize: { width: 60, height: 67 } }
}
}
}
}
}