dashboard stats not updated at certain points

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
filbo
Posts: 500
Joined: Fri Jun 20, 2014 10:06 am

dashboard stats not updated at certain points

Post 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...
User avatar
Holger
Site Admin
Posts: 3510
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: dashboard stats not updated at certain points

Post 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...)
User avatar
Holger
Site Admin
Posts: 3510
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: dashboard stats not updated at certain points

Post by Holger »

Fixed now! :)
filbo
Posts: 500
Joined: Fri Jun 20, 2014 10:06 am

Re: dashboard stats not updated at certain points

Post by filbo »

I guess I'll find out when it shows up in git...
User avatar
Holger
Site Admin
Posts: 3510
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: dashboard stats not updated at certain points

Post by Holger »

Pushed to public branch "master-next-patch-release" now! :)
filbo
Posts: 500
Joined: Fri Jun 20, 2014 10:06 am

Re: dashboard stats not updated at certain points

Post by filbo »

Looks good! : )
Post Reply