deathcap / artpacks

cascading texture/sound artwork pack loader
http://deathcap.github.io/artpacks/
7 stars 3 forks source link

Parse .mcmeta JSON files for animated textures #7

Closed deathcap closed 10 years ago

deathcap commented 10 years ago

Started working on an .mcmeta parser: https://github.com/deathcap/mcmeta - reads animation frame coordinates given the JSON and texture file width/height

Next up: split up texture strip into separate textures for each frame, pass to voxel-texture-shader for animation

deathcap commented 10 years ago

Using first frame only for now: https://github.com/deathcap/artpacks/commit/6973b5d1f0448addc2647ae8b9b61e27572bb8d8 https://github.com/deathcap/artpacks/issues/6

deathcap commented 10 years ago

https://github.com/deathcap/mcmeta can now accept (pixels, json) and return [{image:.., time:...}] for each frame, now to integrate with this module