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

Pages: [1]
1
General / What is wrong?
« on: May 01, 2010, 06:11:30 pm »
Hi I have one problem, I use Pong(from tutorial source codes) as example and on my computer it works fine but on my laptop I get this message:
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
I use Visual Studio, and I put all sprites in folder where is game. So how to solve this problem.

2
General / Help
« on: March 14, 2010, 11:17:29 am »
Hi! I haven't made my game yet, but I want ask one thing how to make application just like console in c++.I use Pong code from SFML samples and debug it but when I open application window disappear after few seconds. That problem in c++ console application I solve with command getchar(),but how that solve in SFML.If you didn't understand me here is video.
Sorry on my English.

http://www.youtube.com/watch?v=AzloDqPuYuU

3
General / What now ?
« on: January 20, 2010, 05:57:56 pm »
Hi until now I learn SFML from tutorials now when I finish with them what now ?
Sorry this is first API which I learn so should I learn from documentation,SFML wiki tutorials or something else ?

4
Graphics / Graphics
« on: November 22, 2009, 05:23:42 pm »
Code: [Select]
#include<SFML/Graphics.hpp>
int main()
{
   
    sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
   
    while (App.IsOpened())
    {
       
        sf::Event Event;
        while (App.GetEvent(Event))
        {
           
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }

       
        App.Clear();

        App.Display();
    }

    return EXIT_SUCCESS;
}

I write this code and I get this http://i46.tinypic.com/o7j7a1.jpg
what is wrong???

5
Window / Event
« on: November 14, 2009, 09:34:11 pm »
Hi! I'm new here and I need help I start with tutorials
Now I working with event handling
Code: [Select]
#include<SFML/Window.hpp>
int main()
{
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
bool Running=true;
while(Running)
{
App.Display();
}
while (App.IsOpened())
{
    sf::Event Event;
    while (App.GetEvent(Event))
    {
        // Window closed
        if (Event.Type == sf::Event::Closed)
            App.Close();

        // Escape key pressed
        if ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
            App.Close();
    }
}
return EXIT_SUCCESS;
}



when I compile and build code I get window but when I press Esc or X it can't close window
sry on my english I hope that you understand me

Pages: [1]
anything