I’m back with some news on the development made on days 2 and 3. There was a lot code refactoring done so there are not many new features to show but at least the code is looking better and it’s easier for me to work on it now. The video below shows the current state of the game.
The first change was the implementation of a text renderer using a variable-width font. I chose to use the 8×8 font created by Oddball on Assemblee Part 1 and it looks really good in game.
I also implemented a basic user interface including a health indicator and the player inventory. The health indicator works like those present in games like Ultima Underworld or Diablo and provides the player a quick estimate of his health. For those who want to know the numbers, a tooltip showing the current and maximum health appears when the mouse cursor is over the indicator. The nice big potion used on the indicator comes from Arachne’s assets that includes empty and filled versions of the potion.
Finally, the player inventory is represented by the empty slots on the bottom of the screen. It’s not functional yet since I have to implement some items first but at least the tooltips are showing correctly.
And that’s it for this update. My next planned steps now are:
- Implement items and inventory interaction.
- Implement monsters.