Skip to main content
gamedev.net
🔒 Locked

2D animation program

Started by namingway Aug 30, 2005 at 2:59 AM 10 replies 2.7k views
Original Post
namingway
namingway
For my artwork to be finished i need to animate it i have the frames ready but I don't have a program that can add PNG pictures in and animate them. If someone could mention a good program for 2D animation cheers
Skeleton_V@T
Skeleton_V@T
PNGs is not designed for storing animated pictures (If is's not true, correct me!). You should create a set of pictures and load it into memory as a textures array, the pictures format should be .BMP or Microsoft's format (.DDS) to reduce load time.
--> The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones <--
deadlydog
deadlydog
For my game I created my own class, which I called CCharacterPicture, which I used to load in the coordinates of the images I wanted to load. So, say if you had 4 pictures of you character in a file, I would load each of the 4 pictures into my class, specifying the images top and left coordinates, as well as it's height and width. Then I created States, which were just ordered sequences of the pictures. So for example, I could have one state walking, which would just be the pictures in the sequence [1, 2, 3, 4]. I also specified how long to wait before switching images so you can speed up or slow down the animation.

I'm not sure if DirectX or OpenGL provide anything like this. I know that DirectX has the ID3DXSprite, but I'm not sure if this is the same thing or not as I haven't used it at all yet.

Quote:

the pictures format should be .BMP or Microsoft's format (.DDS) to reduce load time.

Is this true that .bmp's will load faster than .png's? I'm using .png's for all of the pictures in my game, but I chose to do that because they are 10 - 50 times smaller than when I convert them to .bmp's. But if .bmp's will reduce load times, I might go with them. Can anyone confirm this?
sirGustav
sirGustav
Adobe Premiere? (There is a better adobe product, but I can't recall it's name)
Macromedia flash/director?
Paint.NET(for constucting frames) and bmp2avi(to join them)?
It all depends on your needs (and budget)...

I'm using png pictures for my animations in my game(since they are small and support a mask), animated by selecting the next image in the array. AFAIK gif is the only one that can be saved as a animated image. I think namingway meant load in images and move them around and possible size them.

Quote:
Is this true that .bmp's will load faster than .png's?

AFAIK, all compressed items take longer to load, since you have to uncompress them first. So I guess it isn't unlogical that BMPs load a a few milliseconds faster, however is it really worth it? Is a 10x times bigger download(or 10x more CD's) worth it?
I would say if your loading-times are horribly slow - go optimize somewhere else ;)
namingway
namingway
i ment the PNG's were the frames and eventually make them into a gif. Maybe I should do it like on RPG maker 2k - 2k3 and xp where you have sprite sheets and it animates them accordingly but I dont know how to do that yet...
ProPuke
ProPuke
bog standard reply: I use gimp (check sig)

You might find it's totally not your cup of tea though :P
Just my preference ;]
____ _ ___ ___ __ _`By offloading cognitive load to the computer, programmers are able to design more elegant systems' - Unununium OS regarding Python
verdad
verdad
imageforge, animationshop (by jasc.com ) and gypsee
SiCrane
SiCrane
Adobe After Effects will automagically take a set of numbered PNGs and turn it into an animation. On the whole After Effects is fairly nice for doing motion graphics animations.
SiCrane
SiCrane
Quote:
Original post by sirGustav
Quote:
Is this true that .bmp's will load faster than .png's?

AFAIK, all compressed items take longer to load, since you have to uncompress them first. So I guess it isn't unlogical that BMPs load a a few milliseconds faster, however is it really worth it? Is a 10x times bigger download(or 10x more CD's) worth it?
I would say if your loading-times are horribly slow - go optimize somewhere else ;)


The limiting factor of image loading will generally be the speed of the hard drive or other secondary storage. So a compressed image will often load faster than an uncompressed image since there is less to transfer from the hard drive to memory, even after you spend the time to uncompress it.
Foot Soldier
Foot Soldier
I have a fairly complete graphics filetype. At my site there is a small tutorial and the editor for it. Ive found it very useful in all my 2D games, as its simple to use and has many useful features.

Go here to check it out:
FIM Filetype
Sure is a big 'ol world.
captainmikey
captainmikey
Quote:
Original post by SiCrane
On the whole After Effects is fairly nice for doing motion graphics animations.

Huh? Maybe I don't know how to use it right, but I found it disgustingly unstreamlined. For each frame, you have to add a layer, paste your frame into that layer, then add an animation frame, then select every previous animation frame and hide the layer that you just added in them (since new layers default to visible in every frame). WTH.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.