Hello everyone! My University work is finally done (hooray!), which means Claustrophobia now has my full attention.Gear Generation
Randomly generated gear was a massive part of V1, but it lacked much of the item depth that I really wanted to get into the game. An item was only considered “better” than another piece if it had a higher value for your character’s single base stat, which not only made gear progression fairly boring, but also made Plate armour almost always the best choice, due to the high Armour Rating.
This time, gear generation is much deeper, partly due to the changes and additions to base stats, but mostly due to item properties. Item properties modify all sorts of things, from elemental damage, critical strike chance, increased gold find, lifesteal, chance to cause status effects, etc. The finished game will have a large number of different item properties, ranging from common stat modifiers, to unique passive abilities, such as summons and spell effects. The generator has an already massive selection of rules on how items should be created, based on the item type, spawn level, rarity, and base stat type. Here is an example of a selection of level 10 items:
Stat values are yet to be balanced (that staff for example, has waaaay too much damage. Then again, it is “The Devourer”…), but this gives you an example of the sort of thing to expect. I’ve seen some absolutely ridiculous level 50+ legendaries generated with 10 or more properties, which just made me happy. I have some great ideas for new properties too.Visual Equipment
Of course, tonnes of gear would not be fun unless your character is running around wearing it! So of course, visual equipment returns:
Once again, graphics pictured here subject to change! While working on this system, I also decided to trial something that was not possible in V1 due to the limitation of the sprite size: visual weapons. While they would not be animated due to lack of time and artistic skill on my behalf, they do, in my opinion, look pretty cool, and they just add a little bit more to character customization as a whole.
I do have one issue however - how they should be displayed. Due to the nature of Claustrophobia’s sprites, the player will always be locked in the “standing” stance pictured above. This causes a couple of problems when it comes to lining the weapons up to the player’s hands. For example:
In option 1, a natural position is used, which unfortunately covers the player’s face when facing right or dual wielding. In option 2, the weapons are kept away from the face, but the positioning is unnatural. So, I’d like to know everyone’s opinion on this. Should I:
Saving and Loading
- Not show weapons (easiest, but no weapon graphics :’( )
- Use Option 1 (natural, obscures face)
- Use Option 2 (no obstruction, unnatural)
- Angle the weapons vertically (I also tried this, but I felt the weapons were to close to the body. Also wouldn’t really work with bows…)
- Something else? (any better ideas?)
Finally, the majority of the code for saving and loading the game has been written. Since the new engine is structured in a much nicer way, there shouldn’t be any of the weird loading oddities that V1 suffered (I’m looking at you teleporting doors). Once again I’m using XML, but I’ll need to look into encrypting everything this time. The new system will also allow multiple save files.