LoginLogin

BGSCREEN stuff

Root / Programming Questions / [.]

MZ952Created:
XSCREEN 3
DISPLAY 1
BGPAGE 1
BGSCREEN 0,20,15,16
BGSCREEN 1,20,15,16
BGSCREEN 2,1,1,8
> Out of range in 0:8(BGSCREEN:1) So, I'm a bit confused here. The first two BGSCREENs create two BG layers 320x240 pixel units in size, leaving a significant portion of BGPAGE's 512x512 area untapped, which I intended to tap with a third BG layer, or the third BGSCREEN instruction, but no matter what width/height/character size I put in for it, it throws me an error. Ultimately, I think I'm lacking some knowledge about how the BG page/screen/layer stuff works. What's going on here? Edit: seems to be a problem with the layer parameter of BGSCREEN. Is this the sort of thing where both the top and bottom screens have x amount of layers assigned to them, like how both screens have y amount of sprite capacity?

By default, XSCREEN gives half of the BG layers and sprites (2 BG, 256 sprites) to each display.

Ah, okay. Is there any way to change that, or am I shit out of luck? ohhhhhh. thanks