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

Pages: [1]
1
General / Help with definition in c++/SFML
« on: November 18, 2016, 03:21:53 pm »
Hello,

I have a question. How can I make a definition? I know I'm a beginner xD. For example. I want to make

#include <SFML/Graphics.hpp>

void example(){
  //HELP
}


int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);                     //that should be in the definition
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}

2
System / News about Android/IOS ?
« on: November 07, 2016, 09:58:55 pm »
Are they any news about android or ios ?

Quote
With SFML, your application can compile and run out of the box on the most common operating systems: Windows, Linux, Mac OS X and soon Android & iOS.

Pages: [1]
anything