ScratchData LogoScratchData
Back to csf30816's profile

Pen Code: A new language

CScsf30816•Created July 31, 2016
Pen Code: A new language
3
3
78 views
View on Scratch

Instructions

This is a work-in-progress pen coding language. It is based of drawing with JS but commands are different. 100% me! Commands: circle: x y width - draws a circle at X: x, Y: y, and Width: width color: #color - sets the pen color to a hex color, etc. #000 penSize: size - set's the pen size to size drawEllipse: x y w h - draws a oval using width, height, x, and y clear: - clears the screen drawline: x y x2 y2 - draws a line from x y to x2 y2 write: txt,h,w,spacing,x,y,thickness,color - EX | write: hi,20,40,1.5,0,0,10,#0f8bc0 saveit: - Saves project loadproject: - Loads a project loadnoclear - Loads a project with out clearing the screen That's all for now, more coming soon :) Have fun :)

Description

HOW-TO! Okay, if you are going to write your code in notepad or something then after each line paste this ¬ then it will know that it is an enter key Share projects here: https://scratch.mit.edu/discuss/topic/211702

Project Details

Project ID117438087
CreatedJuly 31, 2016
Last ModifiedNovember 6, 2016
SharedAugust 1, 2016
Visibilityvisible
CommentsAllowed