[↑]
SmileBASIC4 Replica Reference
SPLAYER
1. Set the layer to which the specified sprite belongs

SPLAYER SpriteNumber,LayerID

Arguments

SpriteNumber

Target sprite number: 0 to 4095

LayerID

ID of the layer to which the sprite belongs: 0 to 7

Example

SPLAYER 100,3
2. Get the layer to which the specified sprite belongs

SPLAYER(SpriteNumber)

Argument

SpriteNumber

Target sprite number: 0 to 4095

Return Value

Layer ID

Example

P=SPLAYER(100)
3. Set the layer to which the sprite to be created belongs

SPLAYER LayerID

Argument

LayerID

0 to 7

・The initial layer ID is 0.

Example

SPLAYER 3
4. Get the layer to which the sprite to be created belongs

SPLAYER()

Return Value

Layer ID

Example

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