0.0.4 Beta
Another release to wrap up some of the changes toward the end of this surprisingly eventful week.
First and foremost thank you @mylogon341 who has overhauled the guts of the system menu, making it a little easier to parse. I've taken the torch here and gutted even more repeated code. To be frank, it's probably all going to be re-written but it'll keep us going for now!
Ever busy @Daft-Freak has given us glorious new cross-platform asset pipeline that builds upon my quick-and-dirty linker kludge to provide full source-file to C-include build-time asset conversion. That means you can add your sprites.png
image to your project via your CMakeLists.txt and it'll be converted by our sprite builder and compiled into your project for you to use. If your image changes, or the tool changes then your assets will be rebuilt automagically. This is an epic change that really simplifies maintaining your assets, so you should read about it here: #197
@Daft-Freak has also given us get_file_length
for getting the size of files on the SD card. This joins open_file
, read_file
, close_file
and list_files
for a fairly comprehensive low-level SD-card access API. If you're wondering why he wants all this goodness then you should check out the source for his 32Blit Music Player here- https://github.com/Daft-Freak/32blit-music-player
@tinwhisker has tweaked the audio-wave example sample rate to 22050 to match the internal rate for simplicity.
I've introduced "persistence" which is a simple convinience wrapper in the 32Blit HAL (that's the code that glues our engine with the STM32) around 1K of RAM at the end of RAM_D3. By not initialising this RAM we can rely on it to stay set between resets and applications, using a "magic word" value we can tell whether it's been set before and set some defaults. The practical upshot of this is that if you set your "brightness" or "volume" they will stay set until you power cycle. Yay! (only applies to apps compiled with this feature)
TLDR
- New persistence feature to preserve volume/brightness across reboots
- New awesome asset pipeline please read: #197
- File API now has
get_file_length
so it's nicely rounded off - sprite-builder now generates sprites with the correct pixel format (0x02 instead of 0x03)
- Various fixes, tweaks and improvements under the hood
As always the beta backers have brought us more enthusiasm and good times than we could have hoped for. To say nothing of the amazing features, tools and insight they've brought to the mix. Thanks all!