Not logged inOpenClonk Forum
Up Topic General / Help and Questions / Graphic png files naming
- - By DaFatBrainbug Date 2018-04-11 16:01 Edited 2018-04-11 16:30
Many of the object graphic files use this format: Graphics*.*.png
Where the second * seems to be a random number, but most of the time it's 4 or 8.
Is this documented anywhere? The wiki only talks about Graphics*.png/Overlay*.png

Edit: Ok, this must be the zoom factor. But can't remember if I read this somewhere.
Reply
Parent - By Clonkonaut Date 2018-04-11 17:00
Yes, this is the zoom factor. Not sure if the documentation talks about this, though.
Reply
Parent - By K-Pone [de] Date 2018-04-11 20:05
Yep, the first * is the Graphics name used for SetGraphics and the other one is the zoom factor as Clonkonaut already said. I think I also read this somewhere, but I doubt it was in the documentation. Might also be that it was someday when I asked in the #openclonk-dev IRC channel.
Parent - - By Caesar Date 2018-04-12 00:42
I tried documenting it. I hope I got that right.
Parent - - By DaFatBrainbug [de] Date 2018-04-12 09:00
Very nice.
I would add something along the lines of:
"The zoom-factor of the graphics.*.png will affect the width and height values in the DefCore and ActMap. Those will be divided by the zoom-factor to result in ingame values. Vertex positions in the DefCore will be based on the divided value instead of the undivided ones."
Cause this is a little confusing.
Reply
Parent - - By Marky Date 2018-04-12 20:06
How about: X pixels in Graphics.X.png equates to one pixel in a file without zoom factor?
Parent - By DaFatBrainbug Date 2018-04-12 22:23
... this applies to following values:
...

I'd like that.
Reply
Up Topic General / Help and Questions / Graphic png files naming

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill