Final Platform Layer » Blog

1 month ago
Hi there,

i normally dont post personal stuff, but this is really important for everyone in this world!

A few days ago i had a serious car crash and i was really lucky to be alive.

Please never ever underestimate any weather conditions when driving!

It was wet and i was too fast, the car broke out, i tried steered against it and full speed crashed into a guardrail.
I had the best guardian angel ever and its a miracle that i am alive. Also the car helped me a lot to save me (Peugeot can build serious secure cars!). ... Read More →

1 month, 3 weeks ago
Hi there,

just a little info here: I will be very busy this summer and will focus more on my family, friends - so I may not release new releases until the start of september.

But if someone needs support with FPL, I am always there to help. Read More →

2 months, 1 week ago
Hi there,

I am back and I have another release for you all!

We finally have Vulkan support now in FPL and a much cleaner video backend architecture ;-)
Also i added seamless resize support for windows using fibers. In addition i fixed lots of bugs, updated a few demos and more.

As usual, the release is tagged as "0.9.7-beta" and the documentation are updated.

To get the release I recommend cloning the repo ( and build the demos.

Vulkan support:

After a very long fight, FPL now officially supports Vulkan.
Initially i wanted just to add ... Read More →

4 months ago
Hi there,

I am back and I have another release for you all. This time it's a big one!

First of all, due to API changes/renamings there will be breaking changes - so please read the changelog for "Breaking Changes" first, before upgrading to this version! Thanks.

As usual, the release is tagged (0.9.6-beta) and the documentation is updated.

To get the release I recommend cloning the repo from ( and build the demos, to see if everything works for you.

Here are the major changes:


I fixed a ton of bugs, which were mostly related to ... Read More →

5 months, 1 week ago
Hi there,

i am back and i have another release of FPL for you all, which contains very important bugfixes, some improvements and a couple of new features ;-)

7 months of silence

Since the the corona pandemic my life changed from day one fundamentally, resulting in having no more free time at all - not a single minute!
Working from home, doing homeschooling with my kids and organizing our home was just too much, but i now somehow got situated and feel more motivated to get back to private coding, finally finishing up that beast of a project ;) ... Read More →

1 year ago

i just want to give you a short overview what the current state of FPL are and what will coming in the next release.

Starting from my recent changes, i finally added support for fixing the audio playback for audio devices such as bcm2835 for ALSA. Now we can play audio almost stutterfree on the raspberry pi ;) I say almost, because my example audio mixer i wrote to test the audio playback is too slow (> 3 ms) to fill the audio buffer in time - resulting in hearable stuttering sometimes :-(

Therefore i also working to improve ... Read More →

1 year, 2 months ago
Hi there,

after a very long break, i am finally back - fully well and very motivated to code ;)
For people wo didn´t knew: i had several health & private issues in the last year, so i couldn´t do any private coding at all - resulting in putting FPL to a freezing state. But now everything is fine and i already changed it back to active, so lets get down to some business shall we?

New version 0.9.4

Its here, i have another release of FPL for you all!
This time its a huge update, with tons bugfixes, lots ... Read More →

2 years, 2 months ago
Due to health issues, i am putting this project on hold for now. When i am better, i will continue working on it. Read More →

2 years, 4 months ago
I just want to give you a quick update about FPL.

I finally finished up my little side-project "Doxygen-Editor" (a powerful tool which supports me in writing any kind of C/C++ based doxygen documentations). Of course the tool is open-source, so you can build and try it out if you want - but its far from perfect and it was never planned to be used by anyone other than me, so it may not work for you.


FPL itself on the other side is basically unchanged since the release, due to the fact that i have spent all ... Read More →

2 years, 5 months ago
Hi everyone,

finally its here -> The new release of FPL!

So what has changed since the last release? Not that much, i just added a multi-monitor api, added support for using FPL as a dynamic link library, fixed some bugs and updated the documentations a lot.


I know its not that much, so why took it so long?

There was several reasons for that:
- Changes in real life, resulting in less time to do any private coding
- I am still working on a tool for helping me writing documentations, faster and more reliably


There are ... Read More →

2 years, 6 months ago

i want to give you a quick info:

The release of FPL 0.9.3 will be delayed until end of february, due to a lot of RL business.

Stay tuned,
Final Read More →

2 years, 6 months ago
Happy new year everyone,

to start off in this new year, i would like to say thanks to everyone!
Thanks for your support, for your help and of course, thanks for using FPL ;-)

I really hope this year will be much better than last year, as i had a very rough year and it already started sad with a funaral of a good friend of mine. But not lets talk about sad things, lets talk about happy things and the future of FPL.

Next version of FPL

Version 0.9.3 will be released this month and will contain bugfixes, improved ... Read More →

2 years, 8 months ago
I want to give you a short update about the current state of FPL.

The recent weeks i didn´t had much time to work on my projects at all, either i was sick or i was doing family stuff. But i finally finished the doxygen editor now and in its current state, you can actually use it ;) Of course i open sourced it, so you can find it on github as well:

So i have now a tool, to finish up the documentations - which is my main goal right now.
After that i will complete the X11 ... Read More →

2 years, 9 months ago
Hi everyone,

i just want to give a short update about the current state of FPL and what am i working on right know.

Since the last version, i started adding proper multi-monitor support and so far it already works on Win32, except for X11 which i havent touched since last release. As a matter of fact, since the last release i never booted my linux system nor touched the CLion IDE at all.

So for a change of pace, i decided to fully work on the documentations which are far beyond from complete.
So in the last two weeks ... Read More →

2 years, 9 months ago
Hi everyone,

i have another release for you all!

This time its a very huge release which consists of a ton of bugfixes, lots of refactoring & renamings.

UTF-8 only
The biggest change is the full translation to UTF-8 only for all paths and strings. This means that all strings and paths expects UTF-8 always and all Wide/Ansi functions are removed - except for UTF-8 <-> Unicode conversion functions. The windows platform implementation works internally in unicode only and does UTF-8 <-> Unicode conversion automatically.

Rewritten Event-System
The second big change is the rewrite of the event handling system.
Now ... Read More →

2 years, 10 months ago
For quite some time now, i am fighting with the ALSA output driver in FPL.
I dont know why but for some unknown reason my logitech blutooth headset wont produce any sound in FPL in combination with ALSA output on linux at all. All the parameters looks totally legit, but when i call snd_pcm_writei() i dont hear anything at all - just 100% silence.

Now here comes the weird thing:
The library "mini_al.h" (which is btw the best audio output library), totally works fine for the same audio device, with ALSA as a backend, the same sample rate, same format, ... Read More →

2 years, 10 months ago
At the moment FPL have no way to let you handle the os events directly. It just queues it up internally so you can fetch it later, but this is wrong and needs to be fixed. So i am fixing that right now.

But this will result in a api change regarding fplWindowUpdate(), fpl*Event() and so on.
Also the impact of change will be very huge, because it affects all window and input handling.

I dont expect that to be done very soon so maybe it will be done by mid of october, but i cant promise :-( Read More →

2 years, 11 months ago
At the moment FPL does support ansi strings for every function which uses either a path or a string buffer, but some have two versions: One for ansi and one for widechar. I dont like that way of having two different versions for each function. So i want you guys to help me settle on one solution once and for all.

If you are in a win32 platform you most likely want to use widechar for all your paths - especially when you write applications which deals with any kind of media.

On the other hand in a linux or ... Read More →

2 years, 11 months ago
Hi everyone,

i have a new release for you all and this release is really huge this time. Here are the major changes:

The internal audio system now uses condition-variables instead of signals, which makes signals optional. This was important to get it running on BSD/Unix as well.

I changed the return type of fplPlatformInit() to bool and moved the enum result type into its own function for querying the current platform state. This was really important for me because i always want to use fplPlatformInit() inside a conditional statement.

Input polling
All input polling functions for win32 ... Read More →

2 years, 11 months ago
Hi all,

the 64-bit file IO was not working for x86 linux builds, so i decided to release a short bugfix version - directly after that. Also the icon loading for X11 was broken, so this fix is included in here as well. Hopefully that is it.

As usual docs are updated and release is tagged. Until next time.

Changelog for v0.9.0.1 beta:
- Fixed: [X11] Fixed icon loading was not working at all
- Fixed: [POSIX] fplWriteFileBlock64 was not properly implemented
- Fixed: [POSIX] fplReadFileBlock64 was not properly implemented
Read More →

2 years, 12 months ago
Hi all,

i have another release for you all ;-)

This time its a huge release! I changed and improved FPL a lot and added a ton of new functionality to it. Here are the main changes:

64-bit File-IO:

There are now file methods for working with 64-bit files, such as fplReadFileBlock64, fplWriteFileBlock64, etc. I also added general size_t file functions which maps to the 32 or the 64 version - depending on the compiled platform.

Gamepad Support on Linux:

Gamepad support for linux is now implemented as well - tested with a Logitech F310 Gamepad successfully. But its limited ... Read More →

3 years ago

i have another release for you all ;-)

This time its a short but important release which contains a fix bugfixes and two new things.
On Linux/X11 key release messages was never detected properly, so i fixed that finally.
I added support for dragging and dropping a single file into the window, but only for win32 for the moment (X11 will come soon).
Also i added a new init flag (fplInitFlags_Console) to control when a console gets created. I did that because the detection was not properly working.

Oh and before i forgot, i finally finished the image viewer ... Read More →

3 years, 1 month ago
Hi everyone,

i have another release for you all ;-)

This release contains a few bugfixes and a couple of new stuff.


The waiting for multiple threads in win32 was busted, so i rewritten it without using the broken WaitForMultipleObjects. There was a crash in fplThreadTerminate when the thread has already exited, which i fixed it.

Also i started to use the slow CLion in win32 as well - using the MingW compiler, so i fixed some bugs for that as well. Btw. i dont know why, but visual studio 2017 is extremely unstable right now and always restarts ... Read More →

3 years, 1 month ago
Hi everyone,

i made another release for you all ;-)

This release contains several bugfixes, const correctness for the api, more key mappings and the ability to load icons.
In addition i revised and corrected all the code documentation blocks which are used to generate the doxygen documentation.

But one thing that i noticed is that neither visual studio nor clion shows me any comments at all.
So it seems that both IDE´s have no support for doxygen comments, or i decided for the wrong style.

Of course thats not everything i have done: There are new demos, two new ... Read More →

3 years, 1 month ago
It was quiet on this project for a little while, but now i am back from holiday!
So here is a short progress about the current state of FPL and what is coming next.

What i have done since last time:

Since last time i haven´t done much, just added a few missing key translations (plus, comma, minus, etc.) and fixed up the C++ enum operator macro.

But i added another game demo (FPL_Towadev) which is a technical tower defence clone i am making for a code challenge.

While making this game, i needed a sort of game framework for ... Read More →