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 - Jesper Juhl

Pages: [1] 2 3 ... 94
1
Feature requests / Re: Fill method for Image ?
« on: August 30, 2016, 09:45:22 pm »
Quote
SFML is inefficient because lot of parts of it are bloated with getters/setters

I beg to differ. If you take a look at the generated asm of an optimized build of the library + your application I think you'll be surprised how much of this "bloat" the compiler is actually able to strip away. If you can come up with a usecase/benchmark where this matters one iota in any realistic scenario, then I'll buy you a beer.

2
General / Re: Load From Memory
« on: August 22, 2016, 08:32:28 am »
First of all you should probably use a
std::vector<uint8_t>
rather than a
std::string
for your data.

Second, you need to put your image data in there - a PNG image for example.

3
C / Re: How to release a sfml-program for several distribution?
« on: August 21, 2016, 09:44:36 pm »
1. Build your own sfml. 2. Build your executable with a RPATH that finds the library relative to the executable ($ORIGIN). 3. Package the library files alongside your executable in the expected location.

4
Graphics / Re: sf::texture destroyed when in class
« on: August 21, 2016, 09:37:43 pm »
I'd say that should probably be
std::vector<std::unique_ptr<Slider>> sliders;

5
General / Re: Isometric Maps
« on: August 21, 2016, 06:32:02 pm »
Here's a starting point : http://www-cs-students.stanford.edu/~amitp/gameprog.html#tiles scroll down to the "Displaying Tiles" section and you'll find a bunch of isometeic related resources.

You may also enjoy the resources here: http://www.redblobgames.com

6
General / Re: Will one SFML project run on different computers?
« on: August 16, 2016, 09:43:42 pm »
Use your debugger to find the root cause..

7
General / Re: Spike lag
« on: August 10, 2016, 10:15:03 pm »
Maybe you should define "spike lag"...

You made up the term, now explain to us what it means. What exactly is a "spike lag"?

8
General discussions / Re: SFML 2.4.0 released
« on: August 10, 2016, 10:13:15 pm »
This is great. Lots of nice fixes - this makes my life easier - good job!

9
SFML projects / Re: Simple Tile Creator
« on: August 09, 2016, 09:06:55 pm »
I didn't mean to discourage or incourage you. I simply wanted to point out that you are solving a solved problem. What you do from there is your own business.

10
SFML projects / Re: Simple Tile Creator
« on: August 08, 2016, 04:25:01 pm »
Note that you can do the same thing (and more) with Imagemagick : http://www.imagemagick.org/Usage/montage/#montage

11
General / Re: Is it possible to run the RenderWindow in the background?
« on: August 02, 2016, 10:13:18 pm »
That didn't actually help.

Could you describe the problem you are having and trying to solve.?

12
General / Re: Is it possible to run the RenderWindow in the background?
« on: August 02, 2016, 08:18:57 pm »
What are you actually trying to achieve?

13
Network / Re: TCP Connection
« on: August 02, 2016, 06:51:45 pm »
Networking games is difficult. Especially over the internet. Period.

You may find it interesting to read this: http://fabiensanglard.net/doom3_documentation/The-DOOM-III-Network-Architecture.pdf

14
General / Re: Searching a good open source project to learn sfml
« on: July 27, 2016, 03:16:33 pm »

15
Graphics / Re: sf::Text setString slow
« on: July 21, 2016, 04:47:20 pm »
Benchmarking unoptimized builds is rather pointless. Re-run your test with optimizations enabled.

Pages: [1] 2 3 ... 94