Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented Jan 13, 2026

Previously all the credits data was embedded into credits.tscn. This made it
hard to edit.

This scene also duplicated the Control structure for studios & teams within
studios, which is error-prone and hard to maintain if we want to adjust margins
etc.

Break the Control structure up into this hierarchy:

credits_list.tscn
+ credits_studio_view.tscn
| + credits_team_view.tscn
| + credits_team_view.tscn
| + ...
+ credits_studio_view.tscn
| + credits_team_view.tscn
| + ...
+ ...

Add a small addon that defines resource types for the data to populate this
hierarchy, and an EditorImportPlugin to import the list of studio members from a
CSV to this representation.

The point of using a CSV rather than storing the data directly in a resourceis
that a CSV can more easily be edited in a spreadsheet tool or text editor; I
first tried using arrays of resources directly but they are very tedious to edit
in Godot.

Move all the credits data from the scene file to a mixture of CSVs and
resources.

Resolves #1782

@github-actions
Copy link

Play this branch at https://play.threadbare.game/branches/endlessm/credits-redux.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@wjt
Copy link
Member Author

wjt commented Jan 13, 2026

@wjt wjt force-pushed the credits-redux branch 2 times, most recently from a9226f6 to a990f52 Compare January 13, 2026 14:07
@wjt
Copy link
Member Author

wjt commented Jan 13, 2026

@wjt wjt force-pushed the credits-redux branch 2 times, most recently from fca9a22 to a42c77e Compare January 13, 2026 15:20
@wjt wjt marked this pull request as ready for review January 13, 2026 15:34
@wjt wjt requested a review from a team as a code owner January 13, 2026 15:34
@wjt wjt changed the title Credits: Move data out of scene file to TSVs & resources Credits: Move data out of scene file to CSVs & resources Jan 13, 2026
wjt and others added 3 commits January 14, 2026 08:08
Zed really wants to do this.
These are written by Godot, not humans.
Previously all the credits data was embedded into credits.tscn. This made it
hard to edit.

This scene also duplicated the Control structure for studios & teams within
studios, which is error-prone and hard to maintain if we want to adjust margins
etc.

Break the Control structure up into this hierarchy:

   credits_list.tscn
   + credits_studio_view.tscn
   | + credits_team_view.tscn
   | + credits_team_view.tscn
   | + ...
   + credits_studio_view.tscn
   | + credits_team_view.tscn
   | + ...
   + ...

Add a small addon that defines resource types for the data to populate this
hierarchy, and an EditorImportPlugin to import the list of studio members from a
CSV to this representation.

The point of using a CSV rather than storing the data directly in a resourceis
that a CSV can more easily be edited in a spreadsheet tool or text editor; I
first tried using arrays of resources directly but they are very tedious to edit
in Godot.

Move all the credits data from the scene file to a mixture of CSVs and
resources.

Resolves #1782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor credits page

2 participants