3
Animated Concrete Textures
So i was making a pack for the bridge on hyperlands and started to animate concrete blocks i wrote the code correctly and went to the terrian.json file thing and found blue and red concrete which i had made the textures for already. However, no matter how hard i try the blocks wont animate even though my code is correct. can anyone help?
Create an account or sign in to comment.
3
you need to go to a file called flipbook_textures.json and make it animate there. you can control how long the frames show and everything, if you want, you can copy this and past it at the front of the flipbook_textures file.
{
"flipbook_texture": "textures/blocks/concrete_blue",
"atlas_tile": "concrete_blue",
"ticks_per_frame": 10
},
the ticks per frame thing is how long is shows, so 10 ticks would be 1/2 second (as there are 20 ticks in a second)
also you would need to copy it for red concrete, just replacing wherever it says concrete_blue with concrete_red
{
"flipbook_texture": "textures/blocks/concrete_blue",
"atlas_tile": "concrete_blue",
"ticks_per_frame": 10
},
the ticks per frame thing is how long is shows, so 10 ticks would be 1/2 second (as there are 20 ticks in a second)
also you would need to copy it for red concrete, just replacing wherever it says concrete_blue with concrete_red
Can you show us what you wrote ?
Are you using capitals or spaces in the file names?