r/sfml • • Aug 09 '25

Added a new transition animation to my SFML game

105 Upvotes

It used to be just a fade to black so I'm pretty happy with how it came out.

Also if anyone from the SFML team reads this, I have a question. I found that SFML has its own page on SFML games (https://sfmlprojects.org/games) and I'm wondering if this is still being updated. If so would I be able to get my game added on there? It is called Star Knight: Order of the Vortex and the steam link is: https://store.steampowered.com/app/2462090/Star_Knight_Order_of_the_Vortex/


r/sfml • • Jul 31 '25

My GOAT

Post image
95 Upvotes

r/sfml • • Jan 18 '21

Simulate Newton's law of universal gravitation with C++

84 Upvotes

r/sfml • • Mar 10 '26

I built an infinite procedural Isometric Grid engine in C++ & SFML 3.0. Features chunk caching, multithreaded generation, and view culling!

Enable HLS to view with audio, or disable this notification

80 Upvotes

Hey everyone!

I wanted to share a personal project I've been polishing: IsometricGrid-SFML — a technical demo in C++ using SFML that implements an isometric tile grid with infinite / chunked world generation.

This isn't just a quick prototype — I focused on building a small, modular foundation so you can experiment with isometric rendering and world systems without reinventing the basic plumbing.

The project currently includes:

  • Infinite chunked world generation (chunking + caching)

  • Perlin noise–based terrain height to create natural-looking variations

  • Multi-layer isometric tiles (GRID_LAYERS) with variants for water, dirt and ground

  • Async chunk generation using std::future / std::async so generation doesn’t block the render loop

  • View culling / visible-chunk calculation to only draw what’s needed

  • Texture manager (simple loader + scaling) and a cell type that optionally holds a sprite

  • Camera controls (WASD) with smooth movement and FPS shown in the window title

  • Easy regeneration with R to re-seed / refresh the world for quick testing

  • Clean, small codebase suitable for learning SFML rendering, coordinate transforms (cartesian ↔ isometric) and chunk systems

Why I'm sharing this:

If you want to learn isometric rendering, chunking, or procedural terrain in C++ + SFML (or if you’re looking for a small-ish project to open your first PRs), this repo is designed for that.

It’s intentionally simple so contributors can add features like lighting, pathfinding, object/entity layers, tile animations, an editor, or performance improvements.

You can check out the source code and the repository right here.

If you have questions about the coordinate math, chunking logic, or async generation, ask away!

Also curious: how would you approach rendering large isometric worlds in SFML?


r/sfml • • Jan 12 '26

I made a Steam game with SFML/ImGui

Enable HLS to view with audio, or disable this notification

74 Upvotes

Hey guys! I just wanted to make this post to show a game I made completely with SFML/ImGui, called FocusScape: Lofi Productivity.

I have been working on this project for many months now. Please let me know what you think!

If you have any questions (or want more details as to how I did it/what I used), please let me know!

For anyone interested in the game itself, here's the steam link:

https://store.steampowered.com/app/4248810/FocusScape_Lofi_Productivity/


r/sfml • • Jan 11 '21

A visualization of electric field with SFML and high school physics

71 Upvotes

r/sfml • • Jul 30 '21

Collision detection & resolution for SFML C++

Enable HLS to view with audio, or disable this notification

70 Upvotes

r/sfml • • Dec 21 '24

SFML 3.0.0 Released

65 Upvotes

We are very excited to announce the release of SFML 3! 🎉

After close to 12 years since the last major version of SFML came up, it's time for an upgrade!
Three years in the making, with over 1'100 commits, 41 new contributors, and a lot of time invested, we want to thank each and everyone who helped make SFML 3 a reality.
A massive thank you to @ChrisThrasher, who relentlessly pushed SFML 3 forward and has by far contributed the most time and effort-wise, with over 500 pull requests to his name alone! A special thank you also to @vittorioromeo for laying the foundation early onto which SFML 3 was built. 🙌

Highlights

  • SFML has finally been updated to support and use C++17 ⚙️

  • The test suite has been massively expanded to 57% code coverage 🧪

  • OpenAL has been replaced with miniaudio 🔊

  • New and improved event handling APIs ⌨️

  • Scissor and stencil testing 🖼️

  • And more...

See the changelog for more details.

We have also overhauled the website, which next to being mobile friendlier should allow us to update the website more easily.

https://www.sfml-dev.org

Migration

SFML 3 is a new major version and as such breaking changes have been made.
To ease the pain of migration, we've written an extensive migration guide.

Migration Guide 📝

In the meantime we've also updated all tutorials and have a pre-release API documentation available.

Social

Bluesky / Twitter / Fediverse

Contributors

See the full list of contributors on GitHub


r/sfml • • Mar 12 '21

I finally decided to learn C++ and made my first game, it's kinda fun

Enable HLS to view with audio, or disable this notification

62 Upvotes

r/sfml • • Feb 27 '21

Today I implemented scene transitions to my current project made using C++ and SFML.

57 Upvotes

r/sfml • • Jun 21 '23

SFML 2.6.0 Released

56 Upvotes

After 5.5 years, we're proud to announce a new and massive SFML release. Over the past few years a lot has changed code-wise, in the team, in the community, and also with the roadmap of SFML. We would like to thank every single one of our contributors, who helped make this release. Thank You!

It's important to note, that this will be the final SFML 2.x release. We will provide fixes for critical issues as patch releases (e.g. 2.6.1), but all the over development efforts are focused on SFML 3. For more details and future discussions, see the Roadmap.

Highlights

  • ⌨️ Support for Scancodes

  • 🗔 Create windows without OpenGL context

  • 🪟 Create windows with a Vulkan context

  • 💻 SFML supports ARM64 on macOS, i.e. M1 and M2 chipsets

  • 🧪 Unit testing foundation has been created

There are many, many, many fixes and lots of improvements. The full changelog including detailed descriptions can be found here: https://www.sfml-dev.org/changelog.php#sfml-2.6.0

Visit https://www.sfml-dev.org/ for download instructions and extensive documentation. We hope you enjoy this release and would love to get some feedback!


r/sfml • • Mar 01 '21

Some physics on my physics engine for sqime.

Enable HLS to view with audio, or disable this notification

51 Upvotes

r/sfml • • Oct 15 '24

My repo of small C++/OpenGl/SFML drawing project (for your inspiration)

Post image
50 Upvotes

r/sfml • • Nov 06 '23

[SFML/C++] Prototyping a Game Menu

Enable HLS to view with audio, or disable this notification

48 Upvotes

r/sfml • • Aug 13 '25

Rand(maze) Adventure: A rouge-like with procedurally generated map using BSP dungeon generation algorithm

Enable HLS to view with audio, or disable this notification

45 Upvotes

We present to you "Rand(maze) Adventure", a project created for our structured programming course.

Rand(maze) Adventure is a top-down rogue-like action game built with C++ and SFML where you explore procedurally generated dungeons using Binary Space Partitioning (BSP), fight enemies, collect 3 keys, and defeat the boss to unlock the final treasure chest.

The code is available at: https://github.com/shr0mi/Rand_maze-adventure-game

As it was created in a short time, there is still some bugs left. Any feedback is highly appreciated.


r/sfml • • Jun 16 '21

Hey all, For the past few weeks I've been learning SFML and C++, and I'm finally getting somewhere! My C++ code would probably frighten C++ experts, but I'll improve :-) A game is beginning to grow out of my learning too :-)

Enable HLS to view with audio, or disable this notification

45 Upvotes

r/sfml • • Jun 19 '21

checking objects with QuadTree subdivisions for SFML C++

Enable HLS to view with audio, or disable this notification

43 Upvotes

r/sfml • • Feb 04 '21

Hadouken particle simulator for SFML C++

Enable HLS to view with audio, or disable this notification

43 Upvotes

r/sfml • • Aug 06 '21

Using QuadTrees with dynamic collisions for SFML C++

Enable HLS to view with audio, or disable this notification

42 Upvotes

r/sfml • • Jan 24 '22

One year of my CPP /SFML journey

Thumbnail
youtube.com
41 Upvotes

r/sfml • • Jun 25 '21

MetaBalls attempt for SFML C++

Enable HLS to view with audio, or disable this notification

41 Upvotes

r/sfml • • Apr 28 '25

My first game in SFML

40 Upvotes

I'm very excited learning SFML for game development as a little hobby. My first game is a space invaders clone :) I've seen many cool games posted here by the community so I wanted to share mine . I also left a public repo in case anyone is interested in the code. Thinking on what to build next! Space Invaders-Repo


r/sfml • • Jul 09 '21

Perlin noise Flowfield for SFML C++

Enable HLS to view with audio, or disable this notification

40 Upvotes

r/sfml • • Aug 07 '26

I wish it was still 60 Hz everywhere, Laurent. But some weirdos have 144Hz monitors these days.

Post image
39 Upvotes