SFML community forums

Help => Graphics => Topic started by: Luponius on April 27, 2013, 02:44:05 am

Title: Tile Engine - Image/Texture? What's best to use for sprites
Post by: Luponius on April 27, 2013, 02:44:05 am
I'm currently building the foundations for a working tile engine, prior to getting to develop more content to test with, and I'm stuck between 2 choices, Images and Textures.  Can someone explain what would be most appropriate.

Also I noticed sprites don't have a setImage anymore, or it was moved somehow, and setTexture has no intention of taking an Image since I see no overload to do that, how are we supposed to treat images, what are they there for?

Thanks =]
Title: Re: Tile Engine - Image/Texture? What's best to use for sprites
Post by: Nexus on April 27, 2013, 08:39:17 am
how are we supposed to treat images, what are they there for?
This is explained in the sf::Image documentation.

Also, there is almost weekly a thread about tile "engines"... Please search for older threads in the forum. Sometimes you get better results when you search via Google on this site.