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

Pages: [1]
1
General / Rotation According To Joystick Direction
« on: June 23, 2013, 10:51:14 am »
I am referring to SFML2 and I was wondering if It were possible (if so how) to make it where the sprites rotation is changed based on joystick direction (for example if I were to move the left stick somewhere between up and right, it would match that angle) or something kinda like it where is detects where the joystick direction is and sets it rotation here like if my stick was between down and left it would be 45 degrees.

2
General / Procedure Entry Point Issue
« on: June 22, 2013, 10:04:39 am »
I am using SFML 2.0
I am also using Code::Blocks 12.11 MingGW

I was attempting to test the sample application from the tutorial pages

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    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;
}
 

error "The Procedure Entry Point_gxx_personality_v0 could not be located in the dynamic link library" then it said where my sfml-system-d-2.dll file was.

I came across while I attempted to build (tested both debug and release)


I added all of the required files to the output file
I rebuilt it
checked the compilers and I checked the linking

Pages: [1]
anything