C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
34 stars 9 forks source link

Main Menu - Render Text in-Game Instead of in-Art #299

Open QuintillusCFC opened 2 years ago

QuintillusCFC commented 2 years ago

Currently, our equivalent of x_title.pcx has the art included in it. This is similar to Civ. But that means the text gets distorted as the aspect ratio changes, and most importantly the version (e.g. Carthage Preview 1) is part of the art and thus we always need to update the art to update that. This is a bit of maintenance with each release, more so than if it was text-modifiable.

Not a huge priority, but if there's a nice way to render pleasing-looking text in Godot, this would be nice to have. It might even be fancier than what I've done so far in Krita, which doesn't have as fancy of fonts as my Civ3 backgrounds from years ago.

This could be done just for the version first, as a first step.

Sean-Brown commented 9 months ago

What exactly is our equivalent of x_title.pcx? Is that a file in our project, or is it a function somewhere?

WildWeazel commented 9 months ago

The image is C7/Art/Title_Screen.jpg and loaded from C7/MainMenu.cs. There should probably a scene containing the background, title/logo, and any footer, diplayed behind the main menu itself.