Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Junkface on Thu 26/12/2013 13:36:34

Title: Moment of blackness on room transitions in 8 bit games
Post by: Junkface on Thu 26/12/2013 13:36:34
I'm getting an instant of blackness when changing rooms. Transition is set to instant. I thought perhaps I had too much going on in the room_Load() functions but am having the same issue in a newly created, almost empty game. Increasing colour depth resolves things, but my game is quite reliant on palette effects. Can anyone suggest a solution or is this a known issue I have to learn to accept?

Thanks.
Title: Re: Moment of blackness on room transitions in 8 bit games
Post by: Gilbert on Thu 26/12/2013 15:42:16
As two rooms are supposed to have a different colour palette, if the screen is not darkened in a split second it is possible that the graphics will be glitched for a short while during a room change. If you need seamless transaction in certain places of your game, better make such things happen in the same room (so they share the same palette). You can say, make a large scrolling room by putting the backgrounds of both scenes there and move the viewport when such a scene change is needed.
Title: Re: Moment of blackness on room transitions in 8 bit games
Post by: Junkface on Fri 27/12/2013 10:49:04
Thanks for the quick reply and suggestion. I'm glad to know it's not caused by my doing something wrong. I'll have to think about how to best work-around it in my game.