[↑]
SmileBASIC4 Replica Reference
SPPAGE
1. Set the reference graphic page of the specified sprite

SPPAGE SpriteNumber,GraphicPage

Arguments

SpriteNumber

Target sprite number: 0 to 4095

GraphicPage

-1 to 5

・The default sprite page is 4.

Example

SPPAGE 100, 3
2. Get the reference graphic page of the specified sprite

SPPAGE(SpriteNumber)

Argument

SpriteNumber

Target sprite number: 0 to 4095

Return Value

Graphic page number: -1 to 5

Example

P=SPPAGE(100)
3. Set the graphic page assigned to the sprite to be created

SPPAGE GraphicPage

Argument

GraphicPage

-1 to 5 (GRP-1 to GRP5)

The initial sprite page is 4 (GRP4)

Example

SPPAGE 3
4. Get the graphic page assigned to the sprite to be created

SPPAGE()

Return Value

Graphic page number: -1 to 5

Example

P=SPPAGE()
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
|