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

#1 2012-03-02 15:21:10

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Sensors stopped working?

I had this up in Help With Scripts, but after recieving no working help and a post that said that it was probably a bug with scratch, I decided to post it here. Anyway, the problem is that I have external sensors on my game Ultimate Lazer Tag and after you play the game for a little while, some of the sensors stop working and you can go through walls in certain directions. I don't know why this happens. Please help. Thanks!  smile

Last edited by pi3 (2012-03-02 23:18:59)


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#2 2012-03-02 23:17:35

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Please help, someone.


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#3 2012-03-03 10:14:52

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

...


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#4 2012-03-03 11:00:57

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

Sorry to burst your bubble, but this belongs in Help with Scripts.   tongue

Offline

 

#5 2012-03-03 13:45:51

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Greenatic wrote:

Sorry to burst your bubble, but this belongs in Help with Scripts.

Did you read the first post?


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#6 2012-03-03 14:07:18

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

pi3 wrote:

Greenatic wrote:

Sorry to burst your bubble, but this belongs in Help with Scripts.

Did you read the first post?

Yes, but the problem is most likely with your programming.

Offline

 

#7 2012-03-03 15:27:56

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Sensors stopped working?

This might be a bug - but it could also be a scripting problem of some sort.  The fact that the condition shows up both online and downloaded seems to point more towards a scripting problem, than a bug.  There have been color sensing bugs in the past, but they usually only show up in the online player.

I've looked at the project and haven't found anything obvious yet...I also haven't been able to duplicate the problem.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#8 2012-03-03 15:32:51

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Well I already posted it in Help With Scripts and I didn't get any help. I'll try to find the scripting problem (if there is one).


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#9 2012-03-03 15:39:56

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Sensors stopped working?

pi3 wrote:

Well I already posted it in Help With Scripts and I didn't get any help. I'll try to find the scripting problem (if there is one).

Yeah, I know.  I left this topic open in the off chance that it really is a bug.  But more work needs to be done before we come to that conclusion  smile


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#10 2012-03-03 15:43:54

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Greenatic wrote:

Sorry to burst your bubble, but this belongs in Help with Scripts.

pi3 wrote:

Did you read the first post?

Greenatic wrote:

Yes, but the problem is most likely with your programming.

Rather than arguing where this post should go in the forums, could you actually help me with my problem?


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#11 2012-03-03 16:10:18

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

pi3 wrote:

Greenatic wrote:

Sorry to burst your bubble, but this belongs in Help with Scripts.

pi3 wrote:

Did you read the first post?

Rather than arguing where this post should go in the forums, could you actually help me with my problem?

Which directions on which character?  Your problem might be that the sensors are not placed perfectly equidistant to the character--maybe some of the lines are too far from the center.

Offline

 

#12 2012-03-04 09:22:05

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Greenatic wrote:

Which directions on which character?  Your problem might be that the sensors are not placed perfectly equidistant to the character--maybe some of the lines are too far from the center.

The glitch happens to both characters in all directions, though usually down. I tried turning of the ghost effect to see if the sensors are off, but they are right where they are supposed to be.


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#13 2012-03-04 09:31:00

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

When I download, the red player is moving through walls to the right.  I think it's because the sensor is too close to the character's body, so its line goes over the sensor.

EDIT: Never mind, that's not the reason.

Last edited by Greenatic (2012-03-04 09:49:00)

Offline

 

#14 2012-03-04 09:59:18

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

Try putting the rotation centers of the players closer to the middle--when they rotate to shoot, they're getting off-center.

Offline

 

#15 2012-03-04 11:06:03

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Greenatic wrote:

Try putting the rotation centers of the players closer to the middle--when they rotate to shoot, they're getting off-center.

I'll try that, but I don't think that it's the reason its going through walls.


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#16 2012-03-04 11:14:09

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Sensors stopped working?

pi3 wrote:

Greenatic wrote:

Try putting the rotation centers of the players closer to the middle--when they rotate to shoot, they're getting off-center.

I'll try that, but I don't think that it's the reason its going through walls.

I think that might be it.  When they get off-center, they go closer to some of the lines and further from others, which might be the problem.

Offline

 

#17 2012-03-04 13:57:28

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Sensors stopped working?

Paddle2See has found the solution! I made the sensors too small, and the blue walls were sometimes not able to sense them because they were too thin. Thanks to Paddle2See! Thanks also to Greenatic for taking time out to help.  smile


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

Board footer