Before we start lets just look at the interface of SimpleCode.
Pretty simple right?
Its obvious what most things do. If your confused here is what they do- The Run button runs the code you have written, the about button tells you what version you are running and some basic information, the command list is a dictionary that has a list of all the code that can be written, the Variable labeled MouseY and MouseX tell you where your mouse is so you can position sprites, and finally the list named code is where all your code goes.
*****************************************
Ok lets get started, first you'll probably want to enter code into the list. This can easily be done by pressing the space button on your keyboard to clear all code simply type clear and to delete the last line of code press the up arrow key.
****************************************
There are three main types of commands that are used in SimpleCode, I will cover them all.
INPUT COMMANDS
-------------------------
all input commands have a () at the end of them. They are used to get input.
I.E.
say()
hello
finish[]
the say() is an input command and it will tell the sprite to say what the line under it contains in this case hello.
NORMAL COMMANDS
----------------------------
Normal commands all have a [] at the end of them. They all stay the same.
I.E.
GoToMouse[]
finish[]
As you can imagine the sprite will jump to the mouse.
MATH COMMANDS
------------------------
Math commands always end with {}. They are used like this:
I.E.
Add{}
4
1
finish[]
This script will add the two numbers together but it won't do anything.
To get the program to do something you add
say()
Manswer
after the one and before the finish[]
***************************************************
Here are some good habits to get used to while programming with SimpleCode:
- always add a finish[] at the end of your programs unless you use a repeat() or forever[]
*not many more*
You can try simple code here but i recommend downloading it: http://scratch.mit.edu/projects/slinger/1982504
*************************************************************************************************************************
To save code you must download SimpleCode then writ the code and lastly right click on the list and click export.
To open code right click on the code list and click import and click on the file you want.
*************************************************************************************************************************
Please report any bugs to me.
Please give me your code so i can try it.
Can someone review this?
Offline