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

#1 2012-06-13 00:00:03

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Wall detection bug

http://img411.imageshack.us/img411/9835/screenshot20120612at856.png
I made this script, and when I touch the color that sets the x velocity to 4, it slows it down to about 1 pixel a frame but it keeps going left. Can anyone help?

Edit: Posted 3 seconds after 00:00:00!

Last edited by TorbyFork234 (2012-06-13 00:00:57)

Offline

 

#2 2012-06-13 00:26:04

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Wall detection bug

TorbyFork234 wrote:

http://img411.imageshack.us/img411/9835 … 2at856.png
I made this script, and when I touch the color that sets the x velocity to 4, it slows it down to about 1 pixel a frame but it keeps going left. Can anyone help?

Edit: Posted 3 seconds after 00:00:00!

I can't tell whats wrong from this segment...anyway we could see the whole script?


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2012-06-13 00:30:40

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Wall detection bug

I figured out the problem, it was not a scripting problem. There was a little corner in the stage on that side that didn't have the color touching. I fixed it and it's working awesome. Reporting to be closed...

Offline

 

#4 2012-06-13 01:31:59

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Wall detection bug

Closed by request.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer