Advertisement
kbmonkey

Monster Mines Manual

Dec 28th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.10 KB | None | 0 0
  1. - - - - - - - - - - - - - - - - - - - - - - - -
  2. CONTENTS
  3. a. The Story
  4. b. How to play
  5. c. Credits
  6. d. Updates
  7. e. Known Bugs
  8. 1. Entering edit mode
  9. 2. Edit keys
  10. 3. Special tiles
  11. 4. Item placement and difficulty progression
  12. 5. Backing up your levels
  13. 6. Submitting your designs
  14. 8. Hacking guide
  15.  
  16.  
  17. - - - - - - - - - - - - - - - - - - - - - - - -
  18. a. THE STORY
  19.  
  20. You are an adventurer with two goals: first and not least, you are looking for riches! Second and as important, to rid the mines from monsters! Be wary, oh brave adventurer, for there are unimaginable horrors that lurk down there. May the gods be with you...
  21.  
  22.  
  23. - - - - - - - - - - - - - - - - - - - - - - - -
  24. b. HOW TO PLAY
  25.  
  26. Move around the dungeon with the arrow keys, the numeric keypad, or with vi keys (yuhjklybn).
  27.  
  28. Move on to items to pick them up, into doors to open them, into monsters to attack, and on to stairs to descend deeper into the mines.
  29.  
  30. If you made a bad move, and cannot reach the exit, press R to retry the level.
  31.  
  32. Swords and armour increase your attack and saving throws, keys unlock doors and you may [q]uaff potions to heal you.
  33.  
  34.  
  35. - - - - - - - - - - - - - - - - - - - - - - - -
  36. c. CREDITS
  37.  
  38. Much thanks goes to all these people and their free game resources for me to use.
  39.  
  40. "Thank You!"
  41.  
  42. TILES
  43.  
  44. Fantasy tileset by Jerom
  45. http://opengameart.org/users/jerom
  46.  
  47. SOUNDS
  48.  
  49. Impact by Iwan 'qubodup' Gabovitch
  50. Squeaky Rat by Iwan 'qubodup' Gabovitch
  51. http://opengameart.org/users/qubodup
  52.  
  53. Player death scream
  54. Michel Baradari
  55. http://opengameart.org/content/11-male-human-paindeath-sounds
  56.  
  57. RPG sound pack by artisticdude
  58. http://opengameart.org/content/rpg-sound-pack
  59.  
  60. MUSIC
  61.  
  62. Skin cells touch
  63. by Brandon75689
  64. http://opengameart.org/content/skin-cells-touch
  65.  
  66.  
  67. - - - - - - - - - - - - - - - - - - - - - - - -
  68. TODO
  69.  
  70. level 19 stairs need a door covering it.
  71.  
  72.  
  73. - - - - - - - - - - - - - - - - - - - - - - - -
  74. d. UPDATES
  75.  
  76. + Added mystical fog that hides anything out of sight.
  77. + bug 7.3 FIXED.
  78. + bug 7.7 FIXED. (mystical fog regression bug)
  79.  
  80.  
  81. - - - - - - - - - - - - - - - - - - - - - - - -
  82. e. Known Bugs
  83.  
  84. 7.1 FIXED Changing the player start position does not clear the previous start position.
  85. 7.2 FIXED Restarting a level keeps the health and items gained. They should revert to level first entry values.
  86. 7.3 FIXED Entering a level should trigger monster movement to toggle those in sight as visible.
  87. 7.4 Sound stutters when descending stairs if a door above the stairs is opened.
  88. 7.5 Background music stutters when descending stairs.
  89. 7.6 Monsters stack on top of another. No reliable way to detect monsters touching another that is not itself.
  90. 7.7 FIXED Fog obscured the win screen
  91.  
  92.  
  93. - - - - - - - - - - - - - - - - - - - - - - - -
  94. # Monster Mines level editor's manual
  95.  
  96. Monster Mines has a very basic level editor, but before you delve into this exciting world of level creation, I must warn you: Do not blame me if you lose your level. I cannot guarantee it is bug free. The best tactic I found is to backup your levels after editing each one, just in case. More info on backing up, below. If the manual does not explain anything particular, let me know and I will add it.
  97.  
  98. I hope you enjoy creating levels for Monster Mines, and sharing them with your friends!
  99.  
  100. signed,
  101. d34db33f
  102.  
  103.  
  104. - - - - - - - - - - - - - - - - - - - - - - - -
  105. 1. Entering edit mode
  106.  
  107. 1.1 You enter level edit mode by hitting 'e' 3 times. The level will redraw within edit mode, and once all the tiles are on screen you are ready to go.
  108.  
  109. 1.2 Tech Tip: Edit mode does not create any clone objects, tiles are blitted on screen to promote faster editing and avoid collision detection while it is not really needed.
  110.  
  111.  
  112. - - - - - - - - - - - - - - - - - - - - - - - -
  113. 2. Editor keys:
  114.  
  115. 1: Floor edit mode
  116. 2: Wall edit mode
  117. 3: Door edit mode
  118. 4: Item edit mode
  119. 5: Monster edit mode.
  120. 9: Player position mode.
  121. z,x: rotate the current tile.
  122. d: delete all items, doors, walls and monsters on the block under the mouse cursor. The floor is not deleted.
  123. f: if edit mode 1 (floors) is active, fill the level floor with the currently selected floor tile.
  124. left arrow: edit the previous level.
  125. right arrow: edit the next level.
  126. spacebar: place a tile, item, monster or player start position.
  127. r: reload the current level.
  128. g: You are prompted for the level number to Go to.
  129.  
  130. 2.1 Your current edit mode is shown in the gray square in the bottom left. It indicates the modes [F]loor, [W]alls, [D]oors, [I]tems, [M]onster, or Player (@).
  131.  
  132. 2.2 The top buttons CLEARs the current level (remove all items, floors, walls, doors and monsters), DISCARD any changes you have made, or SAVE the level.
  133.  
  134. 2.3 Try not to use a costume id that is more than the count of costumes. You will see a "please go back, that was the last costume" tile when you reached the end. Using tiles beyond this may break your level if more tiles are added later to the game.
  135.  
  136. 2.4 You may place a door tile on a floor tile. When the door is opened, the floor is revelead.
  137.  
  138. 2.5 Placing a door over a wall will remove the wall, and vice-versa.
  139.  
  140.  
  141. - - - - - - - - - - - - - - - - - - - - - - - -
  142. 3. Special tiles
  143.  
  144. Some tiles are decorative, while others have functions, which rely on the tile id / costume id. Here is a list of these special tiles:
  145.  
  146. 3.1 Floors
  147. 3.1.1 stairs down (1) and stairs up (2) trigger the loading of the next level if the player walks onto them.
  148.  
  149. 3.2 Walls
  150. All wall tiles blocks player or NPC movement. They are solid, as such unpassable room decorations fall into this list, like tables or water fountains.
  151.  
  152. 3.3 Doors
  153. All doors are opened if the player walks into them while carrying a key.
  154.  
  155. 3.4 Items
  156. 3.4.1 Key (1), inventory item, opens doors.
  157. 3.4.2 Potion (2), inventory item, quaff to heal.
  158. 3.4.3 Sword (3), increase player attack rating.
  159. 3.4.4 Armour (4), increase player defense rating.
  160. 3.4.5 Helmet (6), same as Armour.
  161. 3.5.6 Coins (10), gives player a random amount of treasure.
  162.  
  163. 3.5 Monsters
  164. Monster tiles are not hard coded to any particular id, instead the toughness of a monster is relative to it's costume id, thus costume 1 is a lowly rat, whereas costume 10 embodies the mighty skeleton warrior.
  165.  
  166.  
  167. - - - - - - - - - - - - - - - - - - - - - - - -
  168. 4. Item placement and difficulty progression
  169.  
  170. It is important to balance your levels well, your clients will feel frustrated if the monsters are too strong and a level cannot be beaten. Similarly a level that can be completed by running into each meanie without needing to heal once will get boring quickly.
  171.  
  172. One method is to build all your levels without adding any of the sword or armour bonus items or potions (section 3.4), and play the levels from the beginning. Once you fail a level twice in a row, you have come to a point to add a sword or armour bonus items.
  173.  
  174.  
  175. - - - - - - - - - - - - - - - - - - - - - - - -
  176. 5. Backing up your levels
  177.  
  178. Inside the project show the "LevelTemplates" list, right-click the list and choose "export".
  179.  
  180.  
  181. - - - - - - - - - - - - - - - - - - - - - - - -
  182. 6. Submitting your designs
  183.  
  184. If you think your levels stand up to a challenge, you may submit them to be included into the next Monster Mines version! Keep in mind that the levels you create need to follow on from the difficulty progression as the original game ended. You can't use new monsters or items you have added.
  185.  
  186. To submit your level, backup as explained in section 5 above and put it up on pastebin and pm me the link.
  187.  
  188.  
  189. - - - - - - - - - - - - - - - - - - - - - - - -
  190. 8. Monster Mines Hacking Guide
  191.  
  192. This guide gives insight for anyone wanting to hack their own fork of this "program". Foregoing a postmortem on my "code", which it is not really, I must admit that large projects with Scratch get unwieldy quickly. It was a very interesting task to create a simple graphical dungeon crawling game, but anything closely as ambitious will still be a daring task. yet for the benefit of those wanting to hack in new features, items or monsters, I give you this. Enjoy!
  193.  
  194. signed,
  195. d34db33f
  196.  
  197.  
  198. - - - - - - - - - - - - - - - - - - - - - - - -
  199.  
  200. 8.0 Adjusting player values
  201.  
  202. Player values are stored in global variables, namely:
  203.  
  204. health: player_hp
  205. attack power: player_ap
  206. defense poser: player_dp
  207. keys held: player_keys
  208. potions held: player_potions
  209. gold held: player_gold
  210.  
  211. Binding hotkeys to an inventory item is likely best on the Player object. It has a custom block to Heal(n) the player for your use.
  212.  
  213. 8.1 Level data value translations
  214.  
  215. Level templates are stored in a list, each level is a long string of characters, one character per tile. For this reason using a tile with a costume id over 10 (two digits), we translate values to representative values on save, and translate them back to numbers on load.
  216.  
  217. This is handled by the Stage's custom scripts ToHex and ToDec. At the time of writing they support up to 15 values, values over 10 translate to the familiar hexadecimal number system. If more items or monsters are added, whose costume id's go over this value, the ToHex and ToDec blocks needs expansion to cover more values. The entire rest of the alphabet is still available, for what it is worth.
  218.  
  219. 8.2 Adding new floors, doors and walls
  220.  
  221. Simply append them to the costume list, and move that last "please go back" sprite to the bottom of the new list. The logic already takes care of the rest for you.
  222.  
  223. 8.3 Adding new items
  224.  
  225. Similar to adding floors, and if you want the items to become inventory items for the player look at the "when I start as a clone" script on the Item object.
  226.  
  227. 8.2 Adjusting the monster difficulty curve
  228.  
  229. Look for the "when I start as a clone" script on the Monster object, it sets the HP and AP relative to the costume ID, so higher costumes are tougher monsters. If the order of monster costumes change, it will affect the existing levels.
  230.  
  231. 8.3 Adding new monsters
  232.  
  233. There are already 15 monsters, adding any more will make them very powerful, and probably not much fun to fight. First add the monster sprite as a costume of the Monsters object. Optionally then add attack and die sounds to the Monster's TakeDamage and DealDamage blocks. That is pretty much it, monster movement and collisions are already handled.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement