GBDK 2020 Docs  4.2.0
API Documentation for GBDK 2020
OAM_item_t Struct Reference

#include <gbdk-lib/include/gb/gb.h>

Data Fields

uint8_t y
 
uint8_t x
 
uint8_t tile
 
uint8_t prop
 

Detailed Description

Sprite Attributes structure

Parameters
xX Coordinate of the sprite on screen
yY Coordinate of the sprite on screen
tileSprite tile number (see set_sprite_tile)
propOAM Property Flags (see set_sprite_prop)

Sprite Attributes structure

Parameters
xX Coordinate of the sprite on screen
yY Coordinate of the sprite on screen - 1
tileSprite tile number (see set_sprite_tile)
propOAM Property Flags (see set_sprite_prop)

Field Documentation

◆ y

uint8_t OAM_item_t::y

◆ x

uint8_t OAM_item_t::x

◆ tile

uint8_t OAM_item_t::tile

◆ prop

uint8_t OAM_item_t::prop

The documentation for this struct was generated from the following files: