It's 2x faster, but how?
Originally SpritePile was meant to include an alpha channel so that you could create glass and windows. However I further into development decided against it but the damage had already been done. There were already hundreds of references to the alpha channel in the code base. I eventually forgot about it but today I stumbled into it again while writing a quick preview tool for a co-worker.
I spent the next hour or so skimming the code base and removing all the alpha-related code, hence all functionality is at least 2x faster. Bucket tool? Twice as fast. Selection tool? Twice as fast. Everything had to move/manipulate both the color and alpha channels. Now it's only color that it has to deal with.
Ok, rant is over
- All tools, exports, and imports are 2x faster (or more in some cases)
- Fixed slice importing causing canvas to scale up each time
- Notifications for exporting/importing are now working correctly, previously they would pop-up when you opened the menus themselves
[i]Thanks for the support as always!
You can find me on Twitter![/i]