Synfig Project Forum

Forums for Synfig Project
It is currently Thu Jun 20, 2013 12:32 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Aug 20, 2008 12:33 am 
Offline

Joined: Thu Jul 03, 2008 3:54 pm
Posts: 74
I want to make a sprite movie(or clip) like this right here:http://www.youtube.com/watch?v=nCoo7NELwvo


Top
 Profile  
 
PostPosted: Wed Aug 20, 2008 6:22 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
Synfig can handle image layers and also an special kind of image layer called listimporter. The last one read the image file name form an external file with an specific name and format. For sprite simulation you can use listimporter to produce quick image changes.
Move and rotate the sprite can be done using the origin parameter of the listimporter layer and the rotate layer for rotations.

Read these sections of the wiki to understand how listimporter works.

http://synfig.org/ListImporter
http://synfig.org/Walk_Cycle

For more particular replies, please give more details of your troubles.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Wed Aug 27, 2008 5:47 pm 
Offline

Joined: Thu Jul 03, 2008 3:54 pm
Posts: 74
Thanks, but I having problems with it already. When I import the .png file It automatically scale up, but I don't want that to happen. I want to import it in the right size. They're is also another problem when I import it. The whiteness around the image is suppose to be nothing but synfig replace it with black and I do not want that! I also having a hard time moving the .png images.
Genete wrote:
Synfig can handle image layers and also an special kind of image layer called listimporter. The last one read the image file name form an external file with an specific name and format. For sprite simulation you can use listimporter to produce quick image changes.
Move and rotate the sprite can be done using the origin parameter of the listimporter layer and the rotate layer for rotations.

Read these sections of the wiki to understand how listimporter works.

http://synfig.org/ListImporter

How do I use the ListImporter and where do I find it?


Top
 Profile  
 
PostPosted: Wed Aug 27, 2008 7:12 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 983
Location: West Coast USA
It's built into the Import Image function.

"To use it, simply create a text file with the filename of each still frame listed per-line. Save this text file with the extension lst(That is LST in lowercase). Import it into Synfig like you would any other image. "

On the main canvas, in the top left hand corner, is a drop down menu that appears when you click on the >
From there, click File, Import, and enter the path to your whatever.lst file that you created.

If you download the walk cycle example, there's one already included in that file. http://synfig.org/Walk_Cycle

Chris


Top
 Profile  
 
PostPosted: Wed Aug 27, 2008 8:09 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
super animator wrote:
Thanks, but I having problems with it already. When I import the .png file It automatically scale up, but I don't want that to happen. I want to import it in the right size. They're is also another problem when I import it. The whiteness around the image is suppose to be nothing but synfig replace it with black and I do not want that! I also having a hard time moving the .png images.
Genete wrote:
Synfig can handle image layers and also an special kind of image layer called listimporter. The last one read the image file name form an external file with an specific name and format. For sprite simulation you can use listimporter to produce quick image changes.
Move and rotate the sprite can be done using the origin parameter of the listimporter layer and the rotate layer for rotations.

Read these sections of the wiki to understand how listimporter works.

http://synfig.org/ListImporter

How do I use the ListImporter and where do I find it?


There are two ways to import an image into synfig.
1) File->Import and select the image file. It would scale the image to fit into the canvas dimensions
2) Layer->New Layer->Other->Image Import. This would create a layer with a prepared dimensions to receive a image file using the filename property. When you fill the filename property expand the column of the parameter and you'll see a button to choose a file, remember to click outside the parameter to update it. Then the image would be placed and its dimensions would NOT be preserved. It would fit the current Top-Left, Bottom-Right parameters values.

You're right about that the import image should adapt its dimensions automatically to the original image dimensions. Anyway it is not so difficult to modify those parameters to fit them to the known image dimensions.

Regarding to the whiteness I don't see other thing that the png image was created against a white background and it is saved with the image. Load this image sample I've done with Gimp. When I create the image I selected "transparency" for the background. It imports perfectly into synfig.

Finally regarding to move sprites you should use the Translate and Rotate layers onto each moving sprite or the canvas that contains it. It is much better than move its corners. Consider that synfig is not specifically designed to sprite animation so you have to do the hard work.

Read theCut Out Animation tutorial for an example of usage of image layers.

Please ask more if you still having troubles.
:)
-G


Attachments:
File comment: Sample image file with transparency
s.png
s.png [ 823 Bytes | Viewed 3343 times ]

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Last edited by Genete on Wed Aug 27, 2008 8:10 pm, edited 1 time in total.
Forgot to include file
Top
 Profile  
 
PostPosted: Wed Jun 08, 2011 9:16 pm 
Offline
User avatar

Joined: Tue Feb 26, 2008 3:33 am
Posts: 675
Location: Foshan City, China
Genete wrote:
Synfig can handle image layers and also an special kind of image layer called listimporter. The last one read the image file name form an external file with an specific name and format. For sprite simulation you can use listimporter to produce quick image changes.
Move and rotate the sprite can be done using the origin parameter of the listimporter layer and the rotate layer for rotations.

Read these sections of the wiki to understand how listimporter works.

http://synfig.org/ListImporter
http://synfig.org/Walk_Cycle

For more particular replies, please give more details of your troubles.
-G


update links:

http://synfig.org/wiki/ListImporter
http://synfig.org/wiki/Walk_Cycle

_________________
time flies...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group