Class Display
- Namespace
- GB
- Assembly
- GBSharp.Framework.dll
The LCD controller.
public static class Display
- Inheritance
-
Display
- Inherited Members
Methods
Disable()
Turns the LCD off. Only safe during VBlank.
[Native("gbs_display_off")]
public static void Disable()
Enable()
Turns the LCD on.
[Native("gbs_display_on")]
public static void Enable()
HideBackground()
Hides the background layer.
[Native("gbs_hide_background")]
public static void HideBackground()
HideSprites()
Hides the sprite layer.
[Native("gbs_hide_sprites")]
public static void HideSprites()
HideWindow()
Hides the window layer.
[Native("gbs_hide_window")]
public static void HideWindow()
ShowBackground()
Makes the background layer visible.
[Native("gbs_show_background")]
public static void ShowBackground()
ShowSprites()
Makes the sprite layer visible.
[Native("gbs_show_sprites")]
public static void ShowSprites()
ShowWindow()
Makes the window layer visible.
[Native("gbs_show_window")]
public static void ShowWindow()
UseShortSprites()
Switches every sprite back to 8x8.
[Native("gbs_sprites_8x8")]
public static void UseShortSprites()
UseTallSprites()
Switches every sprite to 8x16.
[Native("gbs_sprites_8x16")]
public static void UseTallSprites()
Remarks
This is a global mode, not a per-sprite one. In 8x16 mode a sprite's tile index has its low bit ignored, so tile 5 and tile 4 name the same pair.