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

Pages: [1]
1
Window / Window Not Opening
« on: February 03, 2012, 06:27:13 am »
That's fine. xD

I'll find another way for the time being.

Thanks for the help. ;3

2
Window / Window Not Opening
« on: January 26, 2012, 06:46:54 am »
Oh, thanks for the info. <3

I was using 1.6 instead of 2.0 because I was nervous about potential instability issues...x.x

But...can I do a simple upgrade or do I have to uninstall 1.6 then install 2.0?

3
Window / Window Not Opening
« on: January 26, 2012, 06:10:38 am »
Nope, AMD Radeon HD. :3

4
Window / Window Not Opening
« on: January 26, 2012, 03:32:16 am »
It just sits there...>.<

5
Window / Window Not Opening
« on: January 26, 2012, 02:05:02 am »
Hello, I'm not sure what's wrong with this code because no window is opening up for me. xD

I'm also trying to open this up as a GUI application in SFML 1.6 & Code Blocks 10.05 if that helps. :)

Quote
int main()
{
    // Create the main rendering window
    sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Window");

    sf::Image SceneImage;
    if (!SceneImage.LoadFromFile("Image.png"))
    {
        return EXIT_FAILURE;
    }

    sf::Sprite Scene(SceneImage);
    // Start game loop
    while (App.IsOpened())
    {
        // Process events
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            // Close window : exit
            if ((Event.Type == sf::Event::Closed) ||
               ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape)))
            {
                App.Close();
                break;
            }
        }

        // Clear the screen (fill it with black color)
        App.Clear();

        App.Draw(Scene);

        // Display window contents on screen
        App.Display();
    }

    return EXIT_SUCCESS;
}

Pages: [1]