FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

Animation

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors
View previous topic :: View next topic  
Author Message
Ice Cream Jonsey



Joined: 27 Apr 2002
Posts: 20088
Location: Colorado

PostPosted: Mon Feb 21, 2005 9:55 am    Post subject: Animation Reply with quote

If I remember right there's an alternative to the animated GIF in Hugo. Unfortunately, my browsing and searching has not revealed what that is.

I guess this is a question for Kent, but one I think that other people might be interested in -- Kent, did you do the animations in Future Boy! using AVI files, or is there a graphic format which can replace GIF? I think PNG?
_________________
the dark and gritty...Ice Cream Jonsey!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Cryptonomic



Joined: 05 May 2004
Posts: 55
Location: Chicago, IL

PostPosted: Mon Feb 21, 2005 11:42 am    Post subject: Reply with quote

I used an AVI in my original Zork tutorial and the current one has an MPG for animation. So I know those work.

To the best of my knowledge, PNG does not animate. MNG is no longer supported (that I am aware of) which was the "official" adaptation of PNG to support animation. But everyone dropped it because it was way too cumbersome to implement. Then aPNG ("Animated PNG") started coming along. That is the current contender, but it makes a hash of the PNG specification.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Kent



Joined: 27 Jun 2003
Posts: 119

PostPosted: Mon Feb 21, 2005 10:42 pm    Post subject: Reply with quote

The FB animations are AVI, yeah. Hugo officially supports AVI and MPEG-1, but the more correct answer is that it goes through the platform's media kit to play. So on Windows, DirectX (i.e., DirectShow) is responsible, on Mac it's QuickTime, on BeOS it's the Media Kit. What this means is that technically it would be feasible to play any format that the media subsystem can play (i.e., .mov on Mac, .wmv on Windows).

MPEG-1 is a pain to encode, isn't that great quality-wise or size-wise, but is playable by everything so it was easy to include.

The trick with AVI is choosing the codec to use, since AVI is just a container format and doesn't specify encoding. I opted for Cinepak, which is old as the hills but ships by default for all of those systems and is fairly low in terms of its CPU demands (since another of FB's goals was to target lowest-end machines). On a very slow (~350 MHz) machine I noticed some framerate chugging playing back an MP3 and a codec like Indeo or DivX at the same time.

Cinepak doesn't have nearly the quality of the latest wavelet-based codecs, but with enough experimentation I managed to come up with results that I was satisfied with.

You could opt for something more recent like an MPEG-4-ish codec, but that would introduce the possibility that it might not be installed by default on all players' machines.
Back to top
View user's profile Send private message
Ice Cream Jonsey



Joined: 27 Apr 2002
Posts: 20088
Location: Colorado

PostPosted: Thu Feb 24, 2005 10:32 pm    Post subject: Reply with quote

Hey... who was the horse's ass that hacked my account and said that PNGs animate?

I mean, there ain't no "P" "N" or "G" on THIS musical scale:




Well, OK, I think there's a "G." But at the bitch-ass end.
_________________
the dark and gritty...Ice Cream Jonsey!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended