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

#1 2007-12-10 14:24:44

04lukeb
Scratcher
Registered: 2007-09-09
Posts: 45

Motion GIF images

Hi, I was just wondering if it would be possible to use motion GIF images in scratch in a newer version. I have seen a lot of animated GIF sprites around the internet and I think that it would be a good idea to be able to use them in scratch.


I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned

Offline

 

#2 2007-12-10 14:35:26

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

Re: Motion GIF images

You can import animated gifs as costumes in scratch.  Supposedly each frame becomes a separate costume.  I've not tried it myself, but it has supposedly been available since scratch 1.1.

Offline

 

#3 2007-12-11 14:10:10

Hiccup
Scratcher
Registered: 2007-09-01
Posts: 29

Re: Motion GIF images

To import a gif:
1. open the folder the Gif is in.
2. drag the icon of the Gif down to the task bar wher it says "Scratch"
3.click on the costumes tab and each frame of the gif will be a costume
(but this does not work on transparent Gifs)

Last edited by Hiccup (2007-12-11 14:10:43)


92% of teens have moved on to rap.
If you are part of the 8% who still listen to real music, copy and paste this into your signature

Offline

 

#4 2007-12-11 16:11:29

04lukeb
Scratcher
Registered: 2007-09-09
Posts: 45

Re: Motion GIF images

Nope, I tried it and it opens with just one costume and doesn't move.


I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned

Offline

 

#5 2007-12-11 17:24:22

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

Re: Motion GIF images

Any movement or animation in scratch has to be done with multiple costumes or scripts, but I had heard that Scratch could fragment an animated gif into multiple costumes.  I've not tried it myself, as I have never seen an animated gif that I wanted in a Scratch project.

Offline

 

#6 2007-12-12 11:30:34

Hiccup
Scratcher
Registered: 2007-09-01
Posts: 29

Re: Motion GIF images

04lukeb wrote:

Nope, I tried it and it opens with just one costume and doesn't move.

to make it move use:
[blocks]
<when green flag clicked>
<forever>
<next costume>
<wait( 0.1 )sec>
<end>
[/blocks]


92% of teens have moved on to rap.
If you are part of the 8% who still listen to real music, copy and paste this into your signature

Offline

 

#7 2007-12-15 07:26:28

04lukeb
Scratcher
Registered: 2007-09-09
Posts: 45

Re: Motion GIF images

Ok, looks like I will have to get used to making multiple costumes. Thanks for the replies.


I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned

Offline

 

#8 2007-12-22 05:55:04

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Motion GIF images

To put a gif's animation inside scratch, Drag the gif INTO the scratch window.
I tested it.  It actually works.


~ihaveamac - visit ihaveamac.net

Offline

 

Board footer