Animations made in Moho - Unfortunately they don’t fit in AGS

Started by speksteen, Tue 28/05/2024 15:41:47

Previous topic - Next topic

speksteen

Hi! I tested out some animations in Moho. I tried exporting them as a gif and import them in AGS. Unfortunately there were way too many png's.

https://youtube.com/shorts/z-L0Fn5lWpU?si=beQ_cpKWvZbAuoHQ

I was kinda excited to create something with it. I know Gamemaker can handle it but I really want to stick with AGS.

What do you think? Would lower res and less frames work in AGS? :)

Snarky

Quote from: speksteen on Tue 28/05/2024 15:41:47Unfortunately there were way too many png's.

What does that mean? What problem did you encounter?

Crimson Wizard

Do you mean that you convert gif to pngs prior to import?

I recall that AGS can import gifs alright, it splits them into separate frames though, because that's how its was historically made to work: each animation frame is a separate sprite. But it does so automatically without any additional action required from your side.

For convenience you may also create sprite folder per each animation, and import gifs there.

Views also allow to create animation loops from a sprite folder, there's a respective command in a context menu.

speksteen

My apologies for being unclear :)

I mean I export a gif from Moho and tried to import it in AGS as a view. The problem is there are way too many sprites (more than 200) for a simple animation. I'm currently looking for a workaround or use more simple animations.

Gilbert

Never used Moho, but isn't there some option to set the frame rate of the exported file, so that you may lower it to reduce the number of frames in the GIF?

Crimson Wizard

I looked "Moho" up, and it appears to be a vector animation tool. Indeed, AGS is strictly a raster animations engine, so complex vector animations might not be directly suitable.

speksteen

Moho is vector based but it can export raster based gifs. Any idea on the maximum number of sprites per view? I tried looking it up in the manual but couldn't find it.

Like Gilbert said I'm sure I can reduce the number of sprites/frames but I have no clue what the maximum number of sprites per view is :)

Crimson Wizard

Quote from: speksteen on Wed 29/05/2024 02:34:12Moho is vector based but it can export raster based gifs. Any idea on the maximum number of sprites per view? I tried looking it up in the manual but couldn't find it.

There's no hard limit for the number of frames per view or loop.

Having many frames may make loading an animation slower at runtime, especially if it uses high-res graphics. But idk if that's going to be a problem in your case, only tests may show.

SMF spam blocked by CleanTalk