This update brings flexibility to skin customization: you can make multiple skins using the same set of spritesheets. To demonstrate this, I merged 4 default skins into 2 folders: gamepad ones and joystick ones are now in their own folders.
I also made two variations on the MegaPad skin to demonstrate it.
Lots of things were going on in the code, but I hope that doesn't affect the use of Mini Padder at all.
Also I decided to change the skin name condition: Mini Padder will always treat skin folder name lowercased, and skin configuration files will follow the name pattern of
skinname.mpskin.json
. This is mostly because I was too scared about seeing many jsons flooding over 'Open Recent' menus in a text editor. At least now I can tell if it's a skin json for Mini Padder, or a mysterious kind of json file.
Wiki page for making a skin should also be updated to reflect the changes, but I am so hungry so it should wait.
Here's the changelog of things you can see:
- skin filename format change:
skinname.json
-> skinname.mpskin.json
.
allowed letters are alphanumeric (case shouldn't matter), and underscore.
- new joystick variation - Astro City button layout
- new megapad variations - button labels for XInput and DInput controllers
This is a change that shouldn't be seen or felt on the user end:
- skinList - list of all selectable skins Mini Padder is aware of - is reformatted to be a Map. I hope I covered every required change for making this type change.