Terminus Devlog Week 7
Trevor Redfern
Trevor Redfern
2 min read

Items Completed

So Much Stuff!

This is likely the most single productivity week on the project so far. I believe this is because enough pieces have started to come together and this is making it possible to start focusing on the work of connecting things together instead of just laying down foundation and building blocks.

Using and Equipping Items

There isn’t much yet on the UI for this functionality. There is the ability to define, equipSlots on the inventory that will be places that the character can attach their weapons, armor and other items. For now, this is only the Melee weapon slot and this is hardcoded to use the default sword provided to the character. The combat system is aware of this weapon and will utilize the appropriate skill and damage when making attacks with the weapon.

The other development was to provide a way to use and item. Using an item does not consume it yet, but it performs some action. When creating / describing a new item for the game, there will be the possibility of saying that the item is usable and specifying a handler for what should happen when the character uses the item. This is passed a dispatch function that can be used for updating the state with whatever action is appropriate.

Sounds and Graphics

A big development this week was to introduce some elements of sounds and some visuals to the map.

For sounds, there is some sounds played on hover and clicking on buttons. These sounds, are honestly, not very good right now. The volume is out of sync and the playback code is not well organized. This is resulting in some weird click sounds when rewinding sounds at inappropriate times. However, the key thing is that this is now in there which uncovered some better investments that could be made before introducing more sounds to the game itself.

For graphics, I have been taking some pixel art tutorials. Udemy The course from Udemy has been very informative. It’s short and too the point, but effective and easy to apply the concepts. In fact, it encouraged my to create the first concept art for the game!

Not how the game will look but something to get inspiration from. Concept Art

The output of this so far though, is some very rough floors and walls that help start to give some texture to the game. There is so much work to do on the graphical front, that it’s important for me to get started and make sure I’m investing at least a portion of each week into improving the visuals.

Final Stats

  • 104 Files Update
  • 2088 Additions
  • 366 Deletions
  • 97.244% Code Coverage

Test coverage went down, but with ~1700 new lines of code the drop was not that bad. Also, the majority of this drop was in game/ui/widgets/combat_map.lua from adding the new graphics to the game. Because that is all scratch code, there isn’t anything concerning to me in the numbers.

All the changes

Progress