Questions tagged [sfml]
Simple and Fast Multimedia Library - a free, portable API that provides access to graphics, input, audio, etc.
377 questions
1 vote
1 answer
172 views
How to properly change resolution dynamically in SFML?
I am working on creating an options menu through which I can change resolution and toggle full screen mode. I am allowing only those resolutions that have aspect ratio 16:9, as my game was originally ...
3 votes
1 answer
149 views
How to determine drivers placement in a race with shortcuts and offroading?
Thinking of doing a little Micro Machines clone in SFML/C++. I know Micro Machines 'ai' was handled by having 2d array positions (or tiles) marked as being 'on-track' or 'off-track and directing the ...
0 votes
1 answer
87 views
When does SFML deal with user input
I have an SFML programme using window.setFramerateLimit() to determine the time step of the game. I have a game loop that looks like this: ...
0 votes
1 answer
501 views
Implementing a Fixed Time Step?
This has been bugging me for few days now. I'm trying to stop movement jittering in my game. I've looked towards semi and fixed time steps - moving towards the latter below so I can really understand (...
0 votes
1 answer
201 views
How to develop a game on a 2015 MacBook Pro without learning Metal?
I'm on Mac and OpenGL and Vulcan are not supported. Even worse, I'm on a 2015 MBP 13". Yeah, can't do much with that. I spent a full year learning C++ and I have no patience to try and learn ...
0 votes
1 answer
740 views
Should networking and rendering be separated in multiple threads?
I've been trying to code a multiplayer client/server prototype game using SFML's networking. My server and client use TcpSelectors to wait for a certain amount of time for incoming packets without ...
1 vote
1 answer
443 views
Creating a Renderer class using SFML
I currently have a Renderer class, which as in the example code, looks like this: ...
1 vote
0 answers
438 views
Raycasting floor/ceiling textures sliding
I'm writing a raycasting engine in C++ and SFML. I have the wall texturing done and I'm trying to get floor and ceiling texturing right. I almost got it but the textures are "sliding" when ...