Background Transition Effects


Functions

void PA_InitBgTransEx (u8 screen, u8 bg)
 Init the BgTransition System.
void PA_InitBgTrans (u8 screen)
 Init the BgTransition System. USES BG0 !! Place your sprite at a priority of 1 or more if you want them to disappear...
void PA_BgTransUpDown (u8 screen, u16 type, u8 vflip, s16 state)
 Up/Down swipping transition effect.
void PA_BgTransLeftRight (u8 screen, u16 type, u8 hflip, s16 state)
 Left/Right swipping transition effect.
void PA_BgTransDiag (u8 screen, u16 type, u8 hflip, u8 vflip, s16 state)
 Diagonal swipping transition effect.
void PA_BgTransCenter (u8 screen, u16 type, u8 invert, s16 state)
 Center transition effect.

Detailed Description

All the different transition effects...

Function Documentation

void PA_BgTransCenter ( u8  screen,
u16  type,
u8  invert,
s16  state 
)

Center transition effect.

Parameters:
screen Chose de screen (0 or 1)
type BgTrans type... (0-4). Use macros TRANS_ROUND, TRANS_DIAMOND , TRANS_CROSS, TRANS_LINES, or TRANS_STAR
invert Invert in/out
state State, from 0 to TRANS_LENGTH. 0 being visible, TRANS_LENGTH invisible

void PA_BgTransDiag ( u8  screen,
u16  type,
u8  hflip,
u8  vflip,
s16  state 
)

Diagonal swipping transition effect.

Parameters:
screen Chose de screen (0 or 1)
type BgTrans type... (0-4). Use macros TRANS_ROUND, TRANS_DIAMOND , TRANS_CROSS, TRANS_LINES, or TRANS_STAR
hflip Horizontal flip...
vflip Vertical flip...
state State, from 0 to TRANS_LENGTH. 0 being visible, TRANS_LENGTH invisible

void PA_BgTransLeftRight ( u8  screen,
u16  type,
u8  hflip,
s16  state 
)

Left/Right swipping transition effect.

Parameters:
screen Chose de screen (0 or 1)
type BgTrans type... (0-4). Use macros TRANS_ROUND, TRANS_DIAMOND , TRANS_CROSS, TRANS_LINES, or TRANS_STAR
hflip Horizontal flip...
state State, from 0 to TRANS_LENGTH. 0 being visible, TRANS_LENGTH invisible

void PA_BgTransUpDown ( u8  screen,
u16  type,
u8  vflip,
s16  state 
)

Up/Down swipping transition effect.

Parameters:
screen Chose de screen (0 or 1)
type BgTrans type... (0-4). Use macros TRANS_ROUND, TRANS_DIAMOND , TRANS_CROSS, TRANS_LINES, or TRANS_STAR
vflip Vertical flip...
state State, from 0 to TRANS_LENGTH. 0 being visible, TRANS_LENGTH invisible

inline void PA_InitBgTrans ( u8  screen  )  [inline]

Init the BgTransition System. USES BG0 !! Place your sprite at a priority of 1 or more if you want them to disappear...

Parameters:
screen Chose de screen (0 or 1)

void PA_InitBgTransEx ( u8  screen,
u8  bg 
)

Init the BgTransition System.

Parameters:
screen Chose de screen (0 or 1)
bg Background (0-3)


Generated on Sat Jun 13 12:55:13 2009 for PAlib - Programmer's Arsenal by  doxygen 1.5.8