So in order to get an image such as a '4:3' painting to animate properly in game, it needs to be first stretched then resized as follows. for images where 'a' is larger than 'b', things get tricky Now that image should animate and look right instead of stretched. Stretch the x-axis of the animation image to the NEW_X size of pixels, keeping the y-axis the same.Take the size of the y-axis in pixels divided by the number of frames (this gives you the size you need to stretch the x-axis), let's call this NEW_X.Note how many frames you made for the painting, and note the size of the y-axis in pixels.So in order to get an image such as a '1:2' painting to animate properly in game, it needs to be resized as follows. When 'a' is smaller than 'b', you can do the following The file named "Animation Painting Bug Demonstration.zip" contains the resourcepack and and the world file, otherwise, I've attached some GIF images that show the problem and the work around 'fix'.įor a work around until this is fixed, let's say each image has a ratio 'a:b' where 'a' is width and 'b' is height. To see this bug in action, I've attached the world and resource pack that demonstrates this bug, and the files that I changed to show how it fails, and how to "fix" it. I found out the reason is because Minecraft still thinks the size of each frame needs to be in a '1:1' ratio. Whenever trying to make any animation for paintings with a ratio that isn't '1:1', the animation either won't work or is stretched. This bug affects versions 1.14 and above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |