Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Image overlays timed operations instantly finish when following DisplayTurns (5.1 Problem)
New Topic New Poll Post Reply
Poster Message
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3734
Registered: 12-28-2004
IP: Logged
icon Image overlays timed operations instantly finish when following DisplayTurns (+2)  
Paste this into any Image Overlay command:

DisplayTurns 2
FadeToAlpha 128 500
Display 2000
FadeToAlpha 0 500


What should happen:
* Image displays fully opaque for 2 turns
* Then over the course of half a second it fades out to half transparency
* Waits 2 seconds in this state
* Then fades out completely in the next half a second

What happens:
* Image displays fully opaque for 2 turns
* Then it runs the remaining commands as if they started on 0th turn, meaning that:
** if you waited for 1 second before 2 turns passed the image will be in half transparency, and then after a second will start fading again
** If you waited for 4 seconds it will immediately disappear


____________________________
My website | Facebook | Twitter
09-26-2020 at 10:24 PM
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
icon Re: Image overlays timed operations instantly finish when following DisplayTurns (+2)  
Here's a PR fixing the problem - https://github.com/CaravelGames/drod/pull/60

____________________________
My website | Facebook | Twitter
09-26-2020 at 10:27 PM
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: Image overlays timed operations instantly finish when following DisplayTurns (+1)  
Can confirm in 5.1.1.alpha.2020-10-16 that the example in the opening post behaves as expected and does not exhibit the wrong behavior.
10-17-2020 at 01:30 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 : Image overlays timed operations instantly finish when following DisplayTurns (5.1 Problem)
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.