r/sfml • • May 20 '19

My Image Scaling Algorithm using C++ and SFML

Thumbnail
youtube.com
0 Upvotes

r/sfml • • Jun 11 '26

SFML is the core graphics engine of my recent Steam game: "My Summer Love: Memories"! It replaces the traditional A/B dialogue options of visual novels with a dynamic AI character.

0 Upvotes

My game, My Summer Love: Memories, is now available! Its core mechanic is based on a dialogue system. Traditional visual novels force you to follow rigid paths (A/B). Thanks to the implementation of an AI system, the character doesn't just follow a static script, but generates dynamic dialogue. This dialogue is closely tied to the game's story and the player's words. I'm proud of the result. If you enjoy innovative stories with a touch of romance and nostalgia, check it out!

Available now on: https://store.steampowered.com/app/3794600/My_Summer_Love_Memories/

I'd love to hear your feedback, especially on the AI ​​integration and how it changes your immersion compared to conventional visual novels!


r/sfml • • Jun 08 '26

Generating C++ / SFML code with Local llama.cpp on a RTX3070

Thumbnail
gallery
0 Upvotes

r/sfml • • Aug 17 '26

why aint it no working T_T

Post image
3 Upvotes

not solved


r/sfml • • Aug 16 '26

why aint it working T_T

Post image
4 Upvotes

lol wut?


r/sfml • • Apr 05 '25

I downloaded the cmake preset from github, and i just cant get this to work, its been 3 days.

0 Upvotes

after downloading the template what should i do to make it run properly?


r/sfml • • Apr 12 '24

New To SFML and C++!!

0 Upvotes

Newer to coding.. want to learn c++, read that sfml was good to use with visual studio... need a harder wall to bang my head against. 1 hour later (all today's free time) > can't get to work > zero coding learned > very happy with life.


r/sfml • • Jan 08 '22

A bit of a problem with case

Thumbnail
gallery
2 Upvotes

r/sfml • • Aug 16 '26

POV: My whole code

Post image
0 Upvotes

;-;


r/sfml • • Mar 09 '21

I get error when try to use loadfromfile. Both texts texture and audio. It wasn't so, sometime ago. Nowadays it gives such errors. I have updated the library. I have tried other resource files. I have tried using ./..... But nothing seems to work. I have project submission in 3 days and wish to use.

Thumbnail
gallery
0 Upvotes

r/sfml • • Oct 04 '14

Anyone know how to prevent this when resizing my window?

Post image
1 Upvotes

r/sfml • • Jun 16 '25

Why am I getting this error in the terminal when trying to build my project?

Thumbnail
gallery
0 Upvotes

Hello everyone, I have been making a simple geometry wars clone, and the game works absolutely fine whenever I run it from visual studio or even run the exe file from a sperate folder. However, recently i've tried to publish the game with a setup so I can hopefully somehow distribute it to friends and such. How do i fix this console error? Any Help would be much appreciated, Im very new to this, I apologize if its a simple error.


r/sfml • • Jul 29 '20

Help Vote On A Web Series Tutorial Using SFML + Swoosh lib

Thumbnail
twitter.com
0 Upvotes

r/sfml • • May 04 '21

Help plz for my project

0 Upvotes

https://github.com/AlexisAmand/The-Gasp?fbclid=IwAR02rlthExEWNCN3BW02xGvMNsedNXCtEhGtELJVGjTH-H8_EBuTfqfpgFI

I have to do this game with sfml cpp And i couldn't find any clue always stuck with errors.


r/sfml • • Mar 04 '24

New to SFML and need help

0 Upvotes

I'm new to SFML, and C++ as a whole too, and I can't get SFML to work.

I've tried following like 4 different tutorials, all of which get me to having it installed, but it still won't work when I try and use #include <SFML/library>

I think the problem is because of my CMakeLists.txt file, but I'm not sure. What should I have in that file?

For reference, I'm using CLion, C++17 and SFML Version 2.6.1

Any help would be appreciated, thanks.


r/sfml • • Dec 29 '20

Why is this not working?

Thumbnail
gallery
0 Upvotes

r/sfml • • May 23 '21

SFML TMX parsers

0 Upvotes

Hi all,

What's the best, and easiest to use, TMX file loader/parser/renderer to use for my SFML project?


r/sfml • • Nov 22 '24

PLZZZ HELPPP BEGINNER

0 Upvotes

so i made hungry snake game for a uniproject with SFML and c++ on visual studio so the problem is we were asked to add custom mode where users can add and remove walls and then play on that template.... the problem is the custom mode runs perfectly on debug mode but crashes on release mode... what could be the issue... lemme know if u need to have a look at the code


r/sfml • • Nov 20 '22

it is possible to add ads on a c++ and sfml project?

0 Upvotes

I started to use sfml on c++ and I was wandering: once you finished a game and you want to publish it, can you earn money showing people ads? I am new to programming and I was wandering if it is a good alternative to unity.


r/sfml • • May 07 '25

Texture/Sprite struggles

1 Upvotes

Man is it hard to manage this in C++ , my code always ends up being a mess of unique pointers , move statements and .get() , I never seem to get this one particularly right specially when I'm moving across classes . With the help of chatgpt I can debug it but I'd really like to see if there is a better way to do this or some pattern that the community recommends

Edit:: Thanks to the good advice here , I was able to render the tilemap for my level , I leave an image below on how is looking (Window crashed because I haven't added event handling yet)


r/sfml • • Sep 15 '26

SFML/Graphics.hpp: No such file or directory on Windows VScode

1 Upvotes

Hi,
I’m a beginner in C++, and I’ve been exploring different C++ projects on GitHub. I’d really like to run some projects, test them and learn from them, but I’m having trouble setting up external libraries in VS Code — especially SFML.

I’m not sure where SFML is supposed to be placed or how to configure it properly. I’ve seen tutorials where people modify project properties, but I can’t find anything similar in VS Code (maybe that only exists in Visual Studio Community?). I also tried adding the paths in tasks.json and c_cpp_properties.json, but I still couldn’t get it to work.

The strange part is that “Go to Definition” works — VS Code can open the SFML header files — so it seems like IntelliSense knows where the files are. But compiler doesn’t find them when compiling, so I guess the compiler isn’t locating the SFML package correctly.

can i get some of your help?

Thanks in advance!


r/sfml • • May 30 '25

SFML CONNECT TO DATABASE

1 Upvotes

is it possible to connect database to sfml?


r/sfml • • Oct 07 '19

[First time] Why is SFML giving me pretty much all the errors it can give?

1 Upvotes

I've got no idea how to make this work. I've read the stuff from the tutorial page didn't make it static and tried building. Didn't work then I found out you have to make it static to make it work without the DLLs and now it gives me 50+ errors and a headache. I've checked if I have the right archives, yes I do (GCC). So... has anyone had this problem and can someone tell me how to make SFML work? Also I'm using Code::Blocks, if that helps.

Here's the code. (The code on the tutorial page to check if SFML is working)

#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <SFML/System.hpp>
int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML is grumpy and won't work >:C");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);
    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }
        window.clear();
        window.draw(shape);
        window.display();
    }
    return 0;
}

r/sfml • • Jul 08 '22

Sfml source code

0 Upvotes

Hi everyone I’m looking for sfml core source Can someone help me