ScratchData LogoScratchData
Back to HashBrown_Studios's profile

HashBasic v1.0

HAHashBrown_Studios•Created September 26, 2016
HashBasic v1.0
4
2
27 views
View on Scratch

Description

WARNING THIS IS PRETTY COMPLICATED Hello! I have made my own Programming Language! It is called HashBasic! It is fairly simple for now, but I have big plans THIS IS HOW TO USE IT!!! (READ ALL!!) there are certain lines of code in HashBasic This is one... d so, d will draw a line, from X1,Y1 to X2,Y2 you must add + or - before a number so 100 on the stage would be +100 in HashBasic And, all numbers MUST have 3 digits, so 10 would be 010 Here is an example d+000+000-100-100 try putting it in, press enter, then run, then press enter BOOM DIAGONAL LINE So, what does the computer see? first, it reads the d, it now knows that this is code for drawing a line then, it reads the +000+000 it know knows to start at 0,0 on the stage (the center) then, when it reads -100-100 it knows to move to -100,-100 on the board, so it creates a line! (you can also input c and run it to remove a line of code) NEXT!!! using fnumber (for must be 3 digits e.g: 001 or 023) will change the pen colour by the amount, so... with the code you had before, add f025 to the code, this will change the pen colour by 25! also, add loop to the bottom what does loop do? When you use it, and then run the code it will run whatever is above it, forever!!!! now we have a RRAAIINNBOWW LLIINNEE!!! TO CLEAR CODE TYPE x INTO THE INPUT AND RUN THE CODE! typing w(number) will wait the specified amount of seconds Whoever can remix this and make a cool project using only HashBasic code, will get a follow! That's all for now, HAVE FUN!

Project Details

Project ID122741709
CreatedSeptember 26, 2016
Last ModifiedAugust 27, 2018
SharedSeptember 26, 2016
Visibilityvisible
CommentsAllowed