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

Pages: [1]
1
General discussions / Re: SFML 2.3 released!
« on: May 27, 2015, 08:12:39 pm »
SFML has been added to NuGet by someone unknown to us, if the version is not uptodate you might contact the maintainer and ask for an update.
It only displays the creators name (Laurent Gomila or something) in the window, there is no information of the person who uploaded it sadly

edit: nvm found it

https://www.nuget.org/packages/sfml-graphics/ContactOwners

2
General discussions / Re: SFML 2.3 released!
« on: May 23, 2015, 09:21:41 pm »
It would be great if you could make the new version available with the NuGet plugin for Visual Studio 2013 express, it would make it far more beginner-friendly

3
General / Re: Youtube increases framerate? (!)
« on: May 10, 2015, 12:30:20 pm »
It's written in Config.hpp.

#define SFML_VERSION_MAJOR 2
#define SFML_VERSION_MINOR 2

I am guessing I am running an outdated version

4
General / Re: Youtube increases framerate? (!)
« on: May 08, 2015, 07:55:43 pm »
We fixed this a long time ago.

Quote
I am using version 2.2.0.1
Doesn't exist. Make sure that you read the SFML version, not the version of the NuGet package.
How do I find out the real version then?

5
General / Re: Youtube increases framerate? (!)
« on: May 08, 2015, 07:55:01 pm »
Related: http://en.sfml-dev.org/forums/index.php?topic=7750

I have never dug deeper, but I have the suspicion that this behavior might be linked to the system timer resolution, which is increased by certain applications or services. Especially Google Chrome was famous for its exaggerated use of high timer resolutions, draining battery life on laptops.
It may be that. But when I let a friend download it, he can run it fine without running firefox.

6
General / Re: AW: Youtube increases framerate? (!)
« on: May 08, 2015, 05:26:58 pm »
What version of SFML are you using? Can you provide a minimal and compilable example?
I don't think I can provide a compilable example, it is ridden with custom classes, which would result into erros.
If I were to include those classes too, i'd  end up posting the full ~20 pages here, which isn't minimal.
How can I do that?
I am using version 2.2.0.1, I installed it using the NuGet button.(I tried 100's of times the manual way, too complicated)

Edit:
https://gist.github.com/anonymous/0254100bc8406fe6b0b2
Its a part of the int main().
I tried my best, I have no idea what to upload.

7
General / Re: Entity origin irrelevant to rotation
« on: May 08, 2015, 05:14:41 pm »
Perhaps, in setOrigin, try something like (texture.getSize().x/2),(texture.getSize().y/2), that works for me.

8
General / Youtube increases framerate? (!)
« on: May 08, 2015, 05:12:20 pm »
I am working on a simple game of mine, but I have run into a weird problem.
Using sleep() I am making sure that the game updates around 60 times a second.
I also set window.frameratelimit to 60.
Currently, I have no FPS counter implemented, but when I run the game, it runs terribly slow, something like 15-30 fps. When I open firefox, which is in NO WAY connected to my game whatsoever, and open youtube (does NOT work on other websites!) , and then I run my game, suddenly the framerate is super smooth.
I am using Visual Studio 2013 Express.
How is this possible?
How can something that is not connected to my game, affect its performance?
Is this a weird graphics card bug?
By the way, I am running my game using Local Windows Debugger button in my VS2013Express.

9
General / Re: error LNK1104: cannot open file 'SFML-graphics-s.lib'
« on: August 09, 2014, 05:36:36 pm »
I did all of that...
Obviously not. If you had it would work.

Let's dig a bit deeper:

What compiler?
What version of SFML? (custom compiled or pre-built?)
Installed to where?
What does the exact compiler/linker command line look like?
Since you seem to be trying to link static versions of the library, are you defining SFML_STATIC?
Compiler?
I cannot find , Visual Studio 2013 Express, default settings..
SFML 2.1, mixed, ive been working on this for ages
Installed to multiple locations
Yes, SFML_STATIC is defined.
Please help, ive trying to get this linker stuff to work for 3 weeks....

10
General / Re: error LNK1104: cannot open file 'SFML-graphics-s.lib'
« on: August 01, 2014, 06:15:49 pm »
In general:

1. You need SFML installed.
2. You need to point the linker at the location where the library is installed.
3. You need to include sfml-graphics in the list of libraries to actually link when building your application.

Nothing SFML specific about that. That's what you need for any C++ library.
I did all of that...

11
General / error LNK1104: cannot open file 'SFML-graphics-s.lib'
« on: August 01, 2014, 05:55:14 pm »
When building the example program (the one that displays a window),
I get this error:
error LNK1104: cannot open file 'SFML-graphics-s.lib'
What do I need to do to get this to work?
I have been trying stuff for multiple days now, its really frustrating.


12
General / Problems linking library
« on: July 22, 2014, 04:17:21 pm »
I am new to installing libraries, so I got a few problems.
1. I can't get "lib" and "include" folders together, I followed multiple tutorials but each timeI get different results...
2.  I followed this http://www.sfml-dev.org/tutorials/2.1/compile-with-cmake.php
 and  this http://www.sfml-dev.org/tutorials/2.1/start-vc.php, but still the IDE does not recognise SFML syntax, it still displays curly red lines around the code...
Oh, I also followed this tutorial:

 
Here are screenshots
http://i.imgur.com/X73s1AD.png
http://i.imgur.com/mvsgtfe.png

What have I done wrong?
What is the proper way to do it?
I see millions of ways with different outcomes, I cannot find a good explaination anywhere.

Pages: [1]
anything