Jump to content

How can I make animated Textures


Kore

Recommended Posts

take a look

https://github.com/opssemnik/FunModVannila/tree/master/cliente/animacoes'>https://github.com/opssemnik/FunModVannila/tree/master/cliente/animacoes

https://github.com/opssemnik/FunModVannila/blob/master/cliente/proxy/clproxy.java'>https://github.com/opssemnik/FunModVannila/blob/master/cliente/proxy/clproxy.java

https://github.com/opssemnik/FunModVannila

IN THE SECOND LINE TAKE A LOOK AT THIS

TextureFXManager.instance().addAnimation(new TextureFunFX("/FunMod/cliente/texturas/animacoes/QuestionBlock.png", FunMod.ANIMATED_TEXTURE_INDEX));

 

The FunMod.ANIMATED_TEXTURE_INDEX its the texture that you want to be animated in your main texture files, in the case in my FunModBlocks.png i want to the texture in the second square to be animated so that ANIMATED_TEXTURE_INDEX its "1" (int not string)

Link to comment
Share on other sites

this works but only updates the texture.png and not my desired texture also I get an annoying

2012-12-30 17:11:29 [iNFO] [sTDOUT] ########## GL ERROR ##########

2012-12-30 17:11:29 [iNFO] [sTDOUT] @ Pre render

2012-12-30 17:11:29 [iNFO] [sTDOUT] 1280: Invalid enum

 

Edit: Nevermind, I fixed it

The Korecraft Mod

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.