-
Notifications
You must be signed in to change notification settings - Fork 0
/
constructor.lua
91 lines (89 loc) · 3.21 KB
/
constructor.lua
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
TWO_PERSON = love.graphics.newImage('assets/images/people-1-128.png')
FOUR_PERSON = love.graphics.newImage('assets/images/four-people.png')
GEAR = love.graphics.newImage('assets/images/gear.png')
GAME_LAUNCHED = false
winningMoney = 10000
prices = {
ijs = {
worker = 100,
soldier = 150,
robot = 500,
tank = 1000,
boot = 200,
attackboot = 500,
harbor = 1000
},
moeras = {
worker = 100,
soldier = 150,
robot = 500,
tank = 1000,
boot = 200,
attackboot = 500,
harbor = 1000
},
woestijn = {
worker = 100,
soldier = 150,
robot = 500,
tank = 1000,
boot = 200,
attackboot = 500,
harbor = 1000
},
bos = {
worker = 100,
soldier = 150,
robot = 500,
tank = 1000,
boot = 200,
attackboot = 500,
harbor = 1000
}
}
sprites = {
ijs = {
base = love.graphics.newImage("assets/images/base-left.png"),
barak = love.graphics.newImage("assets/images/barak-left.png"),
harbor = love.graphics.newImage("assets/images/harbor-left.png"),
worker = love.graphics.newImage("assets/images/worker-white.png"),
soldier = love.graphics.newImage("assets/images/soldier-white.png"),
robot = love.graphics.newImage("assets/images/robot-white.png"),
tank = love.graphics.newImage("assets/images/tank-white.png"),
boot = love.graphics.newImage("assets/images/boat-white.png"),
attackboot = love.graphics.newImage("assets/images/attack-boat-white.png")
},
moeras = {
base = love.graphics.newImage("assets/images/base-right.png"),
barak = love.graphics.newImage("assets/images/barak-right.png"),
harbor = love.graphics.newImage("assets/images/harbor-right.png"),
worker = love.graphics.newImage("assets/images/worker-red.png"),
soldier = love.graphics.newImage("assets/images/soldier-red.png"),
robot = love.graphics.newImage("assets/images/robot-red.png"),
tank = love.graphics.newImage("assets/images/tank-red.png"),
boot = love.graphics.newImage("assets/images/boat-red.png"),
attackboot = love.graphics.newImage("assets/images/attack-boat-red.png")
},
woestijn = {
base = love.graphics.newImage("assets/images/base-right.png"),
barak = love.graphics.newImage("assets/images/barak-right.png"),
harbor = love.graphics.newImage("assets/images/harbor-right.png"),
worker = love.graphics.newImage("assets/images/worker-yellow.png"),
soldier = love.graphics.newImage("assets/images/soldier-yellow.png"),
robot = love.graphics.newImage("assets/images/robot-yellow.png"),
tank = love.graphics.newImage("assets/images/tank-yellow.png"),
boot = love.graphics.newImage("assets/images/boat-yellow.png"),
attackboot = love.graphics.newImage("assets/images/attack-boat-yellow.png")
},
bos = {
base = love.graphics.newImage("assets/images/base-left.png"),
barak = love.graphics.newImage("assets/images/barak-left.png"),
harbor = love.graphics.newImage("assets/images/harbor-left.png"),
worker = love.graphics.newImage("assets/images/worker-green.png"),
soldier = love.graphics.newImage("assets/images/soldier-green.png"),
robot = love.graphics.newImage("assets/images/robot-green.png"),
tank = love.graphics.newImage("assets/images/tank-green.png"),
boot = love.graphics.newImage("assets/images/boat-green.png"),
attackboot = love.graphics.newImage("assets/images/attack-boat-green.png")
}
}