Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - BananaDarras

Pages: [1]
1
Quote
As in SFML 1.6, you must use a sf::RenderWindow, not a sf::Window.

Thanks, I didn't know that you had to use sf::RenderWindow.

Quote
And how would you've deduced this? Did you're "intelligent" part of your IDE "tell" you this?

I am using VS2010 and it said the window.draw() didn't exist even when I tried to compile it, it ends up I had to use sf::RenderWindow instead of sf::Window. I didn't realize that  :-\

Thanks for the help.

2
Hi all! I was wondered how to draw sprites with SFML 2.0, as the window class does not contain a draw function like 1.6, and many tutorials for 2.0 say it does. Thanks.

Pages: [1]
anything