16
Graphics / Unable to load images
« on: May 20, 2009, 02:42:09 pm »
In your project properties you should be able to change that.
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.
There are currently two workarounds:
- Use the static libraries of SFML
- Never use the default font, which means always passing a sf::Font to sf::String constructors
Quote from: "Hiura"or :But I think the other order is more intuitive, since the first frame you have to clear too - just as you don't need to clear the last frame. It's a detail, I know.
draw
display
clear
You have to use Clear before closing your window. Then, your next opened window won't have some waste from old instance.
Quote from: "Laurent"Yep, you probably have a USB joystickYou've got a nice crystal ball.
Unplug it and try again.
snake.push_back(new sf::Shape::Rectangle(100,100,200,200,sf::Color(0,0,255)));
Just In-cre-di-ble ! :shock:
It's beautiful .
And it's your first C++ project :shock: ?
* go sleeping :x *
Good luck for next!
And second, do never ever use global variables. I'd be fine if C++ didn't allow them.