SetGfxPlane

Last Modified: 1/18/2021

Sets the Plane for all tile drawing commands.

Arguments

NameTypeRequiredDescription
Plane System Identifier Yes The Plane set for draw commands.

Example

Syntax: SetGfxPlane <Plane>
    SetGfxPlane Scroll_A
    DrawTile 1,0,0
    SetGfxPlane Scroll_B
    DrawTile 2,0,0
    
    Scroll Right,6

Remarks

Without using the Priority() function, the default Plane ordering is:
  • Sprite_Plane sits on top of Scroll_A
  • Scroll_A sits on top of Scroll_B.
  • Scroll_B sits on top of Window.
  • Window overwrites Scroll_A where visible.

You can't draw tiles directly to the Sprite_Plane - this is where Sprite's are drawn by the VDP.

See Also

Scroll, Scroll2, SetScrollMode, SetScrollPlane