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

#1 2009-10-14 16:37:02

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

If touching ... for Stage

In 1.4 the "If touching..." isn't in the stage! Why is that? I need it for a game I'm making!  yikes

Offline

 

#2 2009-10-14 16:52:54

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: If touching ... for Stage

Try making a 480 x 360 sprite and putting at the back.

Offline

 

#3 2009-10-14 16:58:20

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

I know about that, it's just it's so much easier with the "If touching..." block for the stage.

I now found that this isn't necessary for my game, but could be useful for projects computer like.

Last edited by Magnie (2009-10-14 16:58:48)

Offline

 

#4 2009-10-14 17:39:51

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: If touching ... for Stage

The stage is touching basically everything though.... Do you basically want to sence if something is hiding or not? That would be nice...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#5 2009-10-14 17:53:50

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

Well, I want it so when the stage is clicked only during a script, then it does something.

Offline

 

#6 2009-10-14 18:17:34

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: If touching ... for Stage

Yes, this would be very useful....

Offline

 

#7 2009-10-14 18:31:51

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: If touching ... for Stage

But as I said, try making a 480 x 360 sprite and putting at the back.

Offline

 

#8 2009-10-14 18:44:00

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: If touching ... for Stage

The-Whiz wrote:

But as I said, try making a 480 x 360 sprite and putting at the back.

That's the Scratch project resolution?

Offline

 

#9 2009-10-14 19:03:09

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: If touching ... for Stage

floatingmagictree wrote:

The-Whiz wrote:

But as I said, try making a 480 x 360 sprite and putting at the back.

That's the Scratch project resolution?

Yes...

Offline

 

#10 2009-10-14 19:57:22

weswesrock
Scratcher
Registered: 2009-06-25
Posts: 500+

Re: If touching ... for Stage

Well, it would only work as a "if color [] is touching []" block, but that's a good idea

Offline

 

#11 2009-10-14 19:59:56

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

Whiz: I know what you meant.  wink

Wes: What do you mean?

Offline

 

#12 2009-10-14 20:01:11

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: If touching ... for Stage

lol.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#13 2009-10-14 20:22:39

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

What's so funny? o.O

Offline

 

#14 2009-10-14 20:34:23

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: If touching ... for Stage

I don't know...

Offline

 

#15 2009-10-14 22:56:37

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: If touching ... for Stage

OK....Confusing me.....

As for the topic/question: Stage touches everything...


Hai.

Offline

 

#16 2009-10-14 23:46:51

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

Unless something is on top of it, neh?

Offline

 

#17 2009-10-15 00:22:45

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: If touching ... for Stage

Lucario621 wrote:

The stage is touching basically everything though.... Do you basically want to sence if something is hiding or not? That would be nice...

For the stage to touch something, it has to be shown.


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#18 2009-10-16 20:11:58

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: If touching ... for Stage

Mag:I still don't get it...


Hai.

Offline

 

#19 2009-10-16 20:24:00

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: If touching ... for Stage

Yes, everything is touching Stage. But, there is a script IDEA that is similar to what you want:

[if]
[touching]< >[X of stage]
[touching]< >[Y of stage]
[end of if]

Last edited by shamrocker (2009-10-16 20:26:01)


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#20 2009-10-16 22:16:28

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: If touching ... for Stage

shamrocker wrote:

Yes, everything is touching Stage.

Not if it's hidden. To have hidden sprites that can be sensed, you set the ghost effect to 100.


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#21 2009-10-16 22:35:28

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: If touching ... for Stage

...True...


Hai.

Offline

 

#22 2009-10-16 23:40:00

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

I mainly want to be able to click the stage without the "If Stage Clicked...", I want an If block instead.  wink

Offline

 

#23 2009-10-17 00:49:03

martianshark
Scratcher
Registered: 2008-03-24
Posts: 1000+

Re: If touching ... for Stage

How could there be that block in the stage? The stage has no choice but to touch all the sprites.


http://img.geocaching.com/stats/img.aspx?txt=martianshark&amp;uid=e6cdc2c8-2476-4abd-9994-27f857396579&amp;bg=1

Offline

 

#24 2009-10-17 00:58:50

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: If touching ... for Stage

martianshark wrote:

How could there be that block in the stage? The stage has no choice but to touch all the sprites.

It doesn't touch hidden sprites.


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#25 2009-10-17 12:58:26

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: If touching ... for Stage

Martian: What if a sprite was touching the stage then another sprite on top of the other sprite, would it still be touching the stage?

Offline

 

Board footer