I haven't been using it that much, so I hope I'm wrong about these flaws:
1. There is an inability to use arrays or even save and load external files at runtime. This is quite essential to the way I program games.
2. There is no commenting your code! This is even more important than the last one and can help with example files.
There are more problems I have with Scratch, but these are the only real important problems.
Offline
NotATaco wrote:
I haven't been using it that much, so I hope I'm wrong about these flaws:
1. There is an inability to use arrays or even save and load external files at runtime. This is quite essential to the way I program games.
2. There is no commenting your code! This is even more important than the last one and can help with example files.
There are more problems I have with Scratch, but these are the only real important problems.
Not sure about the first question. But you can comment your code--right click on the script section of the program, and select "comment."
Offline
You can also do arrays, see the "list" function. But I recently suggested a cfg, ini, or something like that capability in the Suggestions forum and got almost no responses. Crazy, eh?
Offline
NotATaco wrote:
1. There is an inability to use arrays or even save and load external files at runtime. This is quite essential to the way I program games.
Arrays are just called "lists" in scratch. But yeah, no saving/loading unfortunately
NotATaco wrote:
2. There is no commenting your code! This is even more important than the last one and can help with example files.
Just right-click in the scripts area and select "add comment". You can even attach comments to blocks.
Scratch is pretty lacking in terms of features, obviously. But if you're an experienced programmer, you can make some amazing projects (just look at archmage's stuff).
Offline
hmnwilson wrote:
...But yeah, no saving/loading unfortunately
...
Yeah, there is, actually...
Right-click on the list and select export. Then you can export the contents of the list to a .txt file. Right-click and select import list and select that file, and the contents of that file will be put in the list.
Offline
The-Whiz: In Runtime.
Offline
The biggest issues I have with scratch are:
1. Its dead slow. Stuff I code in flash takes about 80-90 less CPU power. Fairly basic scratch games take tons of ram and lots of CPU power. Putting music in game also makes lag much worse.
2.There is a built in waiting period for each block. This means that scratch must wait about 0.1 seconds before moving onto the next block and there is nothing you can do about it.
3. You can't duplicate sprites at runtime.
4. No multidimensional arrays.
5.No saving/loading from external files
Offline
archmage wrote:
Its dead slow.
Agreed.
archmage wrote:
2.There is a built in waiting period for each block. This means that scratch must wait about 0.1 seconds before moving onto the next block and there is nothing you can do about it.
The waiting period only occurs when the end of a forever or repeat block is reached. The waiting period is 1/40th of a second.
Even when no repea blocks are used Scratch still buckles under strain.
Last edited by RHY3756547 (2009-12-11 12:27:00)
Offline
archmage wrote:
The biggest issues I have with scratch are:
1. Its dead slow. Stuff I code in flash takes about 80-90 less CPU power. Fairly basic scratch games take tons of ram and lots of CPU power. Putting music in game also makes lag much worse.
2.There is a built in waiting period for each block. This means that scratch must wait about 0.1 seconds before moving onto the next block and there is nothing you can do about it.
3. You can't duplicate sprites at runtime.
4. No multidimensional arrays.
5.No saving/loading from external files
For number 2, theres a solution. Just make a new script on the sprite
Edit: Nevermind, that doesn't work either
Another thing wrong with Scratch is that in presentation mode it can only play one sound and the rest disappear
Last edited by Mr_X (2009-12-11 12:21:26)
Offline
archmage wrote:
The biggest issues I have with scratch are:
1. Its dead slow. Stuff I code in flash takes about 80-90 less CPU power. Fairly basic scratch games take tons of ram and lots of CPU power. Putting music in game also makes lag much worse.
2.There is a built in waiting period for each block. This means that scratch must wait about 0.1 seconds before moving onto the next block and there is nothing you can do about it.
3. You can't duplicate sprites at runtime.
4. No multidimensional arrays.
5.No saving/loading from external files
I agree completely
Offline