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
Stranica: 1/1.
chikinov
8.5 years ago
- chikinov
- Postovi: 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.
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.

8.5 years ago
-
Nate - Postovi: 11942
chikinov
that's great
thanks very much

thanks very much
8.5 years ago
- chikinov
- Postovi: 6
Mark topic unread
• Stranica: 1/1.
Natrag na Bugs
- Vremenska zona: UTC