DoubleDragons
Member
This is my solution for making that pesky "loading..." text go away for a game. I'm fine with a few seconds of black in between levels rather than this flash of "loading...".
You can trick the engine into drawing a literal "invisible" object.
You can trick the engine into drawing a literal "invisible" object.
- Keep your coordinate lines but change the final font index parameter to 0:
Code:loadingbg 1 -1000 -1000 0 -1000 -1000 0 loadingbg2 1 -1000 -1000 0 -1000 -1000 0
- In the OpenBOR engine, Color Index 0 is strictly reserved as the alpha transparency mask (color-keying).
- By setting the font type and bar parameters to 0, the engine translates the artifact's pixel color data as transparent, making the artifact completely invisible to the screen buffer.