nielssp.dk

Arq Devlog #12: Mobs, combat, and various other game mechanics

Previous: #11: Various graphical updates

Since devlog #11 I've been working on various game mechanics. I'm slowly making progress but there's just so much to do. I was thinking of splitting this into multiple devlogs, but in an effort to get an update out I'm just going to go ahead and dump some screenshots and videos to showcase some of the mechanics I've implemented.

At this point I've managed to implement most of the mechanics necessary for a basic hack and slash dungeon crawl type game. So far a character consists of:

  • Player level and XP
  • Attributes: Strength, endurance, spirit
  • Derived attributes: Health (based on endurance), energy (based on spirit)
  • Skills: Blades, magic, archery, staves, spears, etc. Each skill has level and XP
  • Abilities: Slash, stab, magic missile, etc.
  • Equipment: Weapon, shield, various armor pieces, etc.
Bars
Player level, health bar, energy bar, and current target.

Abilities can be assigned to the number keys and are used when attacking mobs. Different abilities have different requirements. The “Slash” abilitiy for instance requires a weapon that can deal slash damage, such as a sword:

Sword
Sword stats.
Fighting a goblin using the slash and stab abilities with a sword.

It's probably clear at this point that I'm not using any of the fonts I described in devlog #7. I tried to use them initially but was just not satisfied with how they looked. Instead I looked through Google Fonts and ended up using Fondamento which I think looks good and fits the game well. It's also easy to read, even at small sizes.

Aside from melee I've also implemented archery and magic:

Using bow and arrow.
Using magic.

Some mobs are aggressive and will attack the player on sight:

Fighting an aggressive demon.

Next: #13: NPCs, scripting, and UI

Comments