Start
To begin, we have used the style sheet to resize the native canvas size from 600x800 to 240x320. This has the effect of scaling the canvas perfectly but the coordinate system is still 600x800 from the perspective of our code.
Let's start at the most basic: Putting our first graphic on screen. Don't worry about where the graphics come from or where they are stored. That is taken care of in the SCL development studio. For these purposes, just know they are ready to use.
// CREATE A SPRITE
create sprite from title.png as TitleImg
where x=0 y=0
end
// ALL SCL BEGINS WITH A CASE-SENSITIVE
// ROUTINE CALLED "Start"
create routine as Start
launch TitleImg
end
Start is the first routine to run when the script starts. It is case-sensitive. The first thing to do is launch the sprite that we will use for our background.