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

#1 2007-06-03 12:09:06

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Animation Not Working

When I upload a project that all it does is wait 0.1 secs & switches to the next costume over & over again it doesn't work. It either gets stuck on a costume or gets mixed up.  sad  Can any1 sugest a way 2 stop that happening on the online verison?


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#2 2007-06-03 12:46:30

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Animation Not Working

Tell us the URL for the project, and we can look at it.

Offline

 

#3 2007-06-05 04:48:24

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Animation Not Working

Click on the 3d tag & look at all my 3-D gallerys. These two projects are not working either. http://scratch.mit.edu/projects/Mick/7086 & http://scratch.mit.edu/projects/Mick/2055


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#4 2007-06-05 09:10:25

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Animation Not Working

The big macs from outer space program http://scratch.mit.edu/projects/Mick/7086  is definitely tickling a bug in the java implementation.  It works fine in the squeak implementation, but the image freezes on the 10th costume in the java implementation.
The program is still running, as it gets to the play sound at about the right time, so the problem appears to be with "next costume" not with repeat or wait.

Last edited by kevin_karplus (2007-06-05 14:17:10)

Offline

 

#5 2007-06-05 10:21:43

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Animation Not Working

Hi, Mick. Thanks for reporting this. There is a bug in the Player when you have copies of the exact same costume appearing in several places in a sprites Costumes list. I'll try to fix it soon.

Meanwhile, a workaround is to export the costume that you want to have multiple copies of and import it several time rather than using the "copy" button to make the copies. Let me know if that fixes the problem.

Offline

 

#6 2007-06-05 14:22:23

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Animation Not Working

You could also avoid having any exact copies by nesting repeat loops for costumes 29 and 30:

repeat 2 times
   switch to costume 29
   wait 0.1 sec
   switch to costume 30
   wait 0.1 sec
switch to costume 29
wait 0.1 sec

Offline

 

#7 2007-06-05 17:11:38

rivendell
Scratcher
Registered: 2007-05-29
Posts: 24

Re: Animation Not Working

johnm wrote:

\
Meanwhile, a workaround is to export the costume that you want to have multiple copies of and import it several time rather than using the "copy" button to make the copies. Let me know if that fixes the problem.

Is it actually possible to copy costumes from one sprite to another?  I don't see any "export costume" functionality.

Offline

 

#8 2007-06-05 17:26:05

weissjd
Scratcher
Registered: 2007-05-16
Posts: 64

Re: Animation Not Working

rivendell wrote:

Is it actually possible to copy costumes from one sprite to another?  I don't see any "export costume" functionality.

You can copy a costume by dragging the picture of the costume in the costumes tab to the picture of another sprite in the list of sprites under the stage.

Offline

 

#9 2007-07-29 15:27:21

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Animation Not Working

ok the animation problem is fixed.  smile


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

Board footer