Sometimes, you have to create a broadcast and make a lot more scripts than necessary when you want something to happen to a sprite simultaneously.
That's a real pain.
So, for Scratch 2.0, I'd like to see a 'Do-together' loop block!
It would look like a 'if < >' C-chaped block, but would execute the blocks inside of it simultaneously.
Thoughts?
Offline
I support! This would be very useful when making 1s1sers - and any other project that you'd want to do stuff together in
One question, though - what would happen if I put something like this:
[do together]
[go to x: (100) y: (100)]
[go to x: (-100) y: (-100)]
[/do together]
Offline
I support! In BYOB, you can make a block and script it with other blocks, and make the block execute everything simultaneously - I want that in Scratch as well!
Last edited by Jonathanpb (2010-05-31 03:42:54)
Offline
Wolfie1996 wrote:
One question, though - what would happen if I put something like this:
[do together]
[go to x: (100) y: (100)]
[go to x: (-100) y: (-100)]
[/do together]
That is where we get a syntax error and scratch crashes.
Jk, I'm not sure though...
Offline
juststickman wrote:
Wolfie1996 wrote:
One question, though - what would happen if I put something like this:
[do together]
[go to x: (100) y: (100)]
[go to x: (-100) y: (-100)]
[/do together]That is where we get a syntax error and scratch crashes.
Maybe... A debugger in Scratch 2.0! That would be epic!
It would make 2 instances of itself, and each instance would go to each location!
But instances and classes can be hard to understand for kids... Not that I'm not one myself.
Offline
iCode-747 wrote:
But instances and classes can be hard to understand for kids... Not that I'm not one myself.
Kinda simple actually. For little kids...
A "class" is like a job, but the instance follows it exactly.
An "instance" is like a person doing a job, but they make no mistakes and follow instructions exactly.
Offline
juststickman wrote:
iCode-747 wrote:
But instances and classes can be hard to understand for kids... Not that I'm not one myself.
Kinda simple actually. For little kids...
A "class" is like a job, but the instance follows it exactly.
An "instance" is like a person doing a job, but they make no mistakes and follow instructions exactly.
I heard differently...
A class is an object.
An instance is a type of that object.
What language?
Offline
iCode-747 wrote:
juststickman wrote:
iCode-747 wrote:
But instances and classes can be hard to understand for kids... Not that I'm not one myself.
Kinda simple actually. For little kids...
A "class" is like a job, but the instance follows it exactly.
An "instance" is like a person doing a job, but they make no mistakes and follow instructions exactly.I heard differently...
A class is an object.
An instance is a type of that object.
What language?
No, they're all the same. Don't you notice his definition? Carry out a job provided by the class.
The Class is an object.
An instance is a type of that object that does the real work.
Did you know that classes can have parents and children? It makes our line more complicated, but a child class is mutated from the parent Class and called its own. It's a useful function of programming called "inheritance".
Offline