Hello
A few years ago I modified an old text blitting example by Chris Burrows. It worked well enough but for my current project I needed some more features. So here is an example MFA of my new Text Blitter. It should hopefully work on any platform!
- 3 active objects (text blitter, input blitter, and text character)
- String Parser object
- Edit object (for input blitting only)
The MFA also has examples of integer scaling and a pause/options/dialogue menu using subapps. These use:
- Window Control object
- Layer object
- Subapp objects
Aside from basic text blitting I added some nice extra features:
- left/centre/right alignment
- 3 blitting modes (top down, bottom up, and top down then scrolling up)
- autoscroll for the latter 2 of those modes with adjustable scroll speed
- text size scaling (and if no scaling is present, it skips the scaling process to save time)
- more stuff
I hope someone can find this useful, it shouldn't be too hard to use and I made some detailed instructions. I have tested it a lot and I think all the bugs are taken care of. But if you find one, let me know!