Chapter 2 Display Functions; Overlapping Obj And Bg - Nintendo GAME BOY Programming Manual

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

2.4 Overlapping OBJ and BG

When objects are displayed, overlapping objects and background are displayed according to the
display priority flags for OBJ and BG, as indicated below. The BG display priority flag can be
used to assign BG display priority to individual characters.
Display Priority Flag
BG
0:
Use OBJ
Priority
1:
Highest
Priority to BG
(by character)
Note:
obj and bg represent dot data (01, 10, 11) for OBJ and BG, respectively.
OBJ
OBJ
0:
00
Priority to
00
OBJ
obj
obj
1:
00
Priority to
00
BG
obj
obj
00
0
00
1
obj
obj
75
Chapter 2: Display Functions
Dot Data
BG
Palette
00
BG
bg
BG
00
OBJ
bg
OBJ
00
BG
bg
BG
00
OBJ
bg
BG
00
BG
bg
BG
00
OBJ
bg
BG
Screen Display
Data
00
bg
obj
obj
00
bg
obj
bg
00
bg
obj
bg

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents