Pages: 1
Topic closed
fg123 wrote:
ScratchREALLYROCKS
Why does everyone mess my username up?
Offline
I just made something that uses broadcasts.
You could take a look at that. Just click on my name.
It's the one about collisions.
The other is my first Scratch project that I made just before so check that out too if you want.
Offline
As ScratchReallyROCKS said, just use those blocks.
Offline
Is there a more efficient script than:
x of sprite 1 < x of sprite 2 or x of sprite 1 > x of sprite 2 or y of sprite 1 is < y of sprite 2 or y of sprite 1 is > than y of sprite 2
in order for sprite 1 to know where to go
with many sprites this is cumbersome
thanks
Offline
nipit1 wrote:
Is there a more efficient script than:
x of sprite 1 < x of sprite 2 or x of sprite 1 > x of sprite 2 or y of sprite 1 is < y of sprite 2 or y of sprite 1 is > than y of sprite 2
in order for sprite 1 to know where to go
with many sprites this is cumbersome
thanks
Not quite sure what you mean...
Offline
nipit1 wrote:
Is there a more efficient script than:
x of sprite 1 < x of sprite 2 or x of sprite 1 > x of sprite 2 or y of sprite 1 is < y of sprite 2 or y of sprite 1 is > than y of sprite 2
in order for sprite 1 to know where to go
with many sprites this is cumbersome
thanks
You could make a variable, and have it set the variables to the x position and y postition, and put this script:
When I recieve (Switch Posititions)
Go to x: variablex1 y: variable y1
When I recieve (Switch Posititions)
Go to x: variablex2 y: variable y2
On both sprites. I hope that helped!
Offline
nipit1 wrote:
Is there a more efficient script than:
x of sprite 1 < x of sprite 2 or x of sprite 1 > x of sprite 2 or y of sprite 1 is < y of sprite 2 or y of sprite 1 is > than y of sprite 2
in order for sprite 1 to know where to go
with many sprites this is cumbersome
thanks
Can you put that into blocks?
Its really hard to know what people mean when they just describe blocks like:
"when flag clicked forever repeat 10 if momentum = 2 move momentum * 6 steps else play sound 1 glide 1 secs to x momentum y join 1 variable2 move distance to sprite2 if on edge bounce"
And especially since you did not describe what it actually did.
Last edited by colorfusion (2010-08-14 07:50:04)
Offline
Topic closed
Pages: 1