286
SFML projects / Re: GIPE Framework
« on: November 19, 2013, 01:45:09 pm »
By the first, i'm creating list of images that will be in texture. Just by appending of image files. Than i can select colour wich will be converted to alpha channel if image has no transparent colour. Each image can be cropped from unused transparent lines. And the resulting image can be stored in texture with information of its previuos size or forget it. Before create texture program sorts images by Order, Size, Width and Height. And detects wich of way is better. Or you can select sorting way directly. Size of texture also can be determined automatically or by user. Then you just press Generate button with green arrow.
If not all of sprites are fit in texture there will be created another one, and another, and so on... Texture is saved as one solid binary file (.tex), where compression method of each texture is selected by user.
I'm so tired... You have to learn russian! =) By the way, all text in program is loaded from external language file, so it can be easily translated to any language. Like that:
If not all of sprites are fit in texture there will be created another one, and another, and so on... Texture is saved as one solid binary file (.tex), where compression method of each texture is selected by user.
I'm so tired... You have to learn russian! =) By the way, all text in program is loaded from external language file, so it can be easily translated to any language. Like that:
Code: [Select]
IDS_OUTPUT_FORMAT=Формат записи
IDS_RAW=Без сжатия (RGBA)
IDS_PNG=PNG (RGBA)