Question on intro setup

Started by cshires, Mon 08/09/2003 01:11:34

Previous topic - Next topic

cshires

I would like to know how I could achive the following effect with my intro sequence.

I have two screens with just text and then a third screen with a graphic picture. What I would like to do is cycle through the three screens with a timed interval. i.e. similar to the intro you see in Back to the Future movie which is something like this:
<Fade In>
Amblin Entertainment Presents
<Fade out>

<Fade In>
A Robert Zemeckis Film
<Fade out>

<Fade In>
Back to the Future (with colors, graphics etc)
<Fade out>

I'm not sure how this gets setup. Do I rename these as Room 1,2,3 and change to each room? Is there another way to achive this effect?

Any help is appreciated...

Thanks! ;D

Ishmael

#1
I have several times tried to fiddle around with the FadeIn() and FadeOut() functions, but never got good results, so I suggests you do:

Set Transition style to Fade, and if you want the game to use a diffrent transition, just set it with SetScreenTransition() script command after the intro.

Make the all rooms, yes, and in the "Player enters screen (after fadein)" put "Run script":

Wait(delay); // Set delay for the amout of game cycles you want the game to wait before moving on
NewRoom(next); // Where next is the number of the following room.

---

And in the first rooms "Player enters screen (before fadein)" you can put "Run script":

HideMouseCursor(); // to hide the cursor, so it won't bother the player
GUIOff(name); // as many times as many GUIs you have initially on
StartCutscene(skip_with); // where you put a number in place of skip_with to set how the cutscene can be skipped:

1  by pressing ESC only
2  by pressing any key
3  by clicking a mouse button
4  by pressing any key or clicking a mouse button
5  by pressing ESC or clicking the right mouse button


And in either the last intro room "Player leaves screen" or the fourth room "Player Enters Screen (Before fadein)" the same "Run script":

ShowMouseCursor(); // so the player don't need to quess where the mouse is
GUIOn(name); // to put the earlier off turned GUIs back on, if needed allready
EndCutScene(); // to end the cutscene. The code skips here, if the player skips the intro

---

And in all those rooms, you probably want to hide the player character, and maybe disable load/save.

;)
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk