Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Latest commit

 

History

History
81 lines (67 loc) · 2.56 KB

SPPAGE.org

File metadata and controls

81 lines (67 loc) · 2.56 KB

SPPAGE

Top | Up (Sprite) | < Previous (SPFUNC) | Next (SPCLIP) >

Gets and sets the graphic page that will be used when displaying sprites.

Syntax

SPPAGE page%
ParameterDescription
page%The graphic page to be used as the sprite sheet. Must be a number from 0 to 5.
SPPAGE OUT page%
OutputDescription
page%The current graphic page used as the sprite sheet. This will be a number from 0 to 5.

Examples

ACLS

SPPAGE 5 'This will use the background tile sheet as the sprite sheet.
SPSET 0,1
SPOFS 0,200,120

WAIT 60 'Wait a second

SPPAGE 3 'This will use the third graphic page. It's empty by default.
GPAGE 0,3 'Display page 0, edit page 3.
GLINE 16,0,31,15,#WHITE 'Draw a line onto the graphic page, also changing the appearance of the sprite defined before.

Version Information

3.2.0

OUT variant added. 1

References

1 SmileBoom, “Additions/Changes in Ver. 3.2.0 (June 17, 2015)” http://smilebasic.com/en/debug/archive/


Top | Up (Sprite) | < Previous (SPFUNC) | Next (SPCLIP) >