Hello everyone.
This is a hard fork of the PK2 SDL I’ve created.
I add brand-new features, fix a lot of bugs (both PK2 SDL and legacy PK2 bugs and glitches) and so on.
There is also a brand-new sprite format - .spr2, which is a regular plain text JSON inside.
The legacy .spr format is still supported for backward compatibility reasons.
“2” is added automatically to the sprite name, so you don’t have to update your old levels.
Suppose there is a sprite called “name.spr” in your level, firstly “name.spr2” is looked for (it has a higher priority). If not found, “name.spr” is looked for.
I replace old c-style code with modern c++ (17+).
For example, I replace obsolete c-style arrays with std::vector, std::string and std::array.
c-style arrays are intended to remain only where they are truly necessary like supporting the legacy .spr / .map format.
I translate all the Finnish comments and variable names to English.
I completely don’t know Finnish. I just use Google Translate and analyse the code. So if you find something translated incorrectly, please contact me. I will be grateful.
I've added a lot of new features to the sprite system.
The source code is available here:
github.com/SaturninTheAlien/pk2_gretaIf you want to run on Linux or MacOS Apple Silicon (both tested), just follow the instructions.
I encourage to read README.md on Github if you want to know more about new features, fixed bugs and so on.
The last compiled version for Windows (snapshot-20, corresponds to version v0.107):
drive.google.com/file/d/1ydz1bYcrB4dP95KKnsvWo04Uod1AI31O/view?usp=drive_link(as always
VS C++ redistributable is required if there is any missing DLL).
the "Debug Island" for testing new features (now separately to reduce the zip file size)
drive.google.com/file/d/16wqMerjmVIPkbH2WU9kTrpKT0xOYi5nZ/view?usp=drive_link