Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM This is an example of RGB Workshop Script
- REM I can't think of a better name for it yet but RGB Workshop
- REM is being designed as a learning language for children and
- REM is in alpha stages (v0.0.2a) - for testing purposes it is
- REM available at http://yearofcodes.tumblr.com/RGB-Workshop
- REM a list of available commands are at http://yearofcodes.tumblr.com/rgb-workshop-help
- REM
- REM clear canvas and sets colour to a light blue sort of colour
- clear canvas 10, 10, 16
- REM set colour to a shade of red
- set colour 16, 0, 2
- REM draw box at position 1, 1, 100 wide and 10 height
- draw box 1,1,100,10
- REM set colour to black
- set colour 0, 0, 0
- REM draw star at 50, 50 at 12% width and 12% height of canvas
- draw star 50, 50, 12, 12
- REM FINISH
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement