Community
SCI Programming => SCI Syntax Help => Topic started by: MusicallyInspired on June 02, 2007, 07:06:26 PM
-
Is there a tutorial somewhere that describes how to put one picture resource on top of another? Similar to how the SQ3 title is made; Space Quest III is one pic and Pirates of Pestulon is another one on top. It seems that there are multiple settings you can use as well like mosaic fade, side-wipe etc as if it was loading a new picture but really it's displaying it on top of another. I hope I'm making sense.
I'm assuming this is possible I just can't figure out how.
-
Search the SCI Studio help for "drawPic". Unfortunately, the online help at bripro.com seems to be gone... in fact, bripro.com seems to gone. Which means SCIStudio can't be downloaded... which means there is no help file available online anymore, and I don't include one in SCI Companion.
Well, hopefully, you have the scistudio help file downloaded already.
There is a kernel function DrawPic (where the help file tells you all the different animations you can use), but you shouldn't use that or the room's picture won't load properly when you save/restore a game. So use the drawPic method on the Rm class (you can specify the animation there too).
-
Thanks. I still have SCI Studio. I'll take a look.
-
Thanks. I still have SCI Studio. I'll take a look.
the overlay method is a better choice. Unlike drawPic, it does not clear the screen:)
-
oops, yes, you'r right :-[
-
Came across this one today, you can also tell drawpic not to clear the screen first.
DrawPic(500 dpOPEN_INSTANTLY dpNO_CLEAR)
-
Even though this thread was started back in 2007, I noticed the reference to the missing online help file. In case anyone is not aware the help file is available on line. http://sci.sierrahelp.com/SCIStudio3Help/index.html