I have decided to create a project (may not be out yet, so stop searching) that will allow you to create projects. So what else is new? In code! Every scratch feature in code! As far as I know, every other project like this is more limited. So to learn how to use it, read below.
Last edited by maxskywalker (2010-07-12 18:14:08)
Offline
The / / law
_________________________________________________________________________________
The first and most important part of Cat-Dog Games (CDG) is the double slash law. This may sound (look?) complicated (I disagree), but it is really quite simple. All this means is that every command starts with and ends with a / mark.
Last edited by maxskywalker (2010-07-12 18:15:04)
Offline
Saying What's On Your Mind
_________________________________________________________________________________
They first thing to learn is the 'say' block. Simply type /say/. Below the /say/ code type whatever you want to say. While typing what to say, remember that when writing below things (move [ ] steps| say [ ] for [ ] secs) is the only exception to the double slash law. Sorry for the confusion, but it was the best way to program it, and will not place a limit on what you can do. If you want a 'say for ( ) secs' block, simply type /say/ /secs/. Please note the space between /say/ and /secs/. Below the code, first type the time in seconds, then what to say. Make sure that you have enough room to do both of these.
Last edited by maxskywalker (2010-07-13 13:50:58)
Offline
Moving About
_________________________________________________________________________________
The motion blocks are simple. Just type the following:
/goto/
[ x ]
[ y ]
or:
/steps/
[ how many steps ]
or perphaps:
/glito/
[ x ]
[ y ]
[ time in seconds ]
where /gito/ is short for "glide to". Next comes the most commonly used (I think),
/chang/x/
[ how far ]
/chang/y/
[ how far ]
/set/x/
[ x ]
/set/y/
[ y ]
and to show the 'x' and 'y' variables, simply type /x/ and /y/
Offline
Extension to above
/\
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To turn, type /turn/R/ [ degrees ] or, to turn counter-clockwise /turn/L/.
Offline
Looks aren't a necessity, but they help
_________________________________________________________________________________
We can now examine the Looks scripts. The only costumes you get in 0.5 are Cat 1 A and Cat 1 B, so this won't be too useful. But hey, you'll need it for later, and it might be useful. Just type /nexctos/ for next costume, and, though it will be useless with only two costumes, but you will need it in 1.0. The code is /swicost/ and below the script, type which costume you want (in numbers). Next, the effect scripts.
Color change
/chang/col/
[ how much ]
Whirl change
/chang/whr/
Fisheye change
/chang/fsh/
Pixelate change
/chang/pix/
Mosaic change
/chang/mos/
Brightness change
/chang/bri/
Ghost change
chang/gho/
and for set, change the /chang/ to /set/.
Offline
To clear graphic effects, type /clear/graph/. Size is the easiest. Simply write
/size/to/
[ wanted size ]
or
/chang/size/
[ how much ]
Also, you can use the 'go to front' block with /goto/lay/ and back a layer(s) with the code
/gobak/lay/
[ how many layers ].
Finally, there are the show/hide scripts.
/show/
/hide/.
I almost forgot, there is the think:
/think/
[ what to think ]
or
/think/
[ how long ]
[ what to think ]
Offline
To finish this section, the costume scripts:
Next costume would be:
/nextCost/
and to set a costume:
/cost/
[costume#]
Please note that if I ever download panther, you will be able to draw your own costumes.
Last edited by maxskywalker (2010-07-13 13:54:20)
Offline
Offline