Discuss Scratch

liam48D
Scratcher
1000+ posts

(Coming Soon) BaseCode (+ Tutorial)


Welcome to BaseCode, a program made in Scratch that adds in programming via text, and makes modding it incredibly easy.

User Guide
The Text Editor
BaseCode is a simple text editor when run. You can use it by writing something with the following syntax:
1 HELLO WORD.
The 1 means that you want to set line one of the text to HELLO WORD. Unfortunately, it only supports capital letters, making it similar to programming languages such as BASIC (it also lacks brackets, double-quotes, exclamation points, and some relatively important characters that will be fixed in the future).

If you press enter after writing 1 HELLO WORLD. you will see this:



Now, there are a few more commands you should know. The first one is READ. It will print out the text in your file:



There's also an option for READ. It's N. This will READ the text with Numbers beside it, for each line. To use an option, just include it in your command.

READ N

(I've shortened it to all the new output rather than the whole page.)

Now, you might have been using it for a while, and then you'd get a big screen full of text. You press one more enter, and then.. it just stops. It makes a beep noise and stops responding.



This is because your PREF for PAGEPAUSE is 1. (Let me translate that. You have a preference called page pause that is defaulted at 1.) PAGEPAUSE is a preference that will pause the system when your page fills up; all you need to do is press space to resume. This is to give you a chance to read what you write. To turn it off, just write PREF PAGEPAUSE.

Try Code
BaseCode is also a coding tool; that's what it was meant for originally. It was based off of DOS and BASIC, so it has some similar commands. For example, ECHO will echo whatever you typed in to the console. So if you type ECHO HELLO WORD., it will display HELLO WORD. to the console.



So, click the stop sign to turn off BaseCode, then press the green flag to turn it on again. Write this:

1 ECHO HELLO WORD.
2 ECHO I LIKE THIS PROGRAM. I WONDER IF YOU DO?
3 ECHO I'M GOING TO CLEAR THE SCREEN.
4 CLEAR

Now, check out this new command:

RUN

Look at what comes out!

(Press space to clear the screen, if PAGEPAUSE is activated.)

Can you see how this might come in handy? There aren't very many commands (write cmds to see them all) in the unmodified version of BaseCode, but after all, it's made for modding! See the developers guide for information on making your own commands.

Developers Guide
Coming Soon, with v002.

Downloads (Must be opened with the Scratch 2 program / application)
v001


SIGNATURES


BIG:
[url=http://scratch.mit.edu/discuss/post/550634][img]http://i78.photobucket.com/albums/j82/Dayswithoutrain/basecode_2d_logo-1.png[/img][/url]


SMALL:
[url=http://scratch.mit.edu/discuss/post/550634][img]http://i78.photobucket.com/albums/j82/Dayswithoutrain/basecode_small_logo-1.png[/img][/url]

Last edited by liam48D (Nov. 13, 2014 22:30:36)


202e-202e-202e-202e-202e UNI-CODE~~~~~
__init__
Scratcher
1000+ posts

(Coming Soon) BaseCode (+ Tutorial)

Why don't you upload it to the website?

thisandagain pls explain
__init__
Scratcher
1000+ posts

(Coming Soon) BaseCode (+ Tutorial)

Also you should make it not case-sensitive.

thisandagain pls explain
liam48D
Scratcher
1000+ posts

(Coming Soon) BaseCode (+ Tutorial)

__init__ wrote:

Why don't you upload it to the website?
Because it's not finished.

__init__ wrote:

Also you should make it not case-sensitive.
I probably will, in the final (or a future) version.

202e-202e-202e-202e-202e UNI-CODE~~~~~
Beboy57
Scratcher
100+ posts

(Coming Soon) BaseCode (+ Tutorial)

Base Code FOREVER!!!
move (415) steps forward in programming

Hey dude!
My name is, Skrillex Beboy!
And, why don't you take a look at my music?
MADEON FTW!

Powered by DjangoBB