I use code::blocks with SFML. ... Load the image to an sf::Texture 3. Set the texture to an sf::Sprite 4. window.draw( sprite ); Example: ...
確定! 回上一頁