Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
SFML [2.0] Lot of images in one file
Print
Pages: [
1
]
Author
Topic: SFML [2.0] Lot of images in one file (Read 1322 times)
0 Members and 1 Guest are viewing this topic.
Dawidsoni
Newbie
Posts: 6
SFML [2.0] Lot of images in one file
«
on:
November 17, 2012, 05:41:48 pm »
Can I save a lot of images in one file?
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: SFML [2.0] Lot of images in one file
«
Reply #1 on:
November 17, 2012, 05:58:27 pm »
Can you ask in a more precise way?
You can extract different objects in your image when you specify texture rects. Take a look at
sf::Image
and
sf::Texture
.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Dawidsoni
Newbie
Posts: 6
Re: SFML [2.0] Lot of images in one file
«
Reply #2 on:
November 17, 2012, 06:19:18 pm »
I have a computer program, which loading lot of images from file and use them to create a map to game. I save all map information except images. I want to save them with everything in one file.
Logged
eigenbom
Full Member
Posts: 228
Re: SFML [2.0] Lot of images in one file
«
Reply #3 on:
November 17, 2012, 11:25:18 pm »
Use zlib to zip everything.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
SFML [2.0] Lot of images in one file
anything