- Adds the ability for animated textures.
- Either via animations.txt in the map's directory
- animName, textureToUpdate, animationTexture, x, y, width, height
- Example: sword, /gui/items.png, /swordanim.png, 32, 64, 16, 16
- effect functions
- registerTextureAnimation(String animName, String texName, String animatedTex, int x, int y, int width, int height)
- Example: effect.registerTextureAnimation("sword", "/gui/items.png", "/swordanim.png", 32, 64, 16, 16)
- unregisterTextureAnimation(String animName)
- Example: effect.unregisterTextureAnimation("sword")
- Items can be store and saved with more than 127 items (up to 2^31-1).
Sunday, August 7, 2011
r977 - Animated Textures
Subscribe to:
Post Comments (Atom)
WOW Its AMAZING!! Thanks for this!!
ReplyDeleteWith all this new texture stuff, I have to say that I now feel sorry for people with lower-end computers.
ReplyDeleteHowever, Cryect, I have to say: AWESOME!
How exactly would we go about adding/using HD textures?
ReplyDeleteDo animations work with all textures (like mobs, and animated models)
and would you mind explaining how the wrapping works on models which aren't perfect cubes? i cant figure that out, it was being strange.
Generated 21/08/11 15:11
ReplyDeleteAdventureCraft r993 - Minecraft Beta 1.7.3OS: Windows Vista (x86) version 6.0
Java: 1.6.0-oem, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel 945GM version 1.4.0 - Build 7.14.10.1114, Intel
java.lang.NullPointerException
at TextureAnimated.onTick(TextureAnimated.java:64)
at ji.updateTextureAnimations(RenderEngine.java:734)
at ji.a(RenderEngine.java:593)
at net.minecraft.client.Minecraft.k(Minecraft.java:1176)
at net.minecraft.client.Minecraft.run(Minecraft.java:512)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 66e43566 ----------