Ok i need rather urgent for someone to solve this. Im trying to make a background to fade from white to black slowly, thats why i just didnt make another room and put crossfade..
My game is hi-color, so no problems about that. The problem is that when executing this script in the room:
// room script file
function room_a() {
Ã, // script for room: Player enters screen (before fadein)
SetBackgroundFrame(1);
RawDrawFrameTransparent(1, 99);Ã,Â
}
function room_b() {
Ã, // script for room: Player enters screen (after fadein)
SetCharacterView(EGO, 7);
Wait(20);
RawDrawFrameTransparent(1, 95);
RawDrawFrameTransparent(1, 90);
RawDrawFrameTransparent(1, 85);
RawDrawFrameTransparent(1, 80);
RawDrawFrameTransparent(1, 75);
RawDrawFrameTransparent(1, 70);
RawDrawFrameTransparent(1, 65);
RawDrawFrameTransparent(1, 60);
RawDrawFrameTransparent(1, 55);
RawDrawFrameTransparent(1, 50);
RawDrawFrameTransparent(1, 45);
RawDrawFrameTransparent(1, 40);
RawDrawFrameTransparent(1, 35);
RawDrawFrameTransparent(1, 30);
RawDrawFrameTransparent(1, 25);
RawDrawFrameTransparent(1, 20);
RawDrawFrameTransparent(1, 15);
RawDrawFrameTransparent(1, 10);
RawDrawFrameTransparent(1, 05);
RawDrawFrameTransparent(1, 00);Ã, Ã,Â
}
it gives this error message:
---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
problem is caused by the game rather than the interpreter.
(ACI version 2.56.627)
(Room 13 script line 6)
Error: RawDrawFrameTransparent: cannot draw current background onto itself
---------------------------
OKÃ, Ã,Â
---------------------------
I dunno how to not draw it on itself.... didnt get it.. someone can help me?
EDIT: by the way, the background is a white image and the frame is black. Ive put one frame only.
My game is hi-color, so no problems about that. The problem is that when executing this script in the room:
// room script file
function room_a() {
Ã, // script for room: Player enters screen (before fadein)
SetBackgroundFrame(1);
RawDrawFrameTransparent(1, 99);Ã,Â
}
function room_b() {
Ã, // script for room: Player enters screen (after fadein)
SetCharacterView(EGO, 7);
Wait(20);
RawDrawFrameTransparent(1, 95);
RawDrawFrameTransparent(1, 90);
RawDrawFrameTransparent(1, 85);
RawDrawFrameTransparent(1, 80);
RawDrawFrameTransparent(1, 75);
RawDrawFrameTransparent(1, 70);
RawDrawFrameTransparent(1, 65);
RawDrawFrameTransparent(1, 60);
RawDrawFrameTransparent(1, 55);
RawDrawFrameTransparent(1, 50);
RawDrawFrameTransparent(1, 45);
RawDrawFrameTransparent(1, 40);
RawDrawFrameTransparent(1, 35);
RawDrawFrameTransparent(1, 30);
RawDrawFrameTransparent(1, 25);
RawDrawFrameTransparent(1, 20);
RawDrawFrameTransparent(1, 15);
RawDrawFrameTransparent(1, 10);
RawDrawFrameTransparent(1, 05);
RawDrawFrameTransparent(1, 00);Ã, Ã,Â
}
it gives this error message:
---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
problem is caused by the game rather than the interpreter.
(ACI version 2.56.627)
(Room 13 script line 6)
Error: RawDrawFrameTransparent: cannot draw current background onto itself
---------------------------
OKÃ, Ã,Â
---------------------------
I dunno how to not draw it on itself.... didnt get it.. someone can help me?
EDIT: by the way, the background is a white image and the frame is black. Ive put one frame only.