SFML Game
A game project using SFML multi-media library that in the end ended more like a GUI framework.
My first bigger project I made. It was supposed to be a visual novel type of game, but in the end I ended up spending majority of time creating it’s user interface. I used C++, but in the end it was more of a C with classes and templates, one of the crucial experiences to realize that classic OOP is super bad for game programming. For drawing to screen and I/O C++ multi-media library SFML was used.
The whole entirety of user interface is programmed from scratch, that includes Text buttons, Sprite buttons, Sliders, Progress bars, Checkboxes, Multiline textboxes (also with slow-print effect) and numerouse Editboxes for text. The “game tree” of the game’s story is not hardcoded in, instead it is read at the startup from provided pseudo-XML text files (e.g. dialogs.txt). That means you can edit the story without need to recompile. There was also working system for saving/loading games, but there’s no proper UI implemented for it.
Works on Windows and Linux, but I ran into issues when trying to build portable binary for Windows, that’s why there’s no download. I also decided not to make source available, since it’s one of my oldest projects and thus the code quality is not the best.
Video Demo
Screenshots
Currently this project is abandoned, it makes much more sense to start a new one instead. However I ended up using it as a basis and ‘GUI framework’ for some of my other side endeavors (e.g. static website generator for my gf).