Closed krmbn0576 closed 5 years ago
The problem of "the screen freezes extremely occasionally despite the sound being heard" was previously reported.
It turned out that the reason for this is that this._skipCount is a negative number. This is how it works.
this._skipCount
startTime
Date.now()
endTime
startTime > endTime
elapsed
Fixed!
The problem of "the screen freezes extremely occasionally despite the sound being heard" was previously reported.
It turned out that the reason for this is that
this._skipCount
is a negative number. This is how it works.startTime
is determined based onDate.now()
.endTime
is determined based onDate.now()
.startTime > endTime
soelapsed
is negative.elapsed
is negative sothis._skipCount
is negative.this._skipCount
is negative so the game is no longer rendered.Fixed!