Hello, this is my first post. I would like to address an issue about the SCI0 game template, but first a little about me. I'm a nooby SCI programmer, just started a couple weeks ago. However, I'm not new to programming and have been at it for a couple decades now. I'm a major fan of all the Sierra adventure games and am excited to have found this community!
Now about my problem: I wanted to make the screen checkboard fade out/in when changing rooms, but I couldn't find any information about how to do it on this forum or in the source code of other fan games. After looking at the template code for a couple hours I determined that the following code snippet was put in the wrong class:
(if(< paramTotal 2)
= gDefaultPicAni Random(0 5)
)(else
= gDefaultPicAni picAni
)
I moved this snippet from "Main.sc: instance public Template of Game, method (newRoom roomNum picAni)" to "Game.sc: class Rm of Rgn, method (newRoom newRoomNum picAni) and now newRoom transition effects work properly just by doing the following:
(send gRoom:newRoom(2 dpCLOSEREOPEN_CHECKBOARD))
Let me know if this is a bug that has already been addressed, or if I'm completely mistaken (I'm still really new to SCI programming)
Thanks!