Some questions about licenses

I’m going to chunk my version lol.

WARNING:RENDER: Out of text-render buffer 8192. Modify the graphics.max_characters in game.project.

2 Likes

Little wonder - there are now about 38000 chars on 12 pages at 10 pt. Double than before - Devs, what did you do? :sob:
I’d love to keep this stuff in one scrolling page and thought about using pngs. If this doesn’t look good:

Using textures seems a bit overkill.
I’d use a couple of labels that I either scroll upwards, or fade in/out.
E.g. store the licenses in a licenses.json and grab them one by one.

2 Likes

Morning @Mathias_Westerdahl - that’s a great idea.
It’s a gui scene, so no labels, but text nodes. But your suggestion should work with them as well. Thank you!
P.S: if a text node is disabled - would the text it contains count towards the graphics.max_characters? Just curious.

No, only the rendered text are counted.

1 Like

You can do a scrolling page without increasing the max chars total if you stream the character lines in as you scroll. It will be a little more complicated than chunking. RichText can help you break the text into lines.

1 Like

Hello @Pkeod. this is a very good suggestion as well. I think, I should be able to do this :nerd_face:
If not, I’ll blatantly copy your solution - if you don’t mind.

1 Like

Sorry @Mathias_Westerdahl , another question for you:

So, text hiding behind a stencil shouldn’t count either towards the graphics.max_characters (is it not rendered, is it?)

Sorry, with “rendered” I meant if the component/gui node is enabled.
So, if the object is still rendered behind a stencil, it will still count towards the max characters.

2 Likes

No need to be sorry @Mathias_Westerdahl and thank you. There’s my grand plan, dead in the water. I’ll do some coding, then.

1 Like

A lot of thanks for your answers an lively discussion about.

I have made a link in my app to web site with all licenses
and I have placed licenses.txt file with all licenses into custom resources folder and it will be delivered with application.

From my opinion, the placing of licenses.txt file fulfils the DEFOLD license agreement according with

Put the license and notice in a text file and include it with the distribution of your application

Again: a lot of thanks
and I wish all of you
Merry Christmas and Happy New Year.

3 Likes

Merry Christmas and Happy New Year to you, too!
I am grateful that you have started this topic that has brought up an important issue.

1 Like