This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-28 06:24:23

bugman11
New Scratcher
Registered: 2011-07-28
Posts: 9

new block

I think there should be an oval block that has each sprite on it for control or numbers.

Offline

 

#2 2011-07-28 07:48:22

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: new block

Do you know about the "Sensing" block?  It has a pull down on the right that lets you select any sprite.  Then on the left side, you can select xposition, yposition, direction, etc., and it also lets you pick the "for this sprite only" variables of that particular sprite.  If I understand what you're asking for, this block does it.

It's in with the blue sensing blocks and looks something like:

( [ ___ ] of [ ___ ] )

Offline

 

#3 2011-07-29 20:08:00

bugman11
New Scratcher
Registered: 2011-07-28
Posts: 9

Re: new block

Yeah, but what I mean is for one sprite that has to do with what the other sprites are doing.

Offline

 

#4 2011-07-29 20:36:30

Death_Wish
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: new block

...That's the point. You can put for example, if you want Sprite 1 to point in the same direction as Sprite2, put
Point in direction [Direction of sprite2]
If you want him to go to the same x position but not the same y position,
set x position to [X Position of Sprite 2]
etc.
You can do this with it's costume, size, volume, x position, y position or direction  tongue


With a straight flush.
http://4.bp.blogspot.com/-FlUhnzmIROE/TgtpjdJl4tI/AAAAAAAABCM/W19pvFTZFaU/s1600/save_the_world.png http://blocsonic.com/images/special/rip-stevejobs.jpg

Offline

 

#5 2011-07-30 00:47:17

bugman11
New Scratcher
Registered: 2011-07-28
Posts: 9

Re: new block

I know that, what I mean is when sprite2 touches sprite3 something happens to sprite1.

Offline

 

#6 2011-07-30 00:59:28

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: new block

That's pretty simple to do already though, in that case.  smile

Sprite 2:

Code:

When green flag clicked
Forever
    if touching sprite 3
        broadcast message

Sprite 1:

Code:

When I receive message
whatever scripts you want go here

http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#7 2011-07-30 02:37:05

bugman11
New Scratcher
Registered: 2011-07-28
Posts: 9

Re: new block

THANK YOU, you are a savior.

Offline

 

#8 2011-07-30 03:13:12

bugman11
New Scratcher
Registered: 2011-07-28
Posts: 9

Re: new block

Now I need some more help. I'm trying to make it when the dagger touches sprite2 wait a while before he can shoot. Because he can shoot while he is not showing.

Offline

 

Board footer