i want to make a program that will make a pcture (gif picture) appear on the screen, like some cracks from razor 1911 do it.
I know a only a little bit about programming in C++, so I preffer it in C++
sory for bad spelling*
Depends on what library you're using
If you go with SFML, the code would look something like:
[cpp]sf::RenderWindow App(sf::VideoMode(Width, Height), "Title");
/* some code */
sf::Image myImage;
myImage.LoadFromFile("file path");
sf::Sprite imageSprite;
imageSprite.SetImage(myImage);
/* some more code */
App.Draw(imageSprite);
/* and more code */[/cpp]
Haven't tested, just wrote it here
Hope that helps some
Sorry, you need to Log In to post a reply to this thread.