Page 1 of 1

dashboard stats not updated at certain points

Posted: Sat Jan 02, 2021 12:37 pm
by filbo
Please add a screen update to these situations in which the game pauses, but does not update the display of remaining emeralds, score, keys, and dynamites:

(1) open a level which has a successful solution tape; hit '5555' (4x 'play' button) to play it invisibly. The level completes and reels off the time bonus etc., pausing at the end -- with all the numbers remaining as they were initially displayed

(2) open a level which has a partial tape (takes you some way into the level without dying); '5555' to the end. Action pauses, but the stats are not updated. When you hit '4' (record) to pick up from that point, they finally update

(3) I think there's a similar case when you die, but I forget what it is. If I notice again I'll come back and comment here. But in any case I think all cases are going to be handled by the same 'when we come to a standstill, make sure all the dashboard stats are updated' line of code...

Re: dashboard stats not updated at certain points

Posted: Sat Jan 09, 2021 10:53 am
by Holger
I can only partially reproduce your observations when replaying tapes in "invisible warp mode":

R'n'D / EM / SP game engine with complete tape, counting score after playing:
- everything is updated as it should after the tape was played (when score counting begins)

R'n'D game engine with incomplete tape, going into pause mode after playing:
- "emeralds", "score" and "time" are updated when going into pause mode
- "dynamite" is not updated until "record" is pressed

EM / SP game engine with incomplete tape, going into pause mode after playing:
- only "time" is updated when going into pause mode
- everything else is not updated until "record" is pressed

(Oops, I forgot to track how keys behave in the panel...)

Re: dashboard stats not updated at certain points

Posted: Sat Jan 09, 2021 11:55 am
by Holger
Fixed now! :)

Re: dashboard stats not updated at certain points

Posted: Sat Jan 09, 2021 11:47 pm
by filbo
I guess I'll find out when it shows up in git...

Re: dashboard stats not updated at certain points

Posted: Sun Jan 10, 2021 12:24 am
by Holger
Pushed to public branch "master-next-patch-release" now! :)

Re: dashboard stats not updated at certain points

Posted: Sun Jan 10, 2021 8:01 am
by filbo
Looks good! : )