Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
Sphere Development
Engine Development
What would I need to implement the Animation API?
1
Print
Topic: What would I need to implement the Animation API?
(Read 4434 times)
previous topic
-
next topic
0 Members and 2 Guests are viewing this topic.
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
What would I need to implement the Animation API?
May 14, 2015, 04:56:18 pm
This is the main component that's missing from minisphere for full parity. Well, that and ColorMatrixes, but I've yet to encounter a game that uses them.
MNG should be easy, I'd just need libmng I think. But what of the other formats, like FLIC? Or is it even worth supporting those...?
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
DaVince
Legendary Poster
Posts: 1,001
Logged
Administrator
Used Sphere for, like, half my life
Re: What would I need to implement the Animation API?
Reply #1
–
May 14, 2015, 05:25:36 pm
FLC files aren't used by any Sphere games I've ever seen. Also, the MNG support is apparently wrong or at least different from what libmng does, from what I remember reading on the forums years ago.
But the support for it is troublesome, I know maybe one animation in one game that uses it (Kefka's Revenge), and it's just not really worth it in general... unless you add gif and WebM support or something. (Which would be kickass and useful.)
Spherical Downloads Repo
||
My (really old) Sphere stuff
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Re: What would I need to implement the Animation API?
Reply #2
–
May 14, 2015, 05:29:54 pm
WebM might be interesting if you wanted to do FF7-style FMVs or such. Allegro has an FFMPEG-based video component from what I understand, I don't know if WebM is supported or not though.
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: What would I need to implement the Animation API?
Reply #3
–
May 14, 2015, 06:57:47 pm
I would rather see gif, mng, or apng than WebM.
I would hope that Sphere's MNG is correct, it uses libmng! Maybe it's an older version, and the spec changed? Either way, mng is not very well loved. gif or apng would be better.
Learn some history?
The Flying Jester's Blog of Sorts
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Re: What would I need to implement the Animation API?
Reply #4
–
May 14, 2015, 07:26:15 pm
Yeah, I wasn't really going to do WebM. If it even supported it, adding allegro_video would probably double the size of minisphere at least. Not really worth it for a feature that probably about 1% of users will use.
I've never heard of APNG though. Is that like the successor to MNG or...?
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: What would I need to implement the Animation API?
Reply #5
–
May 14, 2015, 07:29:37 pm
It's not billed as such, but it certainly seems to be. Apparently, the way that mng holds multiple png's is a hack, and the way that apng does it isn't. But they are both pretty simple extensions of png.
Or so I've heard.
I do know that apng is considered supported, and mng is not. Almost nothing except for higher-end image editors or swiss-army-image-readers opens mng anymore. And Sphere, of course
Learn some history?
The Flying Jester's Blog of Sorts
1
Print
Sphere Development
Engine Development
What would I need to implement the Animation API?