Not logged inOpenClonk Forum
Up Topic 14 months, Christmas and the like.

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Luchs
I tried recreating the credits image with C4GUI now. Turns out there's plenty of space if you don't try to fit on 800x600 screens :)

Some issues with that solution:

- C4GUI::TextWindow first does line breaks, then applies formatting. This sometimes breaks the color tags.
- Aligning the titles properly is hard. I may have to hard-code the text width. (They are currently aligned relative to the largest title line in the image file.)
- The original credits image had tons of text shadow to make everything readable. This doesn't seem to be possible with in-game text rendering. I enabled the standard grey background instead, but that doesn't look great.
- C4GUI::TextWindow scrolls the title image together with the text which isn't quite what we want here. Not too bad though as everything seems to fit without scrolling on standard text sizes.

Code: https://github.com/openclonk/openclonk/compare/master...lluchs:c4gui-credits

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill