I've got everything working in hi or lo res with the single exception of transitions. And I'm working past that one.
I'm not the only one who wants a transition class rewrite. Without taking apart the encrypted DLL, though... I don't really see it happening.
So here's my plan.
What I'm looking for is support, assistance, ideas, anything that anyone wants to offer, that might be of use in this quest.
I'm not the only one who wants a transition class rewrite. Without taking apart the encrypted DLL, though... I don't really see it happening.
So here's my plan.
The basics of transitions is this: load an image to use as the transition (doesn't have to be greyscale). Scan the pixels of it, and, starting with a luminosity of 0 (black), add these pixels to the transparency map of the image. Increase the luminosity to 3. Add these pixels to the map. Then raise it to 5. Rinse, repeat until you hit 255 luminosity (white).
Unfortunately, Ruby doesn't appear to have native get_pixel functionality. So we're going to have to outsource this.
I plan to use the freeware library netpbm to convert the image to pnm format- scan and make the adjustments, then pass it through to RMXP, which will in turn display the image, immediately dispose it, and display the next image.
As a base image, we can take and display a screenshot, then begin to use our loaded and changing "transparency map" to perform the transition.
Right now I'm learning to call DLLs from RMXP. I am a low-level scripter, but have a nack for figuring things out. Once I get past this, within a week I should have a functional (although laggy, still functional) transition rewrite.
Unfortunately, Ruby doesn't appear to have native get_pixel functionality. So we're going to have to outsource this.
I plan to use the freeware library netpbm to convert the image to pnm format- scan and make the adjustments, then pass it through to RMXP, which will in turn display the image, immediately dispose it, and display the next image.
As a base image, we can take and display a screenshot, then begin to use our loaded and changing "transparency map" to perform the transition.
Right now I'm learning to call DLLs from RMXP. I am a low-level scripter, but have a nack for figuring things out. Once I get past this, within a week I should have a functional (although laggy, still functional) transition rewrite.
What I'm looking for is support, assistance, ideas, anything that anyone wants to offer, that might be of use in this quest.