Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 04/05/2005 11:14:39

Title: the object-action left tracks
Post by: on Wed 04/05/2005 11:14:39
I'm a begginer. just now finished the first action function -  according the 3dgs tutorial ( = "door1").

it works. the door has opened and closed well. but thr action is leaves tracks and filling all the window.

it seems the script is lacking a command to clear the window after evryy movement.

how am I doing it ?

thankws

Mondy

Title: Re: the object-action left tracks
Post by: Gilbert on Wed 04/05/2005 11:22:13
I don't know which tutorial you're refering to, but I think you're using the raw draw functions to draw the door right?

In that case, just put a:
RawSaveScreen();
line at the beginning of the room (enters room after fade in), then, in each game loop whenever before you want to draw that door, add:
RawRestoreScreen();