Flipbook animation, frame size wrong (DEF-3829) (SOLVED)

#1

Hi there,

I have a flipbook animation with 3 frames: first and second frames are 8x8 pixels while the third frame is 16x16 pixels. The animation preview in the editor is fine while when I run the project the frames sizes are wrong. I believe this is a bug, at least the editor preview and the build are not consistent!

I hope this can be solved soon…

I have attached a minimal project showing this issue.

Thanks so much!

defold.zip (88.3 KB)

0 Likes

#2

Agreed, there seems to be an issue when calculating the size. Added ticket DEF-3829 for this.

1 Like

#3

Hi there,

any hope to see this fixed in near future?

Thanks!

0 Likes

#4

I’ve added it to our current sprint. It could be a potential quickfix.

2 Likes

#5

Hi,

this issue is still not solved. Any hope or should I try a workaround?

Thanks!

0 Likes

#6

Hm, interesting. I used your example when I was looking at the issue, and as far as I know this should not happen any longer. We’ll reopen the issue and take a second look.

1 Like

#7

Hi, thank you for your answer. I have looked again at the example and it does not work: in the editor the animation is showed in the right way (big white square, small red and green squares), in the engine the animation is wrong (big red square, small green and white squares).

Ciao!

2 Likes

#8

Ah of course, the fix will be released in 1.2.155 today :slight_smile: That’s why it doesn’t work yet…

3 Likes

#9

Released!

1 Like

#10

And it works also for me (of course)!

Thank you very much for your great work!

Ciao!

5 Likes