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

#1 2011-10-27 15:08:28

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Movement,Show/Hide and Set Costume To ____ glitch.

Hi Scratch Mods!!

I was making a project and when I tried to set when a sprite recieved a broadcast, it would appear, would change to a costume, go to a spot and then glide 4 times, then broadcast.
[blocks] <when I receive[ [/blocks]
[blocks]<show>[/blocks]
[blocks] <switch to costume[ [/blocks]
[blocks] <go to x sad   )y sad   [/blocks]
[blocks] <glide(  )secs to x sad   )y sad  [/blocks]
[blocks] <glide(  )secs to x sad   )y sad  [/blocks]
[blocks] <glide(  )secs to x sad   )y sad  [/blocks]
[blocks] <glide(  )secs to x sad   )y sad  [/blocks]
[blocks] <broadcast[  [/blocks]

After all of that, the sprite never showed up, so I put [blocks]<show>[/blocks] like 5 more times. After it showed up, it never changed costume, so I repeated that as well. After all of that, the sprite did not go to the assigned areas. I tried this again with a diffrent project and the same thing happened. Please help.


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#2 2011-12-09 23:04:09

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Re: Movement,Show/Hide and Set Costume To ____ glitch.

bump


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#3 2011-12-09 23:21:07

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Movement,Show/Hide and Set Costume To ____ glitch.

Hm... I managed to get it working on my computer. Are you sure your sprite isn't already in the same costume you got it to switch to? Or, are there any other scripts that are in loops such as "forever" loops telling your sprite to hide, switch to another costume, or go somewhere else? It's possible the two scripts are conflicting.

Offline

 

Board footer