Reference Guide
Using Routines
Tutorials

Learning SCL

The best way to learn SCL™ is by experimenting with examples. You will find many code examples on this site that allow you to edit the code to run it immediately.

Full Reference Tutorial, Examples
Using Routines Using Data
Creating Levels Chaining Alts Together

SCL™ Basics

create sprite from fan.png as spinner
    where x=100 y=100 center=90,90
end
create routine as Start
    launch spinner
    run routine ThisWay
end
create routine as ThisWay
    insert into spinner where
        alt=(sub create rotation where speed=130
             and distance=135 completion=ThatWay end)
end
create routine as ThatWay
    insert into spinner where
        alt=(sub create rotation where speed=-130
             and distance=135 completion=ThisWay end)
end

SCL™ code consists of:

Sprites
define images that are animated
Routines
control how your animation plays
Alterations
define types of animations to be applied to sprites
Events
control interactions between sprites and users
Try It
editable