1
Graphics / Re: [Solved] Fade effect
« on: August 02, 2015, 07:41:54 pm »
Thanks for the input guys.
Havent't tried Thor out yet, will check it out sometime.
Havent't tried Thor out yet, will check it out sometime.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
What is "other stuff"? If it's window.clear(), that's good. However, nothing suggests that you're using window.display() after that draw.
Which OS?
If you are using sf::Keyboard::isKeyPressed(), it will always be continuous. window.setKeyRepeatEnabled() only effects events.
sf::Texture texture;
texture.loadFromFile("texture.jpg");
sf::Sprite sprite;
sprite.setTexture(texture);
sprite.setTextureRect(sf::IntRect(0, 0, 32, 32));
sprite.setPosition(100, 25);
window.draw(sprite);
QuoteCan't tell you about the examples as of now, since it looks like CodeBlocks forgot the library linking settings, so I have to redo the whole thing.The precompiled examples are provided in the SDK. You just have to run them.
OS? GPU? SFML version? Compiler?
Can you run any of the SFML examples?
QuoteAnd on a sidenote, the program thinks the image is 4294967228x4294967228 pixels big.Programs don't think. So where did you get these values from?