1
Graphics / Re: SFML 2.0 Drawing random colored shape
« on: October 12, 2013, 04:27:58 pm »
I just removed system("pause"), and it works fine.
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.
i don't see anything wrong so far...I've tried it before, and i learned that if i use sf::Color (nor from colorArray), it works.
colorArray is an array that you predefined with some sf::Colors, right?
try changing its line toblock.setFillColor(sf::Color::White);and let's see if it works.
Make sure you have a window.display() in your loop.Yes, i have.