-
Notifications
You must be signed in to change notification settings - Fork 0
/
koodi.txt
671 lines (536 loc) · 14.4 KB
/
koodi.txt
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
title Hiekka-Samin seikkailu
author Elja, Frans ja Otto
homepage Auta Sami pois maan alta!
realtime_interval 0.3
========
OBJECTS
========
Pelaaja
black white
.....
.0.0.
0..01
.0000
.0.0.
Tikapuut
brown darkbrown
0...0
0...0
00000
0...0
0...0
Dynamiitti (Mukana kannettava)
red gray orange lightgray
..12.
..1..
00000
33333
00000
Tnt
red gray orange lightgray
..12.
..1..
00000
33333
00000
Tnt2
red gray yellow lightgray
..12.
..1..
00000
33333
00000
Tnt3
red gray orange lightgray
..2..
..1..
00000
33333
00000
Tnt4
red gray yellow lightgray
..2..
..1..
00000
33333
00000
Tnt5
red gray orange lightgray
.....
..2..
00000
33333
00000
Tnt6
red gray yellow lightgray
.....
..2..
00000
33333
00000
Tnt7
red gray orange lightgray
.....
..2..
00000
33333
00000
Tnt8
red gray yellow lightgray
.....
..2..
00000
33333
00000
Tnt9
red gray orange lightgray
.....
..2..
00000
33333
00000
Tnt10
red gray yellow lightgray
.....
..2..
00000
33333
00000
Tnt11
red gray orange lightgray
.....
..2..
00000
33333
00000
Tnt12
red gray yellow lightgray
.....
..2..
00000
33333
00000
Fireball
orange
Sand
white yellow orange
01211
11101
00111
21110
10111
Temp
black
TempDynamiitti
black
TempDynamiitti2
black
TempDynamiitti3
black
TempDynamiitti4
black
TempDynamiitti5
black
TempDynamiitti6
black
TempDynamiitti7
black
TempDynamiitti8
black
TempDynamiitti9
black
TempDynamiitti10
black
TempDynamiitti11
black
TempDynamiitti12
black
TempDynamiitti13
black
TempObject
black
PlayerTemp
black
PlayerTemp2
black
Background
darkbrown
TempSinko
black
Rock1
lightbrown lightgray white
00101
11100
01200
00101
01000
Rock2
lightbrown lightgray white
00101
00111
02100
11100
01000
Air
darkbrown darkgrey black
00000
00000
00000
00000
00000
ToMove
black
Spot
black
SideCheck
black
TopCheckRock1
black
TopCheckRock2
black
TopCheckSand
black
ToMoveDynamite
black
TopCheckRock1Dynamite
black
TopCheckRock2Dynamite
black
TopCheckSandDynamite
black
Goal
gray black lightgray
00200
21112
01110
01112
21110
Gen
white
Koira
gray lightgray white
.....
.1...
21..1
10001
.1.1.
Vine
green darkgreen
.00..
..1..
..01.
..0..
.10..
EyeTL
black white lightred purple lightgray
.....
...33
..341
.3421
32213
EyeTR
black white lightred purple lightgray
.....
33...
113..
3313.
00313
EyeBL
black white lightred purple lightgray
31113
.3112
..321
...33
.....
EyeBR
black white lightred purple lightgray
00343
3343.
143..
33...
.....
RocketLauncher
green black red
02010
02000
.....
.....
.....
Missile
green
.....
0.000
00000
0.000
.....
EyeHitBox
darkbrown
Pickaxe
blue brown
00...
..0..
..10.
.1..0
1...0
PickaxeRock
lightbrown lightgray white darkgray
30101
13100
03330
00131
01003
=======
LEGEND
=======
. = Air
s = Sand
r = Rock1
e = Rock2
p = Pelaaja
d = Dynamiitti
t = Tikapuut
m = Goal
g = Gen
k = Koira
v = Vine
h = EyeHitBox
l = EyeTL
n = EyeTR
c = EyeBL
x = EyeBR
z = RocketLauncher
q = Pickaxe
i = PickaxeRock
(destroyable tuhoutuu tnt vieressä, huom Rock2 ei tuhoudu)
destroyable = Rock1 or Sand or Air or Tnt or Pelaaja or EyeTL or EyeTR or EyeBL or EyeBR or EyeHitBox or Tikapuut or Fireball or Tnt2 or Tnt3 or Tnt4 or Tnt5 or Tnt6 or Tnt7 or Tnt8 or Tnt9 or Tnt10 or Tnt11 or Tnt12 or Vine or Koira
Object = Dynamiitti
Player = Pelaaja
Climbable = Tikapuut or Vine
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
(Tässä on pakko asettaa "törmäystasot" KAIKILLE objekteille)
Background
Air
Dynamiitti, Pickaxe
Tikapuut, Gen, Vine
Goal
Rock1, Rock2, Pelaaja, PickaxeRock,Sand, Koira, EyeTL, EyeTR, EyeBL, EyeBR
Tnt, Tnt2, Tnt3, Tnt4, Tnt5, Tnt6, Tnt7, Tnt8, Tnt9, Tnt10, Tnt11, Tnt12, Fireball
Temp, PlayerTemp, PlayerTemp2, SideCheck, TopCheckRock1, TopCheckRock2, TempDynamiitti, TempDynamiitti2, TempDynamiitti3, TempDynamiitti4, TempDynamiitti5, TempDynamiitti6, TempDynamiitti7, TempDynamiitti8, TempDynamiitti9, TempDynamiitti10, TempDynamiitti11, TempDynamiitti12, TempDynamiitti13, TempObject
TopCheckSand, ToMove, Spot, TopCheckRock1Dynamite, TopCheckRock2Dynamite, TopCheckSandDynamite, ToMoveDynamite, EyeHitBox,
RocketLauncher, Missile, TempSinko
======
RULES
======
(Hiekkageneraattori koodi:)
late down[Gen|Air| Air|Air] -> [Gen|Sand|Air|Air]
(Tikapuut)
up [ > player no Climbable] -> [player]
down [ > player no Climbable] -> [player]
(Hyppy TNT:n kanssa)
horizontal [> Pelaaja Dynamiitti| Rock1] -> [ToMoveDynamite | TopCheckRock1Dynamite]
horizontal [> Pelaaja Dynamiitti| Rock2] -> [ToMoveDynamite | TopCheckRock2Dynamite]
horizontal [> Pelaaja Dynamiitti | Sand] -> [ToMoveDynamite | TopCheckSandDynamite]
up [TopCheckRock1Dynamite | Air] -> [Rock1 | Pelaaja Dynamiitti]
up [TopCheckRock2Dynamite | Air] -> [Rock2 | Pelaaja Dynamiitti]
up [TopCheckSandDynamite | Air] -> [Sand | Pelaaja Dynamiitti]
[ToMoveDynamite | TopCheckRock1Dynamite] -> [Pelaaja Dynamiitti | Rock1]
[ToMoveDynamite | TopCheckRock2Dynamite] -> [Pelaaja Dynamiitti| Rock2]
[ToMoveDynamite | TopCheckSandDynamite] -> [Pelaaja Dynamiitti | Sand]
[ToMoveDynamite] -> []
(Hyppy singon kanssa)
horizontal [> Pelaaja RocketLauncher| Rock1] -> [ToMoveDynamite | TopCheckRock1Dynamite]
horizontal [> Pelaaja RocketLauncher| Rock2] -> [ToMoveDynamite | TopCheckRock2Dynamite]
horizontal [> Pelaaja RocketLauncher | Sand] -> [ToMoveDynamite | TopCheckSandDynamite]
up [TopCheckRock1Dynamite | Air] -> [Rock1 | Pelaaja RocketLauncher]
up [TopCheckRock2Dynamite | Air] -> [Rock2 | Pelaaja RocketLauncher]
up [TopCheckSandDynamite | Air] -> [Sand | Pelaaja RocketLauncher]
[ToMoveDynamite | TopCheckRock1Dynamite] -> [Pelaaja RocketLauncher | Rock1]
[ToMoveDynamite | TopCheckRock2Dynamite] -> [Pelaaja RocketLauncher| Rock2]
[ToMoveDynamite | TopCheckSandDynamite] -> [Pelaaja RocketLauncher | Sand]
[ToMoveDynamite] -> []
(Hyppy)
horizontal [> Pelaaja | Rock1] -> [ToMove | TopCheckRock1]
horizontal [> Pelaaja | Rock2] -> [ToMove | TopCheckRock2]
horizontal [> Pelaaja | Sand] -> [ToMove | TopCheckSand]
up [TopCheckRock1 | Air] -> [Rock1 | Pelaaja]
up [TopCheckRock2 | Air] -> [Rock2 | Pelaaja]
up [TopCheckSand | Air] -> [Sand | Pelaaja]
up [TopCheckRock1 | Tikapuut] -> [Rock1 | Tikapuut Pelaaja]
up [TopCheckRock2 | Tikapuut] -> [Rock2 | Tikapuut Pelaaja]
up [TopCheckSand | Tikapuut] -> [Sand | Tikapuut Pelaaja]
[ToMove | TopCheckRock1] -> [Pelaaja | Rock1]
[ToMove | TopCheckRock2] -> [Pelaaja | Rock2]
[ToMove | TopCheckSand] -> [Pelaaja | Sand]
[ToMove] -> []
(Pelaaja painovoima)
down [player no climbable| Air] -> [| PlayerTemp]
late [PlayerTemp] -> [player]
(TNT putoaa pelaajan paalle ja painvastoin, Kannettava TNT Painovoima)
down [player no Tikapuut | Object] -> [| PlayerTemp2 Object]
late [PlayerTemp2] -> [player]
down [Object | Pelaaja] -> [Air | TempDynamiitti Pelaaja]
late [TempDynamiitti] -> [Object]
down [Object no climbable | Air] -> [ | TempObject]
late [TempObject] -> [Object]
(sinko putoaa pelaajan paalle ja painvastoin, Kannettava sinko Painovoima)
down [player no Tikapuut | RocketLauncher] -> [| PlayerTemp2 RocketLauncher]
late [PlayerTemp2] -> [player]
down [RocketLauncher | Pelaaja] -> [Air | TempSinko Pelaaja]
late [TempSinko] -> [RocketLauncher]
down [RocketLauncher | Air] -> [ | TempObject]
late [TempObject] -> [RocketLauncher]
(Painovoima Rajahtavat, rajahtava TNT putoaa ilmassa)
down [Tnt12 | Air] -> [Air | TempDynamiitti13]
late [TempDynamiitti13] -> [Tnt12]
down [Tnt11 | Air] -> [Air | TempDynamiitti12]
late [TempDynamiitti12] -> [Tnt11]
down [Tnt10 | Air] -> [Air | TempDynamiitti11]
late [TempDynamiitti11] -> [Tnt10]
down [Tnt9 | Air] -> [Air | TempDynamiitti10]
late [TempDynamiitti10] -> [Tnt9]
down [Tnt8 | Air] -> [Air | TempDynamiitti9]
late [TempDynamiitti9] -> [Tnt8]
down [Tnt7 | Air] -> [Air | TempDynamiitti8]
late [TempDynamiitti8] -> [Tnt7]
down [Tnt6 | Air] -> [Air | TempDynamiitti7]
late [TempDynamiitti7] -> [Tnt6]
down [Tnt5 | Air] -> [Air | TempDynamiitti6]
late [TempDynamiitti6] -> [Tnt5]
down [Tnt4 | Air] -> [Air | TempDynamiitti5]
late [TempDynamiitti5] -> [Tnt4]
down [Tnt3 | Air] -> [Air | TempDynamiitti4]
late [TempDynamiitti4] -> [Tnt3]
down [Tnt2 | Air] -> [Air | TempDynamiitti3]
late [TempDynamiitti3] -> [Tnt2]
down [Tnt | Air] -> [Air | TempDynamiitti2]
late [TempDynamiitti2] -> [Tnt]
(Hiekka painovoima)
down [Sand | Air] -> [Air | Temp]
late [Temp] -> [Sand]
(Hiekka leviäminen)
down [Sand | Sand] -> [ToMove | SideCheck]
left [Air | SideCheck] -> [Spot | Sand]
right [Air | SideCheck] -> [Spot | Sand]
down [ToMove | SideCheck] -> [Sand | Sand]
[Spot] -> [Sand]
[ToMove] -> [Air]
(Säädä ilman kanssa)
late [no Sand no Rock1 no Rock2 no Player no Dynamiitti no Tikapuut] -> [Air]
late [Tikapuut Air] -> [Tikapuut]
late [Vine Air] -> [Vine]
(Tnt-kanto)
up [ > Pelaaja Dynamiitti] -> [ > Pelaaja > Dynamiitti]
horizontal [ > Pelaaja Dynamiitti] -> [ > Pelaaja > Dynamiitti]
(Sinko-kanto)
up [ > Pelaaja RocketLauncher] -> [ > Pelaaja > RocketLauncher]
horizontal [ > Pelaaja RocketLauncher] -> [ > Pelaaja > RocketLauncher]
(Tnt-jättö)
right [action Pelaaja Dynamiitti | Air] -> [Pelaaja | Tnt]
(TNT-rajahdys)
late [Fireball Player] -> restart
late up[Fireball|destroyable] -> [Fireball|Air]
late down[Fireball|destroyable] -> [Fireball|Air]
late left[Fireball|destroyable] -> [Fireball|Air]
late right[Fireball|destroyable] -> [Air|Air]
late up[Tnt12|destroyable|destroyable] -> [Tnt12|Fireball|Fireball]
late down[Tnt12|destroyable|destroyable] -> [Tnt12|Fireball|Fireball]
late left[Tnt12|destroyable|destroyable] -> [Tnt12|Fireball|Fireball]
late right[Tnt12|destroyable|destroyable] -> [Air|Fireball|Fireball]
late[Tnt11] -> [Tnt12]
late[Tnt10] -> [Tnt11]
late[Tnt9] -> [Tnt10]
late[Tnt8] -> [Tnt9]
late[Tnt7] -> [Tnt8]
late[Tnt6] -> [Tnt7]
late[Tnt5] -> [Tnt6]
late[Tnt4] -> [Tnt5]
late[Tnt3] -> [Tnt4]
late[Tnt2] -> [Tnt3]
late[Tnt] -> [Tnt2]
(ammu singolla)
right [action Pelaaja RocketLauncher |] -> [Pelaaja RocketLauncher|Missile]
right [Missile|Air] -> [Air|Missile]
right[Missile|destroyable] -> [Air|Tnt11]
(Koira jahtaa pelaajaa)
horizontal [Pelaaja | ... | Koira] -> [Pelaaja | ... | < Koira]
(Koira osuessa kissaan kissa kuolee)
[Pelaaja | < Koira] -> restart
(Silman hitbox-restarttaa pelin)
late [Pelaaja EyeHitBox] -> restart
()
==============
WINCONDITIONS
==============
some Player on Goal
=======
LEVELS
=======
(Sijoita alla olevaan karttaan luomasi objektit)
rerrrreeerrrrreeerrrerrrrrrrrrrrerrrrrrrrrr
rereerrreerr.........ee.....vvvv..........r
rr.....eeree..........er....v..vvv........e
e........rre..........ere.......vv........r
r.........re...........er.......ereeerer.tr
r.d.......eee.........eee.......rereereeete
rree.t....rrer.m......ee....ln....rereeerte
r.rrrt....rerrree..........hcxh.......h..tr
r....t.....eeeeeeereerre...hreeh......h..tr
r....t.....eeeeeeerrssrereerereeeerererretr
r....t......rerereesssrereerereeeerererretr
r....t......v.errrrsssrreereereererv.....tr
r....t......v..v.rrrrrrrre...vvvv.vv.....tr
r....t....erv..v.v.rrrr.....vvv.vvvvv....tr
rp...t...errrr...v...rr.....v....v..v....tr
rrrrrrrrerereererrrrrrrrrre.v..........vktr
rrrrrrerrererrrerrrrrrreeerreeerererrrrvrrr
rrrrrrrrrrrrerrerrrreerrrrrrerrrreerrrdvrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggrrrrrrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr........rrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrgrrrrrrrrrrrrrrrrrrrrrrrrrrrr............rrrrrrrrrrrrrrrrrrrr
rrrrrrr......................rrrrrrrrrrrr...........rrr..ssss.....................rrrrr
rrrr.........................rrrrrrrrr...............rrssssssss.....................rrr
rr...........................rrrrrrrrr................r.sssssss.....................rrr
r.............................rrrrrrrr.t..d..........rrrsssssssss....................rr
rr.............................rrrrrr..trrreerereeee...rrr.sssseeeeeeee..............rr
rrr................r.............rrrr..treeereeeeeeeee....ssssseeee..................rr
r.......p.......rrrr...................terreeeeeee...rrrrsssssrree...................rr
rrrrrrrrrrrrrrrrrrrrrrrr...............teereeeee......rrrrrrrrr......................rr
rrrrrrrrrrr..rrrrrrrrrrrrrrrrrrrrrr....trereeee.........t..rrrr.....................rrr
rr...................rrrrrrrrrrrr......trreeeee.........t............................rr
rr.........................rrrrr.......trreee...........trrrrr.......................rr
r...........................rrr.....rrrrree.............t..rrrr......................rr
rr...........................rrr...rrreeeee.............t....rrr....................rrr
rr............................rrr.rrrreee...............trrrrrr.......t.......m...rrrrr
r..............................rrrrrre..................t.............trrrrrrrrrrrrrrrr
rr......................................................t.............t....rrrrrrrrrrrr
rr......................................................t.............t.........rrrrrrr
r.......................................................t.............t............rrrr
r.......................................................t...........................rrr
rr......................................................t...........................rrr
r.......................................................t...........................rrr
r.....dddddd.t..........................................t...........................rrr
rr....rrrrrrrt..........................................t......................rrrrrrrr
rrr...rrrrrrrt..........................................trrrrrrrrrrr...rrrrrrrrrrrrrrrr
rrrr..rrrrrrrt..........................................t.............rrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrsssssssssssssssssrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrsssssssssssssssssrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrsssssssssssssssssrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrsssssssssssssssssrrrrrrrrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrsssssssssssssssssrrrrrrrrrrrrrrrrrrrrrr
r...................sssssssssssssss.......................r
r................ssssssssssssssssssss.....................r
r................sssssssssssssssssssss....................r
r...............ssssssssssssssssssssss....................r
r..............ssssssssssssssssssssssss...................r
r.............ssssssssssssssssssssssssss..................r
r............ssssssssssssssssssssssssssss.................r
r...........sssssssssssssssssssssssssssssss...............r
r.p......z.sssssssssssssssssssssssssssssssss..........m...r
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
MESSAGE Hiekka-Sami pääsi maan pinnalle. Hyvää työtä!