#2D animations in MC

1 messages · Page 1 of 1 (latest)

pine agate
#

Hi guys, I was wondering what you guys think would be the most optimized way to put 2D animations into MC

#

this is done using textures as frames

#

so each frame is a single texture linked to a single model. This animation is probably like 15 models.

#

Or I can use objmc with a big texture file composed of multiple frames and then just cycle through the textures in that file

#

Was wondering what you guys think. Or if you have a better method, I'm all ears

#

First method also limits the animation to 20fps

soft shard
#

I'd recommend just using vanillas animated texture.
Unless you're making a mod yourself, that's the most efficient method.

#

Actually, considering how large the texture is, having seperate models might be faster 🤔

#

But it'll bloat the texture atlas quite a bit.

pine agate
#

Is because I would need to be able to control when the animation would start

#

Otherwise, everytime I play the animation

#

It would start at random points in the animation

soft shard
#

True, then I don't think there are many alternative options, maybe generating it trough a shader, but that's not possible as you cannot guarantee that the colors wouldn't be used anywhere else.

#

(Actually it would very likely be possible, people are doing this all the time, but the risk still remains)

pine agate
#

Yea objmc is the shaders method

#

Alright I’ll play more with it

#

Thank you!

#

!close