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
1
General discussions / Current port status?
« on: September 20, 2010, 03:12:39 pm »
Hope that come soon.

Thanks.

2
General discussions / Current port status?
« on: September 17, 2010, 06:21:06 pm »
Hi.

I want to know if the current version of SFML 2 is ported simultaneous for all OS: win, linx, mac os?

thanks.

3
Graphics / Getting sprite coords?
« on: August 27, 2010, 04:34:29 pm »
Yes thats exactly what i want to do, but i don't know hoy to get the 4 corners of sprite after it is rotate for example.

4
Audio / Rare behavior
« on: August 27, 2010, 04:06:54 pm »
We think that can be a problem releasing some thing, so we decide to report it.

So its a normal behavior?

5
Graphics / Getting sprite coords?
« on: August 27, 2010, 03:41:15 pm »
I don't think that works because, when I rotate for example 45 degrees the Sprite render surface with and height is not the same of the Sprite with and height.

6
Audio / Rare behavior
« on: August 27, 2010, 03:35:59 pm »
It does when I normal close the window.

7
Graphics / Overloading SetOrigin.
« on: August 27, 2010, 03:26:40 pm »
Hi

Here another doubt, as I say in my "Getting sprite coords?"

ege::Image inherit from sf::Sprite

I want to overload the SetOrigin method with some like this

SetOrigin(ege::HALIGN x, ege::VALIGN y)

but when I make this, I need to use the SetOrigin of the sf::Sprite (parent class).

What is the better way to make this?

8
Graphics / Getting sprite coords?
« on: August 27, 2010, 03:21:41 pm »
Hi.

We want to make some "game engine" or framework using SFML, we are beginners programmers on c++ and we will need the entire forum help.

So here is our first request for help.

We make a new class called ege::Image (ege is our namespace for Easy Game Engine), the image inherit from sf::Sprite and the purpose is to make more simple the use of a simple Image. Image have many methods to make the developer life better. One of this method is SetAlign, where the Image can align to screen or to other Image, the align can be LEFT, CENTER, RIGHT, TOP, MIDDLE, BOTTOM, we implement it basically using the Position of Sprite and the Size of it, but that not make a full align when image rotate for example, looking in SFML source code we saw that the method Render of sprite calculate the coords to render the Sprite, there is any way that we can obtain it, direct from sf::Sprite to make a better calculation, we need it for others features to.

9
Audio / Rare behavior
« on: August 27, 2010, 03:03:27 pm »
Hi.

Making some test with SFML 2 we found some rare behavior using soundbuffer.

When we make a soundbuffer declaration the program not return 0 at the end, it return some negative number.

Just making this:

Code: [Select]

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

    // 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();
        }

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

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

    return EXIT_SUCCESS;
}



I test it on Windows XP Sp3 32bits, Windows 7 32bits, using Codeblock and GCC compiler.

10
General discussions / Questions.
« on: August 25, 2010, 02:50:06 pm »
Thanks Tanks.

How old is SFML?

Its very rare that some good library no have any commercial product.

11
General discussions / Questions.
« on: August 24, 2010, 10:44:43 pm »
Hi people.

There are any good commercial product made with SFML?

There are any engine or framework under development or release with SFML?

12
Graphics / GL_INVALID_OPERATION?
« on: October 09, 2009, 03:12:40 pm »
Hi I have this error:

An internal OpenGL call failed in Image.cpp (779) : GL_INVALID_OPERATION, the specified operation is not allowed in the current state

when i use the sf::Font::GetDefaultFont  for the sf::String font.

I use the 1.35 version.

13
Graphics / What happen when....?
« on: October 07, 2009, 07:59:02 pm »
Thanks Laurent.

So I go to implement a render region of my entities, to check if I draw it or not for a better performance.

14
Graphics / What happen when....?
« on: October 07, 2009, 03:45:49 pm »
This calculation is performed by the Draw method? I mean if i no call the draw method no one calculation is performed for the Drawable object?

15
Graphics / What happen when....?
« on: October 07, 2009, 05:08:36 am »
Hi people.

I'm working in a game title with SFML, and I want to know some features of SFML.

Fisrt:

What happen when any Drawable object is out of screen or camera view?

Its is rendered and calculated or not?

When is out the SFML version 2?

Thanks.

Pages: [1] 2
anything