D2 log 054 – Subtitles

Currently I’m working on the dialogs for the game. After watching some footage from Call of Duty: Black Ops Cold War, I knew I had to have subtitles just like that.

Here’s how it works: if a subtitle comes to an empty screen, it goes to the top line. The second one will go to the line below. Any following subtitles push the existing ones up; the top one disappears. After a short delay any subtitle simply fades out.

Getting this right was quite a challenge. It took me over 3 hours to figure out all the edge cases and make the animations robust enough to handle them. I had a lot of fun making this and I’m happy to have such a nice little system in the game.