Just finished section 10 of my course. While working through the code, I ran into a snag:
JelloStorm.cpp: In function ‘int main()’:
JelloStorm.cpp:121:13: error: ‘class sf::Text’ has no member named ‘setFillColor’
I triple checked with the instructor videos, and the instructor’s source code, and he put “setFillColor”. However, I couldn’t make that work like that. Perhaps it is due to an older version of SFML being used in the course than what I’m using now.
Fortunately, fixing the issue was easy:
The setFillColor attribute still works for rectangle shapes and what not, but not for text. For text, you just use “setColor”.
I love it when a problem is simple! Check out the whole commit, and the new Heads Up Display on my GitLab!
Linux – keep it simple.