Printing of Bitmap Fonts optimized


This is just a small update with no change to actual gameplay.

Up until now, the underlying library, VDC-Basic, was only able to copy single characters of bitmap font at a time to the screen.
So, the "slow" printing of characters was actually caused by each single character being printed in a FOR-Loop that iterated over the full string.

This update uses a new keyword in VDC-Basic: VMP (Video Memory Print).
This allows to print a string fully through machine language, leading to print times close to actual basic text PRINTing.

If you want to see the difference, just view a page like Instructions or Acknowledgements. For comparison, see the previous performance eg in this short: https://www.youtube.com/shorts/G8qadTKnzX0

Files

crawl128-1.00b.zip 40 MB
10 days ago
crawl128-100b.d64 170 kB
10 days ago
crawl128-100b.d81 800 kB
10 days ago

Get Crawl 128

Leave a comment

Log in with itch.io to leave a comment.