Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Light changes are not rewindable in demos (visual glitch)
New Topic New Poll Post Reply
Poster Message
Doom
Level: Smitemaster
Avatar
Rank Points: 3226
Registered: 07-05-2004
IP: Logged
icon Light changes are not rewindable in demos (+1)  
Steps to reproduce:

- Make a room with one or more "Light" or "Wall light" objects.
- Make a script that includes "Activate item at" commands that activate/deactivate the lights in the room.
- Record a demo in the room that triggers this script.
- Watch the demo using Left and Right arrows. If you rewind after triggering the light change, the lights don't reset to their original state.

Only affects viewing demos. Undoing during gameplay reverts light changes as expected.

Observed in 5.1.0.6501 (standalone) and 5.1.0.6530 (Steam) on Windows.

If you're wondering what the significance is, I noticed this while watching demos for a room that activates red lights if you reach a fail state. Looked pretty weird when those lights stayed on after going back to the start of the demo.
10-04-2016 at 12:23 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged

File: BUG REPORT LIghts do not reverse in demos.hold (874 bytes)
Downloaded 40 times.
License: Public Domain
icon Re: Light changes are not rewindable in demos (+2)  
PR

Test hold attached.

This was caused by the fact that static lighting is only recalculated when an event is triggered during turn processing, but the event happens on the turn you step on the plate/hit the orb, not turn before.

____________________________
My website | Facebook | Twitter

[Last edited by skell at 10-19-2020 10:18 AM]
10-19-2020 at 10:17 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged

File: BRLdnrid See hold title The Entrance.demo (682 bytes)
Downloaded 37 times.
License: Public Domain
icon Re: Light changes are not rewindable in demos (+1)  
Test demo attached (though it's trivial to make one anyway)

____________________________
My website | Facebook | Twitter
10-19-2020 at 10:17 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 2670
Registered: 07-11-2014
IP: Logged
icon Re: Light changes are not rewindable in demos (+1)  
Can confirm in 5.1.1.alpha.2020-10-29 that the example hold behaves correctly when stepping backwards and forwards through the light changes..
10-31-2020 at 07:13 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Light changes are not rewindable in demos (visual glitch)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.