chikinov

event will not be fired if its time is 0 and frameCount == 1

if (lastTime >= frames[frameCount - 1]) return;

i believe it is because of the above code
lastTime must be always >= 0
chikinov
  • Posts: 6

Nate

I finally got sick of edge cases with events and wrote unit tests for event timeline:
https://github.com/EsotericSoftware/spi ... Tests.java

Hopefully this catches them all. I've fixed all the runtimes, so you should be good to go now. :)
User avatar
Nate

Nate
  • Posts: 10561

chikinov

that's great :yes:
thanks very much
chikinov
  • Posts: 6


Return to Bugs