Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: RJD on November 26, 2002, 04:49:19 PM

Title: Changing pics in rooms
Post by: RJD on November 26, 2002, 04:49:19 PM
Is there any way I can change pics without changing rooms? It would help me alot. Tell me if I need to be more specific.
Title: Re:Changing pics in rooms
Post by: robingravel on November 26, 2002, 05:07:07 PM
Hi RGD

You mean changing the pictures without changing the room?

Robin Gravel
Title: Re:Changing pics in rooms
Post by: RJD on November 26, 2002, 05:13:00 PM
Yeah. Can I?   ???
Title: Re:Changing pics in rooms
Post by: Lord Hart on November 26, 2002, 05:51:18 PM
Yeah you can. I was looking through the Help file that comes with SCI Studio.

Heres an example from it:

Quote
DrawPic(100 dpCLOSEREOPEN_EDGECENTER dpCLEAR 1)
/* draws PIC.100 closing the existing picture from center to the edges, reopens with the new picture from the edges to center, clearing the screen before drawing and using palette[1] as the default. */

Have a look in the Help file and search for pic. then select Kernal: DrawPic from the list, and it has the info you need.

It is best to use changeState with this, so that you can have it change after a certain amount of cycles, for a titlescreen for instance.

- Ultimo
Title: Re:Changing pics in rooms
Post by: RJD on November 26, 2002, 05:56:25 PM
THANKS ALOT   :-* (Kidding, though Im sure you are a great person)           Thats just what I need