Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GROOVIE: Fix video transparency in V2 games
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit 2d42ab8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is very misleading. It most certainly does not fix transparency. Just take a look at the knights puzzle: You're just drawing over the previous frame with transparency now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the book puzzle in the library upstairs has the same issue. I'm still not sure what should be done, and there are two alternatives:
- The ROQ player should be able to draw on both the foreground and the background buffers, like the VDX player. The video flags should be implemented for that, if they're used in the same way as in the 7th Guest
- The ROQ player should draw with transparency only on the foreground layer. This is probably the correct way to do this now, and I am still working on that, although I'd like to see if this change would break something else in the 11th Hour.
So, in any video without transparency, a white pixel is fully transparent? The skulls menu is now broken.
Why are you checking the whole pixel instead of the alpha component?