Okay! Well, I saved my HUD as a background image. I called it "SC_DKHT_GMA_L0". I gave it an array called MAP1. Here is the code I used to draw it.
'LOAD GAME A OR B MAP
@GAMEAB
LOAD "DAT:SC:DKHT_GMA_L0",MAP1,0
GFILL 32,0,292,240,RGB(0,191,255)
BGSCREEN 0,50,30
BGLOAD 0,0,0,32,30,MAP1
BGSCALE 0,0.5,0.5
By writing this down, a blue box appears like expected, but the HUD didn't appear at all.
Hmm... I don't think the HUD image needs to be stored as an array. Try using
LOAD"GRP0:FILENAME",0
after the GFILL command. If that doesn't work, I'll look into the commands a bit more.
Hmm... That gave me an Illegal File Format error. I just read about BGLOAD and it says the format is "BGLOAD Layer, [Start point X, Start point Y, Width, Height,] Numerical value array."
I think I have to assign it to an array. I just don't know if I'm doing it right.
I really appreciate the help though!
Oh, brother... I was thinking of graphics, not BG tiles! Forget everything I said...
I'm not really familiar with these sorts of BG commands, I usually use different methods of loading them. All I can suggest is, try changing the ":" after the "SC" in the file name to a "_" instead. It also might help to put a "%" after each instance of the MAP1 array so that it's a string, but that might...
not be necessary. Another thing is that I don't think the BG load command needs to be as complicated as you have it. Try changing it to just:
BGLOAD 0, MAP1
Of course, it always helps to mess around with your code to see what changes and possibly find where the issue is. For example, you could put a "'" at the beginning of the line with the BGSCALE command to temporarily disable it.