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

Author Topic: Thank You  (Read 2433 times)

0 Members and 1 Guest are viewing this topic.

Ivan

  • Newbie
  • *
  • Posts: 32
  • IT geek
    • View Profile
Thank You
« on: April 30, 2013, 11:28:09 pm »
Hi, I just discovered SFML some weeks ago and I still learning this great API.
Today I have seen the new website and downloaded the final 2.0 release. It looks awesome. Thank you Laurent for your work.

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Hello SFML forum");

    sf::Text message;
    sf::Font font;
    if (!font.loadFromFile("Font1.ttf"))
        return EXIT_FAILURE;

    message.setString("Hello SFML forum users, I'm Ivan");
    message.setFont(font);
    message.setCharacterSize(16);
    message.setColor(sf::Color(255, 255, 0, 255));
    message.setPosition(sf::Vector2f(20, 20));

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed ||
                event.key.code == sf::Keyboard::Escape)
                window.close();
        }

        window.clear(sf::Color::Black);
        window.draw(message);
        window.display();
    }

    return EXIT_SUCCESS;
}

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Thank You
« Reply #1 on: May 01, 2013, 09:14:45 am »
Thank you for your thank you :D
Laurent Gomila - SFML developer

AB

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Thank You
« Reply #2 on: May 01, 2013, 11:11:02 am »
I agree. SFML 2.0 is awesome and the tutorials are very good as well.

BaneTrapper

  • Full Member
  • ***
  • Posts: 213
  • Do you even see this, i dont need it.
    • View Profile
    • Email
Re: Thank You
« Reply #3 on: May 01, 2013, 06:26:43 pm »
SFML 2.0 just got pimped Laurent Gomila style!
I like it so much.
BaneTrapperDev@hotmail.com Programing, Coding
Projects: Not in development(unfinished/playable):
http://en.sfml-dev.org/forums/index.php?topic=11073.msg76266#msg76266
UP and in Development: The Wanderer - Lost in time
http://en.sfml-dev.org/forums/index.php?topic=14563.0