I'm not sure where this is supposed to go, move it if necessary!
This is the tutorial for a programming language I made in scratch (here: http://scratch.mit.edu/projects/juststickman/886099)
>>>>PART ONE <<<<
1. How this works
The way the program works is that you enter a trigger (example, right arrow key), followed by an action (for example, move 10 steps).
2. What do I type in?
Like I said in the first step, you have to type in a trigger and in action in the same line of code. For example: [R]M090S ([R] is the trigger and M090S is the action).
List of triggers:
[R] is right arrow
[L] is left arrow
is up arrow
[D] is down arrow
[ ] is space bar
[M] is mouse
[F] does not need any button to be pressed.
List of actions:
MxxxS- move a certain number of steps
PxxxD- point in a certain direction
CxxxE- change color effect by a number
CxxxS- set color effect to a number
GxxxE- change ghost effect by a number
GxxxS- set ghost effect to a number
SxxxE- change size by a number
SxxxS- set size to a number
{xxx-xxx}- go to a position. The first number is the X coordinate, the second is the Y coordinate
You have to replace the xxx with a 3-digit number. If you want to type in 90, you have to type 090 etc. keep in mind that a negative sign counts as a digit here.
>>>>[u]PART TWO <<<<
Making a simple program
Time to try making something!!! I will show you how to make a simple glowing character that will change directions.
Enter this code (every line is a line of code, after the ":" is my comment):
[F]C010E: this changes the character's color effect, making it "glow"
[F]{000-000}: this sets the character to a certain position on the screen
[R]P090D: this makes the character point to the right
[L]P-90D: this makes the character point to the left
[u]P000D: this makes the character point down
[D]P180D: this makes the character point up
Last edited by juststickman (2010-02-13 11:24:09)
Offline
We can't type M1000S? Aw...
Offline
Kileymeister wrote:
We can't type M1000S? Aw...
That would get you off of the screen.. What's the point?
Offline
juststickman wrote:
Kileymeister wrote:
We can't type M1000S? Aw...
That would get you off of the screen.. What's the point?
Um, um, dunno. Nevermind.
Last edited by Kileymeister (2010-02-13 11:39:55)
Offline
anna_e65 wrote:
im sorry this is all comfusing me
![]()
Of course it is. You are a new member and like many you need to be properly introduced into the would of scratch. Please ask any specific questions you have about scratch on the forums.
Offline
anna_e65 wrote:
im sorry this is all comfusing me
![]()
It would be a good idea to LOOK AT THE PROJECT THAT I LINKED TO.
Offline
Bump...
Offline
juststickman wrote:
anna_e65 wrote:
im sorry this is all comfusing me
![]()
It would be a good idea to LOOK AT THE PROJECT THAT I LINKED TO.
WOW! THAT WAS VERY NICE!
Offline