Skip to main content

Graphics

Image

Image Load

Load an image into the VDP for later usage.
Image Load
Image
Background 1
Image Handle
$Variable0
Load Palette
Palette Slot
PAL0 (Background)
  • Image: The image to load into the VDP.
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.
  • Palette Slot: The palette slot you want to use.

Image Replace

Replaces the initial image used on the scene with the new one, useful for scroll automatic processing as well as Scene Redraws, etc.
Image Replace
Image Handle
$Variable0
Plane
Plane B (Background)
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.
  • Plane: The plane we want to use

Image Unload

Unload an image from VDP.
Image Unload
Image Handle
$Variable0
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.

Image Draw

Draw an image loaded into the VDP.
Image Draw
Image Handle
$Variable0
X
0
Y
0
Palette Slot
PAL0 (Background)
Plane
Plane B (Background)
Priority
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.
  • X: The horizontal position.
  • Y: The vertical position.
  • Palette Slot: The palette slot you want to use.
  • Plane: The plane we want to use

Image Update Scroll

Process the scrolling for the given image, useful for specific menus, to auto-update use Image Replace event for long replacement.
Image Update Scroll
Image Handle
$Variable0
Plane
Plane B (Background)
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.
  • Plane: The plane we want to use

Image Get Background

Load the current scene Background handle into a variable to do draw calls..
Image Get Background
Image Handle
$Variable0
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.

Image Get Foreground

Load the current scene Foreground handle into a variable to do draw calls..
Image Get Foreground
Image Handle
$Variable0
  • Image Handle: The image handle to operate with the image. You can use this handle to draw or unload the image.

Palettes

Load Palettes

Replace some or all of the current scene's palettes instantly.
Load Palettes
Palettes
0: Palette 0                                                                             
1: Palette 1                                                                             
2: Palette 2                                                                             
3: Palette 3                                                                             
  • Palettes: The new palettes to use.

Preload Palettes

Preload some or all of the current scene's palettes, they won't be replaced into CRAM until you invoke a fade in.
Preload Palettes
Palettes
0: Palette 0                                                                             
1: Palette 1                                                                             
2: Palette 2                                                                             
3: Palette 3                                                                             
  • Palettes: The new palettes to use.

Palette Set Color

Change the selected color from the selected palette to the values given. It's faster than RGB method due to colors are compiled and not calculated on runtime.
Palette Set Color
Palette Slot
PAL0 (Background)
Color Index
0
Color
R
255
G
255
B
255
  • Palette Slot: The palette slot you want to use.
  • Color Index: The color index to use inside the palette.

Palette Set Color RGB

Change the selected color from the selected palette to the RGB values given.
Palette Set Color RGB
Palette Slot
PAL0 (Background)
Color Index
0
Color
R
0
G
0
B
0
  • Palette Slot: The palette slot you want to use.
  • Color Index: The color index to use inside the palette.