It's like this:
I think there should be a block like this. The stage could sense sprites and stuff like that. An example would be there's a color on part of the stage. And if a sprite is touching that color, it would do its action. What do you guys think? Scratch On!color is touchingsprite ▼?
Offline
This would make it much easier to make my OS, where it needs to sense when the mouse is touching the red cross to close the window.
Support.
Offline
Good idea. I think that MIT should put that in Scratch 2.0
Offline
dvd4 wrote:
It would really help with a lot of projects. Support.
@machinespray: I think it's ST not MIT.
Scratch is made by the Scratch team who work at MIT. It's a project of MIT.
Offline
[agree]
(That means I agree and [/agree] means I disagree.)
Offline
Sprite 1
Sprite 2whenclicked
forever iftouching color ?broadcasttouched ▼stop scriptwhen I receivetouched ▼YOUR Code HERE
That is a workaround.
Last edited by machinespray (2013-04-07 09:32:53)
Offline
I think that maybe you could create this:
Pulldown of all sprites
Offline
Scratch12300 wrote:
I think that maybe you could create this instead:
Pulldown of all sprites
Oops, sorry, made a mistake! I meant (for example):
orSprite1 ▼touching color(color here)
but if it contains a global variable such asSprite1 ▼x position=50
it works the same as without the blockSprite1 ▼variable1=100
because that enables more.Sprite1 ▼
Offline