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.


Topics - Azurus

Pages: [1]
1
Graphics / Overlaying Images
« on: October 09, 2011, 07:40:41 am »
I have a single background image and then images that would go in front of the background. The problem is, that when I display the background and the other image, the images seem to be a little messed up. Some lines aren't straight as they should be and it looks like the second image was first cut out using paint.net's magic wand. (Using SFML 1.6 here)

Is there any way to fix this? I'm using two images and sprites each and drawing one right after the other and then displaying the window.

2
Window / Splash Screens?
« on: September 19, 2011, 12:27:23 am »
I want to hide the Minimize/Maximize/Close buttons as well as disable doing the same thing from the task bar temporarily for a splash screen. Is this possible? If so, how?

Currently, the part of my SplashScreen class is this:
Code: [Select]

void SplashScreen::Show(sf::RenderWindow& window)
{

sf::Image splash;
if(splash.LoadFromFile("images/PongSplash.png") != true) //Check if it's valid, if not, skip over the splash screen completely.
return;

window.Close();
window.Create(sf::VideoMode(splash.GetWidth(), splash.GetHeight()), "Pong!");

sf::Sprite sprite(splash);

window.Draw(sprite);
window.Display();
//Code to loop and close screen here
}

Pages: [1]