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

Pages: [1]
1
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 26, 2012, 04:32:20 pm »
i want to use a cut scene in my game project !
so .. i want to play it when i run the project .. while the game is not running !
then i want to close that video after it done .. and then run the game !
how can i do that ??

2
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 26, 2012, 04:13:12 pm »
Thanks a lot Ceylo :D
it is now WORKS Perfectly :) :)
Thanks Again :)
----------------------------------------------------------------
there is a new problem here :(
movie.close();

"sfe::Movie::close" (declared at line 241 of "C:\sfml2\include\SFML\Movie.h") is inaccessible

it can't see the close() method ! .. i don't know why ! :( :(
although .. Movie.h is accessible and exists in that folder !
can you help me in this please ??

3
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 24, 2012, 05:18:08 pm »
Thanks Ceylo :D
i know of course :P
but .. please work hardly on it as you can :)
it is important for me please :)
thanks again ^^

4
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 24, 2012, 02:06:53 pm »
ok Thanks a lot Ceylo :)
but .. opps !
the next weekend !? :( :(
i'll go for an exam with my project next Saturday :(
so .. i need to complete my whole project with the video before Saturday morning !
so.. if you could please look at that problem & done it on Friday ??
Thanks again :D

5
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 24, 2012, 01:17:13 pm »
Hello Ceylo ..
i've downloaded the compiled version .. Windows (Visual C++ 2010)
i'm using SFML 2.0
on Windows 7
and this is my code ...

int main()
{
    sf::RenderWindow window(sf::VideoMode(640, 480), "sfeMovie Player");
    sfe::Movie movie;

    // Open movie file for reading
    if (!movie.openFromFile("video.ogg"))
        return 1;

    // Scale the movie drawable to fit the window and start the playback
    movie.resizeToFrame(0, 0, 640, 480);
    movie.play();

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

        window.clear();
        // Render the movie, the images and sound are updated in the background
        window.draw(movie);
        window.display();
    }

    return 0;
}
----------------------------------------------------------------------------------------------------------------------
when running in debug mode .. and start without debugging (Ctrl + F5)
it says the following error :
Debug Error !

R6010
- abort() has been called
(Press retry to debug the application)

6
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: May 24, 2012, 12:53:59 pm »
Hello Ceylo ...
I'm Having a problem in running sfe-movie :(
i made everything .. every step ..
and it successfully running in Release Mode
but .. while running in Debug Mode .. it displays this error !

Unhandled exception at 0x7548b9bc in Project.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0039ef84..

when i press Continue .. this appears :
Project.exe has triggered a breakpoint

when i press Continue again .. this appears :
Unhandled exception at 0x6b1f20c4 in Project.exe: 0xC0000005: Access violation writing location 0x694bc7ec.

any help on this problem .. ?

7
General / Re: Hello ... Need Help here in rotation :(
« on: May 18, 2012, 11:45:10 am »
thanks for replying :)
i know rotate() method !
but here how i use it ..
sprite.rotate(0.5);
where 0.5 is the ratio of increasing in angel !
is that it ?
if so ... how can it stop untill it reachs my angle ?

8
General / Hello ... Need Help here in rotation :(
« on: May 18, 2012, 11:13:43 am »
Hello Every One ..
i want to ask ... how can i rotate my sprite to a certain theta (angel) ?
for example ..
if the sprite is at angel 0
and the certain angel is 60
i want the sprite to rotate untill it reaches 60 degree
how can i make that !? ... please help ! Thanks a lot
note : i'm using SFML 2.0

Pages: [1]
anything