🡸 RETURN

Captions Creator

A publicly available script which processes text in a SubRip format and uses it to generate captions/subtitles.

VISIT GITHUB PAGE →

{ INTRO }

PROJECT OVERVIEW

This project allows for Godot users to create and play captions in sync with voicelines during project runtime.

Text provided by the end user is processed and turned converted into an animation which displays dialog relative to timestamps.

(This was created as a by-product of Project Penelope.)

KEY FEATURES

  • 1

    Full user configuartion.

  • 2

    Forward compatibility.

  • 3

    Ease of use.

  • 4

    Comes with a python script for transcribing audio into SubRip format.

{ GALLERY }

Captions Showcase (Word)

A visual preview of the script instructed to animation the captions by word.

Captions Showcase (Letter)

A visual preview of the script instructed to animation the captions by letter.

Transcript

The transcript being used in the examples above.

Godot Template Script

An example script which creates all the visual nodes from scratch and begins displaying the captions.

{ OVERVIEW }

TECH STACK

  • Godot Engine
  • PyCharm (Python IDE)
  • Git

DEVELOPMENT CHALLENGES

String Parsing

Reading and interpreting the SubRip format file required reliable parsing to handle timestamps, text formatting, and line breaks.

Synchronization

Syncing caption display timing with audio playback demanded precise timing logic. Small discrepancies in frame updates or playback offsets could cause captions to drift, requiring careful testing and adjustment.

Ease Of Use

Designing the singleton to be easy to use required the use of clear function names, intuitive parameters and straightforward instructions on how to set it up.