Good day, colleagues!
I’m using defold editor 2, its latest releases.
I found a strange bug, time in defold project runs 5 times faster, when I use build command. So all animations run 5 times faster, and sprites move 5 times faster as well.
I tried building the same project on my mac and on android. They look the same, the animation speed and unit speed are back to “normal”.
I print dt value in
function update(self, dt)
…
self.time_passed = (self.time_passed or 0) + dt
print(‘hero:attack:sim_update’, dt, self.time_passed)
and it confirms my concerns. time_passed changes 5 times faster then seconds do.
Have anyone seen this before?