[↑]
FADE
- Apply a fade effect to the display
FADE FadeColor
- Apply fade-in and fade-out effects
FADE FadeColor,Time
- Get the current fade color
FADE()
1. Apply a fade effect to the display
FADE FadeColor
・The effect is the same as covering the entire display with a sprite filled with a fade color.
Argument
FadeColor
Fade color code
・The greater the alpha component, the darker the color.
2. Apply fade-in and fade-out effects
FADE FadeColor,Time
・Over time, change the fade color gradually from the current fade color to the specified color.
Arguments
FadeColor
Fade color code
・The greater the alpha component, the darker the color.
・If the alpha component is 255, it's fade out effect.
・If the alpha component is 0, it's fade-in effect.
Time
Specify the fade effect time with the frame count
・If there is no processing loss, 60 is 1 second.
3. Get the current fade color
FADE()
Return Value
Current fade color
・You can also get the color during fade-in/fade-out.
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the
official reference site
of the
SmileBoom Co.Ltd.
that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it.
For automatic update, contents may become improper.
Please confirm the correct content in an official site.
June 3, 2020
by mim
OK
|