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

Pages: 1 [2] 3 4 ... 10
16
Hi,

You may have heard that Flatpak has been released. It's a tool that allows to build standalone apps on Linux (compatible with all the distributions that support it). For more information : http://flatpak.org/

The problem is that no runtimes (if you don't know what a "runtime" is in flatpak, please read the website) provides udev and none will ever do because udev is not ABI-compatible with each Linux distributions (see the discussions I had with the devs here : https://github.com/flatpak/flatpak/issues/12#issuecomment-230249440).

So, it's currently not possible to build SFML for flatpak as udev is not provided. That's why it would be great if SFML provides a build option to disable the udev dependency. The only problem is joysticks support as it is the only feature that requires udev in SFML. But it seems that it's not mandatory (SDL can work without udev if needed) except for the joystick hot plug.

17
System / Re: some arithmetic operations of sf::vector missing?
« on: June 19, 2016, 02:34:57 pm »
Hi,

Dividing a vector by another one doesn't make sense. That's probably why it's not implemented (as well as the multiplication of two vectors)

18
General / Re: Laggy fixed time step loop
« on: June 04, 2016, 11:49:14 pm »
I use a fixed time update in my game and never experienced those problems.

19
General / Re: Problem with a class with texture element
« on: June 02, 2016, 11:22:59 pm »
Hi,

That's because sf::Sprite::setTexture wants a pointer to a sf::Texture and not directly a sf::Texture.

20
General / Re: Window xlib event issue? Solus Linux
« on: May 09, 2016, 01:35:57 am »
I'm using the system packages. I'll try to build SFML 2.3.2 and latest asap.

21
General / Re: Window xlib event issue? Solus Linux
« on: May 08, 2016, 11:52:43 pm »
I can reproduce the problem in every SFML programs (tested with SFGUI examples).

22
General / Re: Window xlib event issue? Solus Linux
« on: May 05, 2016, 08:16:36 pm »
No, I made a mistake, I have gnome 3.18. ::)

23
General / Re: Window xlib event issue? Solus Linux
« on: May 03, 2016, 08:52:05 am »
I have the same problem with my game under Fedora 23 (Gnome 3.20).

24
Hi,
it's because you event.type = ... instead of event.type == ...

25
General / Re: Box2D and SFML integration problems
« on: April 26, 2016, 09:21:32 pm »
Hi,

That's because The Box2D Y coordinate is pointing upward and the Y coordinate of SFML is pointing downward. So, you have to invert the position given by Box2D to apply it to your SFML drawables (same thing with the angle, you have to invert it and convert it from radians (Box2D) to degrees (SFML) ).

26
Graphics / Re: Conversion from Box2D to SFML creates gap
« on: April 22, 2016, 10:56:13 pm »
Are you turning the shapes in the good direction ?

27
Graphics / Re: GLSL 430 gl_TexCoord
« on: April 20, 2016, 10:30:11 pm »
I should have said : "They are no default shaders".  ;)

28
Graphics / Re: GLSL 430 gl_TexCoord
« on: April 20, 2016, 05:26:13 pm »
SFML uses the fixed pipeline, so there's no shaders.

29
General / Re: Shared library dependency on Android with SFML Activity
« on: April 15, 2016, 04:42:19 pm »
Thanks, that's two good ideas. I'll look at it soon.  :)

30
General / Shared library dependency on Android with SFML Activity
« on: April 15, 2016, 02:15:38 pm »
Hi,

My native SFML android app is composed of two shared libraries. The first one is linked to the second one in the Android.mk and the compilation is successful. However, when I launch the app, it crashes and it tells that Android can't find /data/app/com.xxxx.xxx/lib/arm/libMyFirstLib.so. It seems that the errors happens when the the second lib (set in "sfml.app.lib_name" in AndroidManifest.xml) is loaded with dlopen (here : https://github.com/SFML/SFML/blob/master/src/SFML/Main/SFMLActivity.cpp#L113).

So, the question is : do I need to customize the SFML activity (and create my own native activity) to dlopen libMyFirstLib.so manually before loading the second library ?

Thanks.

Pages: 1 [2] 3 4 ... 10