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 - Fred_FS

Pages: 1 2 3 [4]
Graphics / RenderWindow Not Displaying
« on: April 08, 2011, 01:31:17 am »
Maybe you should try to update your graphics card driver.
If you did somthing wrong your game would probably don't start at all, but give you some errors.

Graphics / RenderWindow Not Displaying
« on: April 08, 2011, 12:06:48 am »
Are there any build errors or linker errors? Maybe you can show us some code.
Without any further information it's difficult to help you.

Graphics / Runtime failure at Draw()
« on: April 07, 2011, 06:52:29 pm »
make sure, that you're calling SplashState::Init() before drawing the scene for the first time(The ctor doesn't).
But I wonder, why you create your sprite in such a weird way.
I would prefer:
Code: [Select]

m_Background = new sf::Sprite( *image );

Make also sure that the image exists all the time. SetImage expects a reference to an sf::Image. So if getResource is only loading the image and don't save a copy of it, your application will crash probably ;).

Pages: 1 2 3 [4]