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

Pages: 1 [2]
16
SFML projects / Orx - 2D-oriented, data-driven game engine
« on: August 23, 2009, 12:11:35 am »
The site is down at the moment, but it will be back soon, some problem with dns, irwain told me that.

17
SFML projects / Orx - 2D-oriented, data-driven game engine
« on: August 21, 2009, 09:02:05 pm »
Thats appear to be really good, thanks for the info. ;-)

18
General discussions / Is good enough?
« on: August 11, 2009, 06:17:52 am »
I think the point of Core Xii is not making a critize of SFML but triying to get better SFML with some issues.

19
Graphics / Blur effect
« on: June 10, 2009, 05:59:51 pm »
Thanks for you patient, i found it, really thanks.

20
Graphics / Blur effect
« on: June 10, 2009, 12:59:59 am »
Sorry, maybe I'm too stupid to find that, I look on forums and docs, and tutorials and really I don't find any thing about how to make a Blur effec, I download the entirely SKD for windows and nothing.

21
SFML projects / Porting SFML to others platforms?
« on: June 10, 2009, 12:38:06 am »
The developers have the proposal to port the SFML to others platforms like iPhone, PSP, PlayStation, Xbox or others?

22
Graphics / Blur effect
« on: June 09, 2009, 11:55:22 pm »
Please, can you tell me where I can found the blur example?

23
Graphics / Blur effect
« on: June 09, 2009, 11:40:50 pm »
Oh, yes that function it's very helper, but the problem is that I don't know how to make the effect can help me please?

24
Graphics / Blur effect
« on: June 09, 2009, 09:11:26 pm »
Have another question?

How i can make a blur effect of my entirely screen?

25
Graphics / Using sprite problem.
« on: June 09, 2009, 05:02:13 pm »
I found the problem i not put the SFML_DYNAMIC on the #defines configuration.

If the code have problem so the tutorials code have problem too, because I copy and paste the code to test it, thanks for the help.

26
General discussions / Is good enough?
« on: June 09, 2009, 04:34:11 pm »
Hello.

It's SFML good enough for comercial games like Stacraft and diablo 2?

Some people make casual games with it? and try on others plaftorms like linux and mac?

27
Graphics / Using sprite problem.
« on: June 09, 2009, 04:32:13 pm »
Hello I'm new here.

Im using Code:Blocks on windows with lastest SFML. I testing and triying the tutorials expamples.

I have a complire error is this:

Code: [Select]
||Info: resolving vtable for sf::Spriteby linking to __imp___ZTVN2sf6SpriteE |
main.cpp||variable 'vtable for sf::Sprite' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
main.cpp||variable 'vtable for sf::Sprite' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.|
||=== Build finished: 2 errors, 0 warnings ===|



and the code is this:


Code: [Select]

#include <SFML/Graphics.hpp>



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

    sf::Image image;

    if (!image.LoadFromFile("data/images/main.png"))
    {

    }

    sf::Sprite Sprite;
    Sprite.SetImage(image);

    Sprite.SetColor(sf::Color(0, 255, 255, 128));
    Sprite.SetPosition(200.f, 100.f);
    Sprite.SetScale(2.f, 2.f);



    // Start game loop
    while (App.IsOpened())
    {
        /// Process events
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            // Close window : exit
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }

        // Get elapsed time
        float ElapsedTime = App.GetFrameTime();

        // Move the sprite
        if (App.GetInput().IsKeyDown(sf::Key::Left))  Sprite.Move(-100 * ElapsedTime, 0);
        if (App.GetInput().IsKeyDown(sf::Key::Right)) Sprite.Move( 100 * ElapsedTime, 0);
        if (App.GetInput().IsKeyDown(sf::Key::Up))    Sprite.Move(0, -100 * ElapsedTime);
        if (App.GetInput().IsKeyDown(sf::Key::Down))  Sprite.Move(0,  100 * ElapsedTime);

        // Rotate the sprite
        if (App.GetInput().IsKeyDown(sf::Key::Add))      Sprite.Rotate(- 100 * ElapsedTime);
        if (App.GetInput().IsKeyDown(sf::Key::Subtract)) Sprite.Rotate(+ 100 * ElapsedTime);

        // Clear screen
        App.Clear();

        // Display sprite in our window
        App.Draw(Sprite);

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

    return EXIT_SUCCESS;
}




Can any one help me ?

Pages: 1 [2]