Skip to main content

Questions tagged [sfml]

Simple and Fast Multimedia Library - a free, portable API that provides access to graphics, input, audio, etc.

1 vote
1 answer
175 views

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 ...
kiner_shah's user avatar
0 votes
0 answers
161 views

This is my first time using this website and I'm a beginner too, so sorry if what I'm asking doesn't make sense. I am using C++ and OpenGL to make a basic platformer. My issue is that the fragment ...
Zuper Potato's user avatar
3 votes
1 answer
150 views

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 ...
Reverend Speed's user avatar
1 vote
0 answers
71 views

I'm developing a pool game using SFML and Box2D, and I'm currently facing an issue with creating the cue ball outline when the player aims. I have three rays that are cast: two black ones and one ...
Yosef Sirak's user avatar
0 votes
1 answer
87 views

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: ...
Momus's user avatar
  • 1
0 votes
0 answers
44 views

I am encountering a perplexing issue in my SFML game development where my program crashes instantly during runtime when I add a CircleShape as an instance variable ...
Julian42_74's user avatar
0 votes
1 answer
506 views

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 (...
tisolo's user avatar
  • 1
1 vote
1 answer
119 views

I am currently making a game in c++ using sfml, I encountered a problem where if I jump in my game, the jump mechanic allows the player to jump repeatedly in mid-air which is something I do not want. ...
Cheez's user avatar
  • 11
0 votes
1 answer
202 views

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 ...
BeardlessDev's user avatar
0 votes
1 answer
77 views

I have a main window whose loop is just in the program and a Window class in which separate sf::RenderWindow objects are created and the loops for them are in ...
Proger's user avatar
  • 1
0 votes
1 answer
750 views

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 ...
xGolden's user avatar
0 votes
2 answers
259 views

The game development library SFML has a Vector2 class template (and a Vector3 for that matter), which can use any arithmetic ...
JensB's user avatar
  • 157
1 vote
1 answer
446 views

I currently have a Renderer class, which as in the example code, looks like this: ...
BOOM's user avatar
  • 11
0 votes
1 answer
411 views

I'm working on a small SFML engine, and i'm trying to implement continuous collisions. It's working great, but the corners are getting detected as collisions and i can't figure out why. I already ...
Xscreade's user avatar
1 vote
0 answers
440 views

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 ...
Xscreade's user avatar

15 30 50 per page
1
2 3 4 5
26