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

Pages: [1] 2 3
General / sfml with gcc 5.2
« on: February 03, 2016, 10:39:29 pm »
compile it and put on the website plox
I'm getting error message:   undefined reference to `sf::Texture::loadFromFile(std::string const&, sf::Rect<int> const&)'|

Network / Simple UDP connection that transfers message using packets
« on: January 02, 2016, 11:36:43 pm »
So, I don't know why this isn't working. I've read some documentation and I've made this code. Both server and client are ran on the same machine.
(click to show/hide)

(click to show/hide)

SFML projects / boxGame
« on: December 30, 2015, 11:21:53 pm »
So, I wanna create simple multi player game and here is what I've done so far. Please comment, criticize etc. Idk if this is correct way to do state machine.


General / Rotating player depending on the mouse position
« on: November 23, 2015, 07:29:01 pm »
So basically I wanna make player1 rotate and always look at the cursor, but I'm stuck. For some reason code below doesn't work

click1Pos.x = (int)sf::Mouse::getPosition(cliff->window).x;
        click1Pos.y = (int)sf::Mouse::getPosition(cliff->window).y;
        moveToCursor = true;

        double one = playerYposition - mouseYposition;
        double two = playerX - mouseXposition;
        double tanges = (tan(one/two)* RAD);


General / Segmentation fault when trying to draw sprite[10]
« on: November 21, 2015, 03:50:13 am »
i have pointer in second cpp which points to window and when im trying to draw sprite[10] I get segmentation fault.


SFML website / Precompiled binaries Linux 64bit problem
« on: February 26, 2015, 10:13:49 pm »
Basically when you download Linux 64 bit binaries from the SFML website there are 3 files named : "include" "share" and "lib". If you copy that to /usr/local and then compile your program, you should get this error in the terminal:
error while loading shared libraries: libsfml-graphics.so.2

I've renamed "lib" folder which was extracted from the SFML to "lib64" and copied it to /usr/local and now everything works

Feature requests / Auto creating folder if it doesn't exist
« on: December 28, 2014, 02:43:58 pm »
When you are saving something like screenshot using sf::RenderWindow::Capture() and when you are trying to save it to some folder and if that folder doesn't exist, why doesn't it get create it?

General / Is it fine to have sf::Font and sf::Text as global
« on: December 28, 2014, 01:35:53 pm »
So, i have

namespace menu
    void loadFiles();
    void menu(sf::RenderWindow &window);
    void main(sf::RenderWindow &window);
    void options();


and I have sat up Text and Font inside the menu::loadFiles, and I'm drawing it inside the menu::main(). I've made them global so that I can use it inside both functions and I wanna know is it fine to have them global or should I find some other way?

SFML projects / testEngine
« on: October 19, 2014, 10:29:53 pm »
Can anyone give me review on this basic game engine, and tell me if I'm on the right path or should I abandon it and start writing new one.


General / Statically linking SFML
« on: September 04, 2014, 02:42:22 am »
Am I allowed to statically link SFML or can I only dynamically link it?

SFML website / Can't send message
« on: August 21, 2014, 09:33:04 pm »
Whenever I try to send message I get confirmation that the message is sent, but it isn't listed under sent messages.

Network / Is SFML network enough for making MMO game
« on: August 21, 2014, 03:14:50 pm »
Like this one:


Also, why can't I post youtube links!

Graphics / when to open new rendervindow?
« on: August 21, 2014, 03:05:38 am »
So I've made a game in which at start is shown Main Menu, and when I click game start user can clearly see that one window is closing and another one opening. How do you guys get rid of that transition. Am I doing something wrong?

Here is link to my game if you don't understand what I'm talking about: http://en.sfml-dev.org/forums/index.php?topic=16130.msg115346#new

General discussions / OpenGL is going to be completely rewritten
« on: August 21, 2014, 01:26:21 am »

It says:
- OpenGL-Next is a ground-up design of a modern 3D+Compute API and will break compatibility with existing OpenGL implementations.

(click to show/hide)

General discussions / Thank you guys for making SFML
« on: August 20, 2014, 10:41:22 pm »

You've made this world a better place, because now I can create awesome games like Bouncing thingy
(click to show/hide)

Pages: [1] 2 3