Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: NiksterG on Sat 16/04/2005 00:16:18

Title: Tintscreen problem
Post by: NiksterG on Sat 16/04/2005 00:16:18
I used the search function to see if it was possible to make the game play part in greyscale. I found out it couldn't, but it recommended using TintScreen(100, 50, 0) to make the screen look like an aged photo.  (This is the topic.)  (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=19773.0) However, when I go to the rooms where the Tintscreen has effect and I display a message, the mouse cursor gets rid of the tintscreen effect around it. Is there any way to change this?
Title: Re: Tintscreen problem
Post by: Goot on Sun 17/04/2005 00:52:25
The mouse shouldn't be tinted with the screen, it's not part of the screen. You'll have to change the cursor image to a more grayish one in that room. Use:

ChangeCursorGraphic(MODE,SPRITESLOT);

MODE is the cursor mode you want to change. The arrow cursor that is present while a message box is up is mode 6. SPRITESLOT is the sprite number of the image that you want to change the cursor to.
Title: Re: Tintscreen problem
Post by: stuh505 on Sun 17/04/2005 21:10:47
Well, the mouse image really is part of the screen...it's really not a very well named function, perhaps it should be TintBackground.  It would be nice if it had some parameters to toggle between just tinting the background, or actually tintint everything on the screen (GUI's, pointers, video, whatever is on the screen).