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

Pages: 1 2 [3] 4 5 ... 19
31
General / Re: sfml for VS2015
« on: October 24, 2015, 07:01:11 pm »
Visual studio 2015 has it's ups and downs. If you aren't using any of the language features in C++11/14/17 then I personally wouldn't bother upgrading. The new MSVC breaks the old CRT so older C libraries will not work.

32
General / Re: sfml for VS2015
« on: October 24, 2015, 06:18:58 pm »
Yes although honestly I feel that if you have to ask such a question maybe you should start with something simpler than SFML.

33
General / Re: High FPS unstable frametimes?
« on: October 23, 2015, 02:40:02 pm »
Sooo... No?  ;)

34
Audio / Re: How to play several sound effects simultaneously?
« on: October 23, 2015, 01:58:36 pm »
Store all of your sounds in a vector and play them then you can check if they are playing each tick and if they are then remove them.

35
General / Re: High FPS unstable frametimes?
« on: October 23, 2015, 01:06:53 pm »
Tips....?

Do you have any proof at all that these are legitimate problems or optimizations? Any benchmarks or blog articles by verified programmers or anything at all? 205 seems ridiculously arbitrary especially considering that it isnt even a power of 2.

36
Feature requests / Re: The Ability to Pass Floats To/From Shaders
« on: October 23, 2015, 03:46:35 am »
Is there a problem with sf::Color? Also you are more than welcome to contribute directly to SFML via pull request if you read (And abide by) the contributing guide.

37
Feature requests / Re: The Ability to Pass Floats To/From Shaders
« on: October 23, 2015, 02:13:56 am »
The shader class in SFML right now is really just a wrapper for loading and compiling shaders from source. It provides some functions to set uniforms and thats about it. You can get the native handle which you need in order to use attribute pointers (Which is what I assume you are talking about). There is a branch in development in GitHub right now for API changes regarding the shader class and uniforms but nothing for attributes.

38
Graphics / Re: Overriding sf::Drawable::draw
« on: October 22, 2015, 04:41:49 am »
Your vector of Example1 should be a vector of (unique) pointers to example one. Your vector stores copies but you are trying to push_back a pointer. NEVER use naked new unless you are experienced and you know what you are doing and you clean it up. From your code it looks like you dont know what you are doing with it AND you never clean it up so enjoy memory leaks.

39
General / Re: Using SMFL for drawing into a Qt Widget
« on: October 21, 2015, 03:01:27 am »
Okay, it seems like I could fix it by implementing stubs for the virtual methods. Anyway, I suggest updating the tutorial I linked to in my post.

The tutorial you posted is from SFML 1.6 which is quite a few years old now. I agree with Hiura about adding/updating this on the wiki so that people (Such as myself) might take advantage of this.

40
General discussions / Re: Android and iOS ports available for testing
« on: October 20, 2015, 03:07:33 pm »
Quote
if there was step by step instructions on how to configure iOS/Android projects
What's the problem with the instructions at http://en.sfml-dev.org/forums/index.php?topic=13716.msg96044#msg96044 ?

Nothing I guess. I mean if they describe a process of going from the SFML source to an iOS/Android app then they are fine. However, I'm a Windows/GUI peasant :( I dont have make installed so I cannot run the make command in the Android instructions. I understand that the mobile ports are still in development and experiemental but I dont believe I'm too far from the truth in saying that a sizable portion of SFML users are Windows/GUI users like myself so instructions for Windows and the CMake GUI (Maybe with VS as well :o?) would be incredibly handy.

On the other hand I probably just sound incredibly lazy and stupid for asking for 1:1 steps.

41
General discussions / Re: Android and iOS ports available for testing
« on: October 20, 2015, 10:22:19 am »
I know it has been explained time and time again (Even at my request), but if there was step by step instructions on how to configure iOS/Android projects, I would be more than happy to provide testing and feedback. I'm stupid with iOS/Android setup because its not as straight forward for me as normal CMake -> VSProject -> Compile/run.

42
Graphics / Re: SFML does not allocates depth buffer
« on: October 16, 2015, 03:15:17 am »
Give us the code you are using. Telling us what you are doing wont get you anywhere  unless you provide code with your explaination.

43
I feel like your post is replying to this thread but I thought I might point out that they were talking about statically linked SFML libraries, not statically linked CRT.

44
General / Re: Opengl tutorial?
« on: October 10, 2015, 05:20:31 pm »

45
General discussions / Re: Experimental internal-context-less branch
« on: October 10, 2015, 05:41:18 am »
I'd like to help with testing but I'm unsure how to actually test this. Can someone offer some suggestions like unit tests or something?

Pages: 1 2 [3] 4 5 ... 19
anything