-
Notifications
You must be signed in to change notification settings - Fork 2
/
BOTEX.kbs
226 lines (216 loc) · 2.47 KB
/
BOTEX.kbs
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
START:
clg
cls
fastgraphics
W = 1
a = 150
b = 30
c = 161
d = 140
e = 22
f = 143
g = 35
h = 145
i = 37
j = 145
k = 60
l = 148
m = 63
n = 120
o = 70
p = 125
q = 75
r = 128
s = 78
t = 100
u = 170
v = 105
w = 175
x = 100
y = 195
z = 132
aa = 164
ab = 196
ac = 55
ad = 90
ae = 180
ag = 245
ah = 65
ai = 105
aj = 45
ak = 255
al = 235
ba = 275
bb = 290
bc = 245
bd = 215
ca = 120
cb = 90
cc = 245
cd = 55
ce = 105
cf = 45
cg = 115
ch = 65
ci = 235
cj = 255
be = 290
bf = 290
yu = 105
motion:
for K = 1 to 2
pause 0.005
a = a - W
c = c - W
d = d - W
f = f - W
h = h - W
j = j - W
l = l - W
n = n - W
p = p - W
r = r - W
t = t - W
v = v - W
x = x - W
z = z - W
aa = aa - W
ab = ab - W
ac = ac - W
ae = ae - W
ag = ag - W
ah = ah - W
aj = aj - W
ak = ak - W
al = al - W
ca = ca - W
cc = cc - W
cd = cd - W
cf = cf - W
ch = ch - W
ci = ci - W
cj = cj - W
next K
goto drawall
end
motion2:
for L = 1 to 2
pause 0.005
b = b + W
e = e + W
g = g + W
i = i + W
k = k + W
m = m + W
o = o + W
q = q + W
s = s + W
u = u + W
w = w + W
y = y + W
ad = ad + W
cb = cb + W
ce = ce + W
ai = ai + W
cg = cg + W
next L
goto drawall
end
motion3:
for J = 1 to 2
b = b - W
e = e - W
g = g - W
i = i - W
k = k - W
m = m - W
o = o - W
q = q - W
s = s - W
u = u - W
w = w - W
y = y - W
ad = ad - W
cb = cb - W
ce = ce - W
ai = ai - W
cg = cg - W
bf = bf - W
next J
drawall:
head:
color darkgray
circle a, b, 28
color darkgreen
circle a, b, 25
color darkgray
circle a, b, 22
eyes:
color darkgreen
circle c, e, 4
circle d, e, 4
color darkgray
circle c, e, 2
circle d, e, 2
mouth:
color darkgreen
rect f, g, 15, 10
color darkgray
rect h, i, 11, 6
neck:
color darkgreen
rect j, k, 10, 10
color darkgray
rect l, m, 4, 6
body:
color darkgreen
rect n, o, 60, 100
color darkgray
rect p, q, 50, 90
color darkgreen
rect r, s, 44, 84
base:
color darkgreen
rect t, u, 100, 25
color darkgray
rect v, w, 90, 15
wheels:
color darkgreen
circle x, y, 13
circle z, y, 13
circle aa, y, 13
circle ab, y, 13
color darkgray
circle x, y, 9
circle z, y, 9
circle aa, y, 9
circle ab, y, 9
color darkgreen
circle x, y, 4
circle z, y, 4
circle aa, y, 4
circle ab, y, 4
arms:
color darkgreen
line ac, ad, ca, cb
line ae, ad, cc, cb
line ac, ad, cd, ce
line ag, ad, cc, ce
hands:
color darkgray
line ah, ai, cf, ce
line aj, ai, cf, cg
line ah, ai, ch, cg
line ak, ai, ci, ce
line al, ai, ci, cg
line ak, ai, cj, cg
blocks:
color darkcyan
rect ba, bb, 19, 11
rect bc, be, 19, 11
rect bd, bf, 19, 11
refresh
clg
if a < 130 then goto motion2
if ai = bb then goto motion3
goto motion