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

Pages: 1 [2] 3 4 ... 12
16
You have a ; at the end of the if. So the if doesn't matter and what is in the brackets will always be executed.

17
General discussions / Re: IRC chat (70+ users)
« on: November 13, 2019, 03:37:40 pm »
There's an actual IRC server hosted and managed by the SFML Team. Discord being free and somewhat without restriction was a good addition and was asked by a lot of users on the IRC originally. While it is mainly aimed at gamers, a lot of communities are using it for much more than that.

18
Graphics / Re: Array of shapes
« on: October 21, 2019, 03:16:25 pm »
Honestly, with that kind of FPS, I wouldn't bother. A moment where your computer find something more important could make them drop by a few hundred at that point. They are most probably not accurate and important so high. Don't bother with optimizing something like this.

The auto method is basically the same as the iterator, pointing to a reference instead of the iterator (in fact, it's an iterator under the hood).

Finally, with optimization, the assemble generated is basically the same, so yeah, auto is not slower by any means. Use a real good profiler to compare and not FPS. FPS is not accurate.

19
General discussions / Re: Why isn't there a networking event?
« on: August 05, 2019, 06:16:09 pm »
Because the event system is made to handle window related event(e.g. keyboard input in the window, mouse in the window, resizing, close, etc.)

SFML is not a game engine. It's up to you to implement a network event system. Plus the way you do may not solve all use cases.

20
General / Re: Is this good beginner code?
« on: July 19, 2019, 03:24:23 pm »
This is not the appropriate place to post this. You would be better to post in General.

21
Feature requests / Re: More predefined sf::Colors
« on: March 12, 2019, 01:32:39 pm »
I would suggest to put this on a github repo, or maybe the wiki :) Easier to keep it and maintain it! Good job and thanks for doing this!

22
SFML projects / Re: Mow Problem! - Puzzle Programming Game
« on: March 06, 2019, 02:44:17 pm »
Haha this is amazing :D I love it! Good job fallahn!

23
Window / Re: Window resizing problem
« on: February 25, 2019, 03:37:52 pm »
I am not sure how callbacks are more idiomatic. Both anyway, both solution are valid solutions. You are welcomed to make your points as to why you believe callbacks are better and should be the way for SFML 3. So far, I have not seen an argument as to why it is a better solution. Remember that callbacks may also have a cost too. Anyway, that was my 2cents.

24
Window / Re: Window resizing problem
« on: February 22, 2019, 03:23:35 pm »
sf::Events replaced by direct handler call from process event  method.

I wonder how you can do that in a cross and uniform way... Maybe a class that wraps the call and the features? Something akin to... sf::Events maybe?

Good luck in your thing, but the fact you refuse to do anything Apple, and that you don't seem keen on doing a PR, I doubt any of this might be brought into SFML itself.

25
Window / Re: Window resizing problem
« on: February 21, 2019, 03:00:40 pm »
What would you replace sf::Event with? The idea behind sf::Event is that it abstract the OS behind and you can use the same event code on whichever platform you want and it will behave the same way. Going native means you need to write custom code for every platform you want to support. Maybe your need is only Windows, but a lot of people want to support Linux and macOS too.

26
General / Re: Executable runs on Wine, but NOT on Windows.
« on: December 07, 2018, 03:19:41 pm »
You want to use the same compiler for building SFML and for building your project.

27
General / Re: symbol(s) not found for architecture x86_64
« on: December 03, 2018, 02:05:10 pm »
Make sure to follow the tutorial.

You are not linking to SFML. Could also be an architecture mismatch.

28
General / Re: Problem with Joystick connected/disconnected events
« on: November 23, 2018, 02:21:11 pm »
As far as I know, the PS3 controller is usually not recognized by Windows (and maybe other OS). You need a third party driver. Maybe that is the cause why SFML is not able to correctly interface with it?

29
how to see a circle? it is being hang on my pc...please help
If it hangs, it's most likely due to the fact your notre processing the events. You need to handle the events (see red box).

30
Or you didn't follow a very simple tutorial that is here: SFML and Code::Blocks

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