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

Pages: [1] 2 3 ... 626
1
General / Re: Installing SFML for VS Code
« on: January 21, 2020, 05:41:22 pm »
SFML is no different to any other C++ library you could use with VS Code. You should be able to find some instructions on how to handle libraries with VS Code.

2
General / Re: Linking error with codeblocks (windows)
« on: January 21, 2020, 05:38:49 pm »
Given that the object file is located in the Debug directory, I assume it was built in debug mode (-g), as such you also need to link the debug SFML libraries, with the suffix -d

3
Graphics / Re: Crash after using sf::Text
« on: January 21, 2020, 05:08:58 pm »
You should really be using a proper main-loop where you process events and continuously draw and display on your window, instead of drawing once and disposing everything right away.
Also, there's no font loaded for the text.

Can you provide a full call stack of the crash?

4
General / Re: Trying to build with DEV-C++, getting linked errors
« on: January 20, 2020, 09:41:13 am »
Dev-C++ is a very old IDE, I remember having my first C++ steps with it in the 2000s...
It's been unofficially updated until 2015, I've been using Visual Studio also in the early 2000s, that doesn't mean there haven't been updates. ;)

5
Graphics / Re: Making new shape with particle fill.
« on: January 18, 2020, 09:57:32 am »
It can require some trickery and depending on what you're doing with the terrain, will need a decent level of math & physics knowledge, but you're certainly not the first to try something like this. Try and google for "destructive 2D terrain" or if you've been inspired by some game, you may also find articles explaining how they did it or how you can replicate a similar effect.

6
You'd have to take this up with the maintainer of the MSYS2 SFML package (assuming you didn't build it from source), as they'd have to make sure that the generated config files finds their vorbis version, etc.

Officially we don't support the MSYS2 environment. Personally, I've only ever used it with my non-MSYS2 MinGW compiler and non MSYS2 libraries, to use the full automake & configure build setup.

7
Audio / Re: Error loading audio file
« on: January 17, 2020, 11:39:16 am »
Is this a typo or do you actually have that 'z' in your source code?

#include <SFML/Graphics.hpp>z

8
Audio / Re: Error loading audio file
« on: January 17, 2020, 10:37:50 am »
Can you provide your code as a minimal example that still causes the issue?

9
SFML projects / Re: Key To Heaven - 2D MMORPG
« on: January 16, 2020, 09:37:07 am »
You're really in for the long haul and it seems to start paying off.
Looks great what you've achieved so far! :)

10
Audio / Re: about getting an "internal audio stream"
« on: January 14, 2020, 02:20:36 pm »
You can write your own audio streams based on sf::SoundStream.

https://www.sfml-dev.org/tutorials/2.5/audio-streams.php

11
Audio / Re: Error loading audio file
« on: January 12, 2020, 12:22:18 pm »
SFML will print out more error information to the console if fails to load a file.

Most common error is: wrong relative path (e.g. not in working directory).

12
General / Re: SFML Project DLL entrypoint failure
« on: January 12, 2020, 09:06:19 am »
You use CMake to generate a makefile or C::B project and build SFML with it (see the CMake SFML tutorial).

Otherwise check your compiler flags.

13
Audio / Re: Error loading audio file
« on: January 12, 2020, 09:04:52 am »
What errors are you getting?

14
Audio / Re: About streaming... How is Stereo managed?
« on: January 12, 2020, 09:04:19 am »
Yes, they are interleaved, but I'd have to check the source to see which channel comes first.

15
General / Re: SFML Project DLL entrypoint failure
« on: January 11, 2020, 05:12:27 pm »
If you build your game with C++11 (or higher) enabled, you may need to rebuild SFML with that compiler flag enabled as well, due to different ABI for strings between pre and post C++11 in GCC.

Pages: [1] 2 3 ... 626