petermorphose 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/COPYING +3 -0
  2. data/README.md +31 -0
  3. data/bin/petermorphose +3 -0
  4. data/levels/flgr_Der_Alkohol_und_seine_Folgen.pml +447 -0
  5. data/levels/jr_Am_Tempel_des_Harlow-Karlow.pml +413 -0
  6. data/levels/jr_Auf_der_Flucht.pml +456 -0
  7. data/levels/jr_Die_zwei_Baeume.pml +447 -0
  8. data/levels/jr_Feuertauchen.pml +343 -0
  9. data/levels/jr_Gemuetlicher_Aufstieg.pml +329 -0
  10. data/levels/jr_Gruenhuegelshausen.pml +423 -0
  11. data/levels/jr_Gruselgrotte.pml +421 -0
  12. data/levels/jr_Hoch_hinaus.pml +265 -0
  13. data/levels/jr_Vom_Ozean_in_die_Traufe.pml +342 -0
  14. data/levels/jr_Weg_durchs_Feuer.pml +544 -0
  15. data/levels/sl_Heimweg_zu_Henk.pml +307 -0
  16. data/media/arg1.wav +0 -0
  17. data/media/arg2.wav +0 -0
  18. data/media/arrow_hit.wav +0 -0
  19. data/media/blocker_break.wav +0 -0
  20. data/media/bow.wav +0 -0
  21. data/media/break1.wav +0 -0
  22. data/media/break2.wav +0 -0
  23. data/media/buttons.png +0 -0
  24. data/media/collect_ammo.wav +0 -0
  25. data/media/collect_freeze.wav +0 -0
  26. data/media/collect_health.wav +0 -0
  27. data/media/collect_key.wav +0 -0
  28. data/media/collect_points.wav +0 -0
  29. data/media/collect_star.wav +0 -0
  30. data/media/danger.png +0 -0
  31. data/media/death.wav +0 -0
  32. data/media/dialogs.bmp +0 -0
  33. data/media/door1.wav +0 -0
  34. data/media/door2.wav +0 -0
  35. data/media/eat.wav +0 -0
  36. data/media/effects.bmp +0 -0
  37. data/media/enemies.bmp +0 -0
  38. data/media/explosion.wav +0 -0
  39. data/media/game.ogg +0 -0
  40. data/media/gui.bmp +0 -0
  41. data/media/help1.wav +0 -0
  42. data/media/help2.wav +0 -0
  43. data/media/jump.wav +0 -0
  44. data/media/lava.wav +0 -0
  45. data/media/lever.wav +0 -0
  46. data/media/menu.ogg +0 -0
  47. data/media/morph.wav +0 -0
  48. data/media/player.bmp +0 -0
  49. data/media/player_arg.wav +0 -0
  50. data/media/shshsh.wav +0 -0
  51. data/media/skies.png +0 -0
  52. data/media/slime1.wav +0 -0
  53. data/media/slime2.wav +0 -0
  54. data/media/slime3.wav +0 -0
  55. data/media/stairs.wav +0 -0
  56. data/media/stairs_steps.wav +0 -0
  57. data/media/stuff.bmp +0 -0
  58. data/media/sword_whoosh.wav +0 -0
  59. data/media/tiles.bmp +0 -0
  60. data/media/title.png +0 -0
  61. data/media/title_dark.png +0 -0
  62. data/media/turbo.wav +0 -0
  63. data/media/water1.wav +0 -0
  64. data/media/water2.wav +0 -0
  65. data/media/whoosh.wav +0 -0
  66. data/media/whoosh_back.wav +0 -0
  67. data/media/won.bmp +0 -0
  68. data/media/yippie.wav +0 -0
  69. data/src/const.rb +301 -0
  70. data/src/en.yml +62 -0
  71. data/src/gosu-preview.rb +116 -0
  72. data/src/helpers/audio.rb +9 -0
  73. data/src/helpers/graphics.rb +24 -0
  74. data/src/helpers/input.rb +28 -0
  75. data/src/ini_file.rb +25 -0
  76. data/src/level_info.rb +63 -0
  77. data/src/localization.rb +19 -0
  78. data/src/main.rb +86 -0
  79. data/src/map.rb +136 -0
  80. data/src/objects/collectible_object.rb +174 -0
  81. data/src/objects/effect_object.rb +120 -0
  82. data/src/objects/game_object.rb +363 -0
  83. data/src/objects/living_object.rb +657 -0
  84. data/src/objects/object_def.rb +45 -0
  85. data/src/script.rb +207 -0
  86. data/src/states/credits.rb +24 -0
  87. data/src/states/game.rb +463 -0
  88. data/src/states/help.rb +268 -0
  89. data/src/states/level_selection.rb +43 -0
  90. data/src/states/menu.rb +45 -0
  91. data/src/states/options.rb +81 -0
  92. data/src/states/state.rb +11 -0
  93. data/src/states/title.rb +17 -0
  94. data/src/states/victory.rb +20 -0
  95. metadata +188 -0
@@ -0,0 +1,307 @@
1
+
2
+ [Info]
3
+ Version=Final
4
+ Title=Heimweg zu Henk
5
+ Skill=Leicht
6
+ Desc=Leichtes, kurzes Level ohne viele Gegner.
7
+ Theme=Ritter
8
+ Author=Sebastian Ludwig, USLudwig@t-online.de
9
+
10
+ [Map]
11
+ Sky=7
12
+ StarsGoal=30
13
+ LavaSpeed=2
14
+ LavaMode=0
15
+ LavaPos=1024
16
+ LavaScore=1
17
+ LevelTop=896
18
+ 897=000000000000000000000000000000000001010100000000
19
+ 898=0000000000000000000000000000000000080C0800000000
20
+ 899=000000000000000000000000000000000002020200000000
21
+ 900=00000000000000000000000000000000007D7D7E00000000
22
+ 902=000000000000000000000000000000000000000000007C7D
23
+ 904=00000000000000000000000000000000000000007F000000
24
+ 905=CFCF00000000000000000000000000000000000000000000
25
+ 906=02CF0000009D000000000000000000000000000000000000
26
+ 907=7D7D7D7D7D7D7E0000000000000000000000000000000000
27
+ 908=000000000000000000B2B4B34D4EB50000008485858585CA
28
+ 909=000000000000000000000000000000000000888C89898C89
29
+ 910=000000000000000000000000000000000000808181818181
30
+ 915=000000000000000000000000005D5D5D0000000000000000
31
+ 916=00000000000000000000005D5D9092940000000000000000
32
+ 917=000000000000005D5D5D5D9091959695006F6F6F6F000000
33
+ 918=5D00005D5D5D5D909291929596959596006E6E6E6E005966
34
+ 919=94E6E6909192914436364595969696953F90919293101194
35
+ 920=EBE6E69595443E3435354796959595963F95969644101010
36
+ 921=E8EAE69644479695E6E6959596969595E695964411101110
37
+ 922=9596E6953F969596E8EAE6E6E6E6E6E6E995961110321210
38
+ 923=9695E695464596959695E8E6E6E6EAE99595441012111010
39
+ 924=95EBE99596E695443E4595E8EAE995969596101110101111
40
+ 925=96E6969696E8EAE9953F9695959696443636111033103010
41
+ 926=EBE696444595969544479644363636101010311011101010
42
+ 927=E6E69538343E3E3E4796441010262726221010111110131F
43
+ 928=E8EAEAE99596969596443310260000000027101132131B08
44
+ 929=9696959544363636361010230000000000009F10111603FC
45
+ 930=363636361030101032102600000000000000D9DADADADADB
46
+ 931=102812102600002710230000000000000000808181818181
47
+ 932=26002223000000002D000000000000000000000000000000
48
+ 935=00000000000000000000000000000000000000000000007C
49
+ 936=00000000000000000000000000000000005C0000005BCFF8
50
+ 937=00000000000000000000000000007CDDDD7DDD7DDDDDDD7D
51
+ 939=0000000000000000B6B7B7B8000000000000000000000000
52
+ 940=0000000000005953A8A3A5A9000000000000000000000000
53
+ 941=0000005953666068A8A5A3A74FBD00000000000000000000
54
+ 942=00005960BEBA4FBAA6A3A4A914505A000000000000000000
55
+ 943=005960525050506AA8A5A4A7BAB94D4EBD00000000000000
56
+ 944=006450505050516CA8A3A3A96B5050505A00000000000000
57
+ 945=00575050505050684B4C4B4C505150BB5800000000000000
58
+ 946=00556250BE4FBAB9A6A3A4A96D5050505600000000000000
59
+ 947=000055625050506AA8A4A3A963BB67560000000000000000
60
+ 948=0000005750BB526CA8A5A3A9560000000000000000000000
61
+ 949=00000055675462684C4C4B4B000000000000000000000000
62
+ 950=00000000000055BEA6A3A5A9000000000000000000000000
63
+ 951=000000000000005EACADAEAF5F0000000000000000000000
64
+ 952=000000000000909192919292919300000000000000000000
65
+ 953=000000000000979898989898989900000000000000000000
66
+ 954=00000000000000000000000000000000008F000000000000
67
+ 956=0000000000000000000000000000008F0000000000000000
68
+ 960=00000000000000B2B3B44FB3B3B34FB3B500000000000000
69
+ 963=B7B7B85A0000000000000000000000000000000059B6B7B7
70
+ 964=A3A5A9615A00000000000000000000000000005960AAA3A3
71
+ 965=A4A4AB6D6166535A0000000000000000595366606CA8A4A4
72
+ 966=484B4C695050F565000000000000000064F55050684C4B48
73
+ 967=4AA8A74FB9BABF615A0000000000005960BEBAB94FA6A94A
74
+ 968=A4A3A9145050505065000000000000645050505019A8A4A3
75
+ 969=A3A4A7BF50515050580000000000005750505150BEA6A3A5
76
+ 970=A4A5AB6B505050635600000000000055625050506AAAA5A3
77
+ 971=A3A4A95150BB505800000000000000005750BB5051AAA3A4
78
+ 972=A5A3AB505050635600000000000000005550505050AAA4A5
79
+ 973=A3A3A96D50526500B2B4B3B4B3B4B500006452506CA8A3A3
80
+ 974=484C4B6950505600000000000000000000555050684B4C48
81
+ 975=49A8A7B94FBD000000000000000000000000BC4FB9A6A949
82
+ 976=4A4B4C0000000000000000000000000000000000004C4B4A
83
+ 977=ADAEAF5F000000000000000000000000000000005EACADAE
84
+ 978=929192919300000000000000000000000000909192919192
85
+ 979=9898989899000000000000003C0000000000979898989898
86
+ 980=0000000000000000000000003D0000000000000000000000
87
+ 981=0000000000000000000090C4C59300000000000000000000
88
+ 982=000000000000000000009798989900000000000000000000
89
+ 983=0000000000DC7DDE00000000000000000000000000000000
90
+ 985=000000000000000000848586000000000000000000000000
91
+ 986=000000000000000000888D89DADADADADB00000000000000
92
+ 987=000000000000000000808181818181818200000000000000
93
+ 991=000000000000000000000000000000000101010000000000
94
+ 992=000000000000010101010101017C857E0202E00000000000
95
+ 993=000000000000020205020202020283020A02EF0000000000
96
+ 994=0000000000000202020E02020202D3020202870000000000
97
+ 995=00000000000002020202020284CA8585857D820000000000
98
+ 996=00000000000002027C7D7D7D818181898200000000000000
99
+ 997=000000000000020202020202020202830201010101010101
100
+ 998=00000000000002F302020B020B02028E02020202027C7D7D
101
+ 999=0000000000000202029D0202029D02CD02020502028E02FE
102
+ 1000=0000000000007C7D7D7D7D7D7D7D7D7D7E020202027C7DDE
103
+ 1001=00000000000000000000000000000000000000000202FDFA
104
+ 1002=000000000000000000000000000000000000000084858585
105
+ 1003=000000000000000000000000000000000000000080818181
106
+ 1004=000000000000000000000000000000000000000002020202
107
+ 1005=00000000000000000000000000000000000000000202FA02
108
+ 1006=00000000000000000000000000000000000000007C7D7D7D
109
+ 1007=00000000000000000000000000009D5C0000000000000000
110
+ 1008=00000000000000003C00000000B2B4B3B4B5000000000000
111
+ 1009=00000000000000003D000000000000000000000000000000
112
+ 1010=0000005B0000B2B44D4EB500000000000000000000000000
113
+ 1011=00B2B3B50000000000000000000000000000000000000000
114
+ 1015=6F6F6F6F00000000009F0000000000000000000000000000
115
+ 1016=6E6E6E6E005C0000009E000000000000009F000000000000
116
+ 1017=C39291929292935D5D9D9F5D5D5D9F5D5D9E5D5D9D5D5D5D
117
+ 1018=959595959596959192919192929191929191929291919291
118
+ 1019=95969B969595969695959695959695959596969695959595
119
+ 1020=959596969595969C95959695959C96969B96959696969595
120
+ 1021=96959595959696969696959B959696959696959595969695
121
+ 1022=959696959C959B96969696969695959596969696959C9695
122
+ 1023=969695959596959595959595959696959595959695959595
123
+
124
+ [Tiles]
125
+ 14=190C00150C021F15011B0E001810001A05061A07001B0C021A1003160C001A0C041A0C04180C00130E011C1400150901130E032114051F0C00150A001810001609001C0C00201305160E03270F011E15031909021C0A02004300004100003E00004C04004201004902013E01004902004800034302004800190D00180E011C0A00140C00200A001C0E01180B04200900150D051A0B00181000150901004C01004503004400074500013F00004805034601004000004A00003E02004105024802004201004800190E00190F03180C01200E06231100190C06221000160802044A00004A04004800004900004800014800004A04004903003F03014405004A00054902004300004900023C04004802044B00004906150D00190C001D1500170C001F1200180C00004401024706004900004800004900004504044902004001004800034700034302034B00034002004302004400044000004604014000004D001909012510001A0D00130C03004800004902004900004202003F00003E00003F02034702003E01004200003C00014001004B00004800054001034500003D00004A00004200004800180C04120C01230C00150C00024000014200054000004800004800004400023F07004500014802004D00004300033C01004400004900004700004200044001003F04004900054002004C001706001D0D00190E00044001003D01024603004100014500004900034704004800014D00014D00004500003F00014005004000004A03003F02003E02003E00004A00004104004A00180C002012041A0C05004800004304004600004900024B08004900044400024B04004300033A01004001024802014200003A02004703013E00004B00034A020045040147010041000048001C0900170D00004600004000004400004500053F00004D00014801014400004003004605014802004A03014800044B04084502044800004500063E00024600013D02004003005000150C00180600024A03014102003F01023B00024A00004B00004A00044803004B00024000004B00004B04023D03034700044600023D00023E01014104014803014102034600004802180E02004802004300004704004800004C01004600003C00064403034100014000004802004101024A00004003003F00084902004B00004900004700004100004A06004800004500160B00034803004A03003C00004002004700004800004B00004001004800024700064805004100054301034C04014500034700003B03014D00004801004800004000014E00004100180A00003E04044000003F01003E03003F00044400013E06003D05054E02004005034A01004000004100003D03004C00004900004802014501064100004900004802004700004205023E01004B01004800064B00004500004D00004700014102003C02044A01053F00003B03003A00054302024300004800013E00014B02034501024100013E03004000004300004100004400014502004002004300004100024A01004A00004700004B02004803004002004000064100004600013F00004C00024700004300014701014A02014000013E00004101004000024501004000004202034C01004800004A02004505044800033E02024800034008004702013C00024800004800004F00004700003D00004900054500034901004F02004600024C00014700004D00004400004B00004600034700004A01004200004806004800004002024805034A01024300004900044800044A00004600043E00014801004003004A04034A00003E00044000024605003C00013C00003F00024001004301004400004102003D00034000004A00004700004401034900014500004805013D01014801004000064800074804033D01013F05074800064700004900044800004A02004E02024600064006003F04034401004300013F02004700004004004300004005034902014700004000034301004700004800004601004800004C00004303034400004000024505004700004900034801034800004102004701004100044900004800023F02034105004704004800004503024800004A02014500004902024000003B00004703004601024100004300024900054800004000043F00003E00004400034800004400004302034400024802004805004900004801004B03054708004300004A05004400003E02003C01004600014800064B00004700034B04004003023E06004900084B02004000044400054900044400034900004003004606034100004003014000004800004500054600014001004002003E05004104004000004C00003E00044600064600004300013E00004002034800004C02003E00034800004600004300064800014B04034000014504034801004003004000
126
+ 19=004002003E05004104004000004C00003E00044600064600004300013E00004002034800004C02003E00034800004600004300064800014B04034000014504034801004003004000003C01004600014800064B00004700034B04004003023E06004900084B02004000044400054900044400034900004003004606034100004003014000004800004500054600014001004703004601024100004300024900054800004000043F00003E00004400034800004400004302034400024802004805004900004801004B03054708004300004A05004400003E02004303034400004000024505004700004900034801034800004102004701004100044900004800023F02034105004704004800004503024800004A02014500004902024000003B00064700004900044800004A02004E02024600064006003F04034401004300013F02004700004004004300004005034902014700004000034301004700004800004601004800004C00024605003C00013C00003F00024001004301004400004102003D00034000004A00004700004401034900014500004805013D01014801004000064800074804033D01013F05074800004D00004400004B00004600034700004A01004200004806004800004002024805034A01024300004900044800044A00004600043E00014801004003004A04034A00003E00044000004000004202034C01004800004A02004505044800033E02024800034008004702013C00024800004800004F00004700003D00004900054500034901004F02004600024C00014700014502004002004300004100024A01004A00004700004B02004803004002004000064100004600013F00004C00024700004300014701014A02014000013E00004101004000024501004B01004800064B00004500004D00004700014102003C02044A01053F00003B03003A00054302024300004800013E00014B02034501024100013E03004000004300004100004400003E04044000003F01003E03003F00044400013E06003D05054E02004005034A01004000004100003D03004C00004900004802014501064100004900004802004700004205023E01034803004A03003C00004002004700004800004B00004001004800024700064805004100054301034C04014500034700003B03014D00004801004800004000014E00004100180A00004802004300004704004800004C01004600003C00064403034100014000004802004101024A00004003003F00084902004B00004900004700004100004A06004800004500160B00180600024A03014102003F01023B00024A00004B00004A00044803004B00024000004B00004B04023D03034700044600023D00023E01014104014803014102034600004802180E02170D00004600004000004400004500053F00004D00014801014400004003004605014802004A03014800044B04084502044800004500063E00024600013D02004003005000150C001A0C05004800004304004600004900024B08004900044400024B04004300033A01004001024802014200003A02004703013E00004B00034A020045040147010041000048001C0900190E00044001003D01024603004100014500004900034704004800014D00014D00004500003F00014005004000004A03003F02003E02003E00004A00004104004A00180C00201204150C00024000014200054000004800004800004400023F07004500014802004D00004300033C01004400004900004700004200044001003F04004900054002004C001706001D0D00130C03004800004902004900004202003F00003E00003F02034702003E01004200003C00014001004B00004800054001034500003D00004A00004200004800180C04120C01230C001F1200180C00004401024706004900004800004900004504044902004001004800034700034302034B00034002004302004400044000004604014000004D001909012510001A0D00221000160802044A00004A04004800004900004800014800004A04004903003F03014405004A00054902004300004900023C04004802044B00004906150D00190C001D1500170C00150D051A0B00181000150901004C01004503004400074500013F00004805034601004000004A00003E02004105024802004201004800190E00190F03180C01200E06231100190C06160E03270F011E15031909021C0A02004300004100003E00004C04004201004902013E01004902004800034302004800190D00180E011C0A00140C00200A001C0E01180B04200900190C00150C021F15011B0E001810001A05061A07001B0C021A1003160C001A0C041A0C04180C00130E011C1400150901130E032114051F0C00150A001810001609001C0C00201305
127
+ EB=5D3B005B1400552900492503541B004F260056230751160350200954240053260043250000008307007B00017B06008701008303018904007703017E00007F050475030079000C7E442606593000522A005622004D1C004D260256270000007A00008000007A03009100057506007800008000078206027900007A00008000007A030091000575050B7B01067A000086451D0A4A1D00451F0A5028014E3107000C8600057C00007E00058700028909047B00028D000381000C87000C8600057C00007E00058700028909047B00028D00008A00007701028A552E0A5F2C004D2500572C080D038000068300007E00027A05007A05058B000A800104800707880D038000068300007E00027A05007A05058B000A8001048000007800007B0800824A2800513100541F00000B8C0003851101820B008101027F03007A01008100038500037E000B8C0003851101820B008101027F03007A01008100038500037E04008001067A010480482501511C0B51260000008206007700038D0008750504830002840800800002840C0F8A00008206007700038D0008750504830002840800800002840C0F8A01017A00008B0006815E2700633C050704810303890600850000790201800409880006840D008000007B0C067E0303890600850000790201800409880006840D008000007B0C067E07048107077E0300795E300063290900028200008308008500057E00037F09037F00007D00058200007D00058600008308008500057E00037F09037F00007D00058200007D0005860002820E03810401785929040000850001820004800601780000810708820B007F04028304098000008300007E09058000028C000083000A8100088A00008204098000008300007E0001820000850903845A220A00008401007E02008800088300008500008300007E00007D00008100008101007D03098300067E00007000008400007900007C00008100008101007D01007E00008400008A521D085E230000048402038100008700028700007C00007F060076000080000B7E02007502008006008206008200008000008500047E000080000B7E0200750004840C00800000845D2D0053260007058102007800007C00068900007F00008208008F00007E0509770000770D027F03008A00007E01098A02007E00007E00008005008908007B07058100007C00007C4C39000C02820001780D059100029100007D010084000A7F00037600058B05008400118300007D0000880300820300770F078000057C08078100008C0707800001780C0282000C7E4E2309502C0004008800008004008200007C08037802007E00018101018C00047904107C00008101008000007900008200008B08008401097D030080000A8404008807077100068563280700008005017F0B017F00007A0400820A007F00038007008000017E00088406008100068C02047F14008A00008600008007058000128404038506008205017F0000800100844C21006A30050B0478000A7B02007D00037B00007A00007400007300008C00007800057C06028500008D0002850000760009870000820600720C00890000800B04780A028400007C4D200B5C250B00048B000A7F00008200038000008000007C00007D0C0080000079000579000C7508007C00007400007F00088405007D000178050A8C00098B00048B04028A000080622C0100008000018500018B00007602008400008A00037C00008700017904087D010086000B7D020A7D00078009008300008F0B0C7C000E7F00007A030D89000185000080040081592F000007870800840000750200840000740003880000820101760C0181000472001084000B8000008D00007600068A00068A03087A000480070977030081080084000787050678000C7D02028C00017F11058D110280000080040081000A7C00037E0B057C04008503117C04007A04018600008400038600008400018300007303048000047400017F02028C000C7D46200000007701058700008200007709068000008002007F0F008800007700098500007800018306007E00008003018000007611008300057900007C00018001058700007700007859270000008C04047701038207007407027E00007A000080000086000079000B770000820000800000860600870404830902800004890D0280040086000E7904047700008C0400790A007E04007C00008108008203087F05007E03008000007700007B01007D01007C00008100027900007A05007D0200830B0585000A7C00048106077F00008800008104007C0A007E04038905007802017400047C00018601007D02088700008B03028400098403007500007C00067D09007F00038303027E01008105037100037D000087000081020174050078040389
128
+
129
+ [Scripts]
130
+ Timer0=do(always):find $0 0019 0021 0008 5ABB 0006 0006\_find $1 0019 0021 0232 5ABB 0006 0006
131
+ Timer1=do($0ex=0000):kill $1\do($1ex=0000):kill $0
132
+ Timer2=do(var0=0002):changetile 000C 03BE 008F
133
+ Timer10=do(always):mapsolid var2 0008 54E2\do(var2=0000):changetile 0000 038A 0000\_changetile 0012 0383 00F8
134
+
135
+ [Objects]
136
+ PlayerX=555
137
+ PlayerY=24419
138
+ PlayerDirection=0
139
+ PlayerLife=7
140
+ 0=39|0D1|5604
141
+ 0Y=0
142
+ 1=25|0BE|55F0
143
+ 2=3D|0FA|563C
144
+ 3=3D|0A7|5E97
145
+ 4=3D|0AE|5839
146
+ 5=35|1D6|545C
147
+ 5Y=0|Henks Haust�r!
148
+ 6=3F|0CC|5684
149
+ 7=2C|224|5484
150
+ 7Y=0|Jasmin
151
+ 8=20|03C|56B5
152
+ 9=3D|127|5D27
153
+ 10=23|19B|5958
154
+ 11=24|181|5969
155
+ 12=23|16C|598B
156
+ 13=25|154|59A6
157
+ 14=3F|105|5BF4
158
+ 14Y=0
159
+ 15=35|13C|5938
160
+ 15Y=0|Den Baum des Lebens findet man oft vergebens
161
+ 16=21|0AE|58D6
162
+ 17=21|071|5889
163
+ 18=26|146|5F69
164
+ 19=21|084|5F4E
165
+ 20=37|053|5BA4
166
+ 21=2A|1EA|5BA5
167
+ 22=3F|171|5E7C
168
+ 23=25|13D|5C53
169
+ 24=24|14F|5C64
170
+ 25=23|15A|5C51
171
+ 26=25|175|5C4E
172
+ 27=25|181|5C5F
173
+ 28=23|12C|5F5F
174
+ 29=24|149|5F48
175
+ 30=25|16E|5F37
176
+ 31=23|0E6|5EFA
177
+ 31Y=0
178
+ 32=24|0B5|5F4A
179
+ 33=23|1ED|5F32
180
+ 34=25|204|5F4F
181
+ 35=24|1BF|5F4A
182
+ 36=23|0A4|5D80
183
+ 37=25|0B6|5D6A
184
+ 38=24|0A7|5D49
185
+ 39=23|0B1|5D3A
186
+ 39Y=0
187
+ 40=26|0FA|5DB9
188
+ 41=20|217|5DBD
189
+ 42=3D|1ED|5DB6
190
+ 43=20|00A|5ABD
191
+ 43Y=0
192
+ 44=20|234|5ABD
193
+ 45=26|16C|5C69
194
+ 46=23|12A|5C5C
195
+ 46Y=0
196
+ 47=37|082|5AFA
197
+ 48=2B|1BA|5B02
198
+ 49=23|0F2|5B25
199
+ 50=24|115|5B0F
200
+ 51=25|136|5B25
201
+ 52=24|14D|5B16
202
+ 53=37|011|5A37
203
+ 54=29|230|5A41
204
+ 54Y=0
205
+ 55=23|00B|5B75
206
+ 56=25|020|5B5B
207
+ 57=24|20F|5B5B
208
+ 58=25|232|5B71
209
+ 59=25|110|59EB
210
+ 60=23|0F7|59DB
211
+ 61=24|144|59ED
212
+ 62=23|15D|59D4
213
+ 63=34|11C|567D
214
+ 64=34|125|5699
215
+ 65=34|12D|5680
216
+ 66=34|172|5692
217
+ 67=34|13E|5681
218
+ 68=31|140|56AB
219
+ 69=34|01C|5646
220
+ 70=34|024|56F5
221
+ 70Y=0
222
+ 71=32|015|5662
223
+ 72=2A|006|570B
224
+ 73=23|0BC|5638
225
+ 74=25|0DB|5646
226
+ 75=24|0E7|5634
227
+ 76=26|0C6|56F9
228
+ 77=26|0B4|56F9
229
+ 78=2B|231|5622
230
+ 79=25|0BB|56A9
231
+ 80=23|0E1|56AD
232
+ 81=25|0E8|56C1
233
+ 82=23|00C|5610
234
+ 83=24|052|5607
235
+ 84=25|077|561C
236
+ 85=23|090|55FA
237
+ 86=23|0E3|5600
238
+ 87=23|0F6|55D1
239
+ 88=25|142|55C2
240
+ 89=24|113|55D8
241
+ 90=26|1AF|5621
242
+ 91=26|1C4|5621
243
+ 92=2F|16B|55C3
244
+ 93=22|159|589C
245
+ 94=3B|172|57CC
246
+ 95=18|009|54D9
247
+ 96=1B|006|54E6
248
+ 97=1A|005|54E8
249
+ 98=18|01B|54FA
250
+ 99=19|018|5505
251
+ 100=18|018|54DB
252
+ 101=18|025|5504
253
+ 102=1A|02D|5502
254
+ 103=1A|029|54EC
255
+ 104=18|014|54EC
256
+ 105=18|017|54DF
257
+ 106=19|02B|54FE
258
+ 107=19|029|54F3
259
+ 108=19|025|54E4
260
+ 109=19|01F|54DE
261
+ 110=1B|02A|54FC
262
+ 111=1B|027|54E8
263
+ 112=1B|024|54DF
264
+ 113=1B|01B|54E6
265
+ 114=1B|018|54DE
266
+ 115=1A|028|54DB
267
+ 116=1A|01D|54E9
268
+ 117=1A|00F|54DF
269
+ 118=1A|005|54DC
270
+ 119=18|00D|54E9
271
+ 120=18|01F|54F1
272
+ 121=18|026|54F4
273
+ 122=18|01F|5500
274
+ 123=1E|00D|54FC
275
+ 123Y=1|16|38A|7F
276
+ 124=18|20F|57D3
277
+ 125=1B|1B3|57D5
278
+ 126=1B|1CF|57D5
279
+ 127=1A|1E4|57D3
280
+ 128=19|18C|57D4
281
+ 129=12|0F1|5D53
282
+ 130=12|129|59F3
283
+ 131=1D|181|59F4
284
+ 131Y=X|do(always):add var0 +0001
285
+ 132=1D|0C0|59F4
286
+ 132Y=X|do(always):add var0 +0001
287
+ 133=1E|216|5724
288
+ 133Y=1|15|39E|F4
289
+ 134=14|13A|568F
290
+ 135=15|169|567B
291
+ 136=16|06D|56F9
292
+ 137=16|0F7|5651
293
+ 138=14|050|570C
294
+ 139=14|0AB|56C4
295
+ 140=13|00B|54C7
296
+ 141=08|06A|54FB
297
+ 142=08|03F|54FB
298
+ 143=05|1DB|5513
299
+ 144=05|201|5513
300
+ 145=09|21A|5513
301
+ 146=09|1ED|5513
302
+ 147=05|1E8|5723
303
+ 147Y=1|0
304
+ 148=05|060|5F4B
305
+ 149=06|10E|5DB3
306
+ 150=09|11E|5B2B
307
+ 151=05|153|55D3
data/media/arg1.wav ADDED
Binary file
data/media/arg2.wav ADDED
Binary file
Binary file
Binary file
data/media/bow.wav ADDED
Binary file
data/media/break1.wav ADDED
Binary file
data/media/break2.wav ADDED
Binary file
data/media/buttons.png ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/media/danger.png ADDED
Binary file
data/media/death.wav ADDED
Binary file
data/media/dialogs.bmp ADDED
Binary file
data/media/door1.wav ADDED
Binary file
data/media/door2.wav ADDED
Binary file
data/media/eat.wav ADDED
Binary file
data/media/effects.bmp ADDED
Binary file
data/media/enemies.bmp ADDED
Binary file
Binary file
data/media/game.ogg ADDED
Binary file
data/media/gui.bmp ADDED
Binary file
data/media/help1.wav ADDED
Binary file
data/media/help2.wav ADDED
Binary file
data/media/jump.wav ADDED
Binary file
data/media/lava.wav ADDED
Binary file
data/media/lever.wav ADDED
Binary file
data/media/menu.ogg ADDED
Binary file
data/media/morph.wav ADDED
Binary file
data/media/player.bmp ADDED
Binary file
Binary file
data/media/shshsh.wav ADDED
Binary file
data/media/skies.png ADDED
Binary file
data/media/slime1.wav ADDED
Binary file
data/media/slime2.wav ADDED
Binary file
data/media/slime3.wav ADDED
Binary file
data/media/stairs.wav ADDED
Binary file
Binary file
data/media/stuff.bmp ADDED
Binary file
Binary file
data/media/tiles.bmp ADDED
Binary file
data/media/title.png ADDED
Binary file
Binary file
data/media/turbo.wav ADDED
Binary file
data/media/water1.wav ADDED
Binary file
data/media/water2.wav ADDED
Binary file
data/media/whoosh.wav ADDED
Binary file
Binary file
data/media/won.bmp ADDED
Binary file
data/media/yippie.wav ADDED
Binary file
data/src/const.rb ADDED
@@ -0,0 +1,301 @@
1
+ # New constants
2
+
3
+ TILES_X = 24
4
+ TILES_Y = 1024
5
+ TILE_SIZE = 24
6
+ SCRIPT_TIMERS = 11
7
+
8
+ # Distilled with some regexps from PMConst.pas
9
+
10
+ # SPIELSTATUSKONSTANTEN
11
+ STATE_WELCOME = 0
12
+ STATE_MAIN_MENU = 1
13
+ STATE_OPTIONS = 5
14
+ STATE_OPTIONS_2 = 6
15
+ STATE_LEVEL_SELECTION = 10
16
+ STATE_GAME = 100
17
+ STATE_DEAD = 101
18
+ STATE_WON = 102
19
+ STATE_WON_INFO = 103
20
+ STATE_PAUSED = 104
21
+ STATE_READ_ME_1 = 200
22
+ STATE_READ_ME_2 = 201
23
+ STATE_READ_ME_3 = 202
24
+ STATE_READ_ME_4 = 203
25
+ STATE_READ_ME_5 = 204
26
+ STATE_READ_ME_6 = 205
27
+ STATE_READ_ME_7 = 206
28
+ STATE_READ_ME_8 = 207
29
+ STATE_CREDITS = 220
30
+
31
+ # BILDER
32
+ IMAGE_SKY = 0
33
+ IMAGE_PLAYER = 1
34
+ IMAGE_ENEMIES = 2
35
+ IMAGE_STUFF = 3
36
+ IMAGE_EFFECTS = 4
37
+ IMAGE_DANGER = 5
38
+ IMAGE_TILES = 6
39
+ IMAGE_GUI = 7
40
+
41
+ # GERÄUSCHE
42
+ SOUND_WOOSH = 0
43
+ SOUND_WOOSH_BACK = 1
44
+
45
+ SOUND_PLAYER_ARG = 0
46
+ SOUND_JUMP = 1
47
+ SOUND_ARG = 2
48
+ SOUND_ARG_2 = 3
49
+ SOUND_DEATH = 4
50
+ SOUND_HELP = 5
51
+ SOUND_HELP_2 = 6
52
+ SOUND_JEEPEE = 7
53
+ SOUND_STAR_COLLECT = 8
54
+ SOUND_HEALTH_COLLECT = 9
55
+ SOUND_POINT_COLLECT = 10
56
+ SOUND_AMMO_COLLECT = 11
57
+ SOUND_FREEZE_COLLECT = 12
58
+ SOUND_KEY_COLLECT = 13
59
+ SOUND_MORPH = 14
60
+ SOUND_EAT = 15
61
+ SOUND_SLIME = 16
62
+ SOUND_SLIME_2 = 17
63
+ SOUND_SLIME_3 = 18
64
+ SOUND_DOOR = 19
65
+ SOUND_DOOR_2 = 20
66
+ SOUND_STAIRS = 21
67
+ SOUND_STAIRS_RND = 22
68
+ SOUND_BREAK = 23
69
+ SOUND_BREAK_2 = 24
70
+ SOUND_WATER = 25
71
+ SOUND_WATER_2 = 26
72
+ SOUND_LAVA = 27
73
+ SOUND_SHSHSH = 28
74
+ SOUND_EXPLOSION = 29
75
+ SOUND_TURBO = 30
76
+ SOUND_LEVER = 31
77
+ SOUND_SWORD_WOOSH = 32
78
+ SOUND_BLOCKER_BREAK = 33
79
+ SOUND_BOW = 34
80
+ SOUND_ARROW_HIT = 35
81
+
82
+ # ACTIONS FÜR ID_PLAYER - ID_LIVING_MAX
83
+ ACT_NUM = 20
84
+ ACT_STAND = 0
85
+ ACT_WALK_1 = 1
86
+ ACT_WALK_2 = 2
87
+ ACT_WALK_3 = 3
88
+ ACT_WALK_4 = 4
89
+ ACT_JUMP = 5
90
+ ACT_LAND = 6
91
+ ACT_IMPACT_1 = 7
92
+ ACT_IMPACT_2 = 8
93
+ ACT_IMPACT_3 = 9
94
+ ACT_IMPACT_4 = 10
95
+ ACT_IMPACT_5 = 11
96
+ ACT_ACTION_1 = 12
97
+ ACT_ACTION_2 = 13
98
+ ACT_ACTION_3 = 14
99
+ ACT_ACTION_4 = 15
100
+ ACT_ACTION_5 = 16
101
+ ACT_PAIN_1 = 17
102
+ ACT_PAIN_2 = 18
103
+ ACT_DEAD = 19
104
+ ACT_INV_UP = 20
105
+ ACT_INV_DOWN = 21
106
+
107
+ # RICHTUNGEN
108
+ DIR_LEFT = 0
109
+ DIR_RIGHT = 1
110
+ DIR_UP = 2
111
+ DIR_DOWN = 3
112
+
113
+ class Numeric
114
+ def dir_to_vx
115
+ self == DIR_LEFT ? -1 : +1
116
+ end
117
+
118
+ def other_dir
119
+ self == DIR_LEFT ? DIR_RIGHT : DIR_LEFT
120
+ end
121
+ end
122
+
123
+ # SPEZIALKARTENTEILE
124
+ # MASSIV, ERSTE REIHE
125
+ TILE_ROCKET_UP = 0xC_0
126
+ TILE_ROCKET_UP_LEFT = 0xC_1
127
+ TILE_ROCKET_UP_RIGHT = 0xC_2
128
+ TILE_ROCKET_UP_2 = 0xC_3
129
+ TILE_ROCKET_UP_LEFT_2 = 0xC_4
130
+ TILE_ROCKET_UP_RIGHT_2 = 0xC_5
131
+ TILE_ROCKET_UP_3 = 0xC_6
132
+ TILE_MORPH_FIGHTER = 0xC_7
133
+ TILE_MORPH_GUN = 0xC_8
134
+ TILE_MORPH_BERSERKER = 0xC_9
135
+ TILE_MORPH_BOMB = 0xCA
136
+ TILE_MORPH_MAX = 0xCA
137
+ TILE_MORPH_EMPTY = 0xCB
138
+ TILE_CLOSED_DOOR = 0xCC
139
+ TILE_CLOSED_DOOR_2 = 0xCD
140
+ TILE_CLOSED_DOOR_3 = 0xCE
141
+ TILE_BIG_BLOCKER_3 = 0xCF
142
+ # MASSIV, ZWEITE REIHE
143
+ TILE_BLOCKER = 0xD_0
144
+ TILE_BLOCKER_2 = 0xD_1
145
+ TILE_BLOCKER_3 = 0xD_2
146
+ TILE_BIG_BLOCKER = 0xD_3
147
+ TILE_BIG_BLOCKER_2 = 0xD_4
148
+ TILE_ROCKET_UP_LEFT_3 = 0xD_5
149
+ TILE_ROCKET_UP_RIGHT_3 = 0xD_6
150
+ TILE_PULL_LEFT = 0xD_7
151
+ TILE_PULL_RIGHT = 0xD_8
152
+ TILE_SLIME = 0xD_9
153
+ TILE_SLIME_2 = 0xDA
154
+ TILE_SLIME_3 = 0xDB
155
+ TILE_BRIDGE = 0xDC
156
+ TILE_BRIDGE_2 = 0xDD
157
+ TILE_BRIDGE_3 = 0xDE
158
+ TILE_BRIDGE_4 = 0xDF
159
+ # HINTERGRUND, ERSTE REIHE
160
+ TILE_AIR_ROCKET_UP = 0xE_0
161
+ TILE_AIR_ROCKET_UP_LEFT = 0xE_1
162
+ TILE_AIR_ROCKET_UP_RIGHT = 0xE_2
163
+ TILE_AIR_ROCKET_LEFT = 0xE_3
164
+ TILE_AIR_ROCKET_RIGHT = 0xE_4
165
+ TILE_AIR_ROCKET_DOWN = 0xE_5
166
+ TILE_WATER_5 = 0xE_6
167
+ TILE_HOLE = 0xE_7
168
+ TILE_WATER = 0xE_8
169
+ TILE_WATER_2 = 0xE_9
170
+ TILE_WATER_3 = 0xEA
171
+ TILE_WATER_4 = 0xEB
172
+ TILE_OPEN_DOOR = 0xEC
173
+ TILE_OPEN_DOOR_2 = 0xED
174
+ TILE_OPEN_DOOR_3 = 0xEE
175
+ TILE_SPIKES = 0xEF
176
+ # HINTERGRUND, ZWEITE REIHE
177
+ TILE_BLOCKER_BROKEN = 0xF_0
178
+ TILE_BLOCKER_3_BROKEN = 0xF_1
179
+ TILE_BIG_BLOCKER_BROKEN = 0xF_2
180
+ TILE_SLOW_ROCKET_UP = 0xF_3
181
+ TILE_AIR_ROCKET_UP_2 = 0xF_4
182
+ TILE_AIR_ROCKET_UP_3 = 0xF_5
183
+ TILE_SPIKES_TOP = 0xF_6
184
+ TILE_HOLE_2 = 0xF_7
185
+ TILE_STAIRS_UP_LOCKED = 0xF_8
186
+ TILE_STAIRS_UP = 0xF_9
187
+ TILE_STAIRS_UP_2 = 0xFA
188
+ TILE_STAIRS_DOWN_LOCKED = 0xFB
189
+ TILE_STAIRS_DOWN = 0xFC
190
+ TILE_STAIRS_DOWN_2 = 0xFD
191
+ TILE_STAIRS_END = 0xFE
192
+ TILE_STAIRS_END_2 = 0xFF
193
+
194
+ # OBJEKT-IDS
195
+ # -1: OBJEKTEORGANISATION
196
+ ID_BREAK = -1
197
+
198
+ # 00 - 04 = SPIELER
199
+ ID_PLAYER = 0x00
200
+ ID_PLAYER_FIGHTER = 0x01
201
+ ID_PLAYER_GUN = 0x02
202
+ ID_PLAYER_BERSERKER = 0x03
203
+ ID_PLAYER_BOMBER = 0x04
204
+ ID_PLAYER_MAX = 0x04
205
+ # 05 - 09 = GEGNER
206
+ ID_ENEMY = 0x05
207
+ ID_ENEMY_FIGHTER = 0x06
208
+ ID_ENEMY_GUN = 0x07
209
+ ID_ENEMY_BERSERKER = 0x08
210
+ ID_ENEMY_BOMBER = 0x09
211
+ ID_ENEMY_MAX = 0x09
212
+ ID_LIVING_MAX = 0x09
213
+
214
+ # 10 - 1F ANDERE OBJEKTE
215
+ ID_OTHER_OBJECTS_MIN = 0x10
216
+ ID_FIREWALL_1 = 0x10
217
+ ID_FIREWALL_2 = 0x11
218
+ ID_FIRE = 0x12
219
+ ID_HELP_ARROW = 0x13
220
+ ID_FISH = 0x14
221
+ ID_FISH_2 = 0x15
222
+ ID_TRASH_IDLE = 0x16
223
+ ID_FUSING_BOMB = 0x17
224
+ ID_TRASH = 0x18
225
+ ID_TRASH_2 = 0x19
226
+ ID_TRASH_3 = 0x1A
227
+ ID_TRASH_4 = 0x1B
228
+ ID_LEVER_DOWN = 0x1C
229
+ ID_LEVER = 0x1D
230
+ ID_LEVER_LEFT = 0x1E
231
+ ID_LEVER_RIGHT = 0x1F
232
+ ID_OTHER_OBJECTS_MAX = 0x1F
233
+
234
+ # 20 - 2F = EINSAMMELBARE OBJEKTE
235
+ ID_COLLECTIBLE_MIN = 0x20
236
+ ID_KEY = 0x20
237
+ ID_HEALTH = 0x21
238
+ ID_HEALTH_2 = 0x22
239
+ ID_STAR = 0x23
240
+ ID_STAR_2 = 0x24
241
+ ID_STAR_3 = 0x25
242
+ ID_POINTS = 0x26
243
+ ID_POINTS_2 = 0x27
244
+ ID_POINTS_3 = 0x28
245
+ ID_POINTS_4 = 0x29
246
+ ID_POINTS_5 = 0x2A
247
+ ID_POINTS_6 = 0x2B
248
+ ID_POINTS_MAX = 0x2B
249
+ ID_CAROLIN = 0x2C
250
+ ID_SPEED = 0x2D
251
+ ID_JUMP = 0x2E
252
+ ID_FLY = 0x2F
253
+
254
+ # 30 - 3F = ANDERE EINSAMMELBARE OBJEKTE
255
+ ID_MORE_TIME_2 = 0x30
256
+ ID_EDIBLE_FISH = 0x31
257
+ ID_EDIBLE_FISH_2 = 0x32
258
+ ID_MORE_TIME = 0x33
259
+ ID_SEAMINE = 0x34
260
+ ID_COOKIE = 0x35
261
+ ID_SLOW_DOWN = 0x36
262
+ ID_CRYSTAL = 0x37
263
+ ID_MORPH_FIGHTER = 0x38
264
+ ID_MORPH_GUN = 0x39
265
+ ID_MORPH_BOMBER = 0x3A
266
+ ID_MORPH_GRENADIER = 0x3B
267
+ ID_MORPH_MAX = 0x3B
268
+ ID_MUNITION_MIN = 0x3C
269
+ ID_MUNITION_GUN = 0x3C
270
+ ID_MUNITION_GUN_2 = 0x3D
271
+ ID_MUNITION_BOMBER = 0x3E
272
+ ID_MUNITION_BOMBER_2 = 0x3F
273
+ ID_MUNITION_MAX = 0x3F
274
+ ID_COLLECTIBLE_MAX = 0x3F
275
+
276
+ # 40 - 4F = EFFEKTE
277
+ ID_FX_MIN = 0x40
278
+ ID_FX_SMOKE = 0x40
279
+ ID_FX_FLAME = 0x41
280
+ ID_FX_SPARK = 0x42
281
+ ID_FX_BUBBLE = 0x43
282
+ ID_FX_RICOCHET = 0x44
283
+ ID_FX_LINE = 0x45
284
+ ID_FX_BLOCKER_PARTS = 0x46
285
+ ID_FX_BREAK = 0x47
286
+ ID_FX_BREAK_2 = 0x48
287
+ ID_FX_BREAKING_PARTS = 0x49
288
+ ID_FX_BLOOD = 0x4A
289
+ ID_FX_FIRE = 0x4B
290
+ ID_FX_FLYING_CAROLIN = 0x4C
291
+ ID_FX_FLYING_CHAIN = 0x4D
292
+ ID_FX_FLYING_BLOB = 0x4E
293
+ ID_FX_TEXT = 0x4F
294
+ ID_FX_SLOW_TEXT = 0x50
295
+ ID_FX_WATER_BUBBLE = 0x51
296
+ ID_FX_WATER = 0x52
297
+ ID_FX_SPARKLE = 0x53
298
+ ID_FX_MAX = 0x53
299
+
300
+ # MEHR IDS GIBT'S NICHT
301
+ ID_MAX = 0x53