I've put together a short tutorial on Lists for your viewing pleasure.
http://scratch.mit.edu/projects/Paddle2See/260208
This project also implements a small language of it's own (using lists) to control the dialog and sprite movement. The syntax is described in the Project Notes. Enjoy and please tell me if there are errors or suggestions for improvement.
Offline
Lanie wrote:
Thanks i need that!
Woah laine your a fourm modderator!?! how do you get to do that again?
Offline
logan996 wrote:
Lanie wrote:
Thanks i need that!
Woah laine your a fourm modderator!?! how do you get to do that again?
She became a mod several months ago.
Paddle2See: Excellent project! How did you do the notepad thing?
Offline
coolstuff wrote:
Paddle2See: Excellent project! How did you do the notepad thing?
Well, to get data from Notepad into a list, I save the text file to my desktop (so I can find it easily). Then, I right-click on the list watcher, in the grey border somewhere and pick the Import option.
If you're asking how I wrote the language parsing stuff...I used the cool new feature where you can Broadcast a variable (or a list item). I broadcast the first item in the list (assuming it is a command) and then read and process the arguments for that command. I move the pointer to the next command and continue like that until done. It has very little error checking...but it actually is quite robust because you can broadcast anything you like as a message without error.
Offline