Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 12/11/2003 18:47:49

Title: Title Screen Question
Post by: on Wed 12/11/2003 18:47:49
Hey people, can anyone give me a basic idea on how to make a title screen? I need somethin gto show something like "blahbalahbalh games+pretty logo" fade out and show a title screen with the regular New Game/Save/Load/Options/Quit buttons. With a coloured background and fiddly animations :)

I'm pretty new to AGS, but i guess i'll catch up.

Thanks people,
MinD|_eSs
Title: Re:Title Screen Question
Post by: Alynn on Wed 12/11/2003 19:32:22
Pretty simple really...

Basicly BLAH BLAH BLAH games logo is your intro room... depending if you have a wait or onclick switch to NewRoom(1);

Have Room1 be your title screen, Make yourself a GUI with your New/Load/Options/Quit (I dont see a reason to have a save game on your title screen)

Set the room (in the room editor) as the player invisible. And for its interactions have something to the effect of

GUIOff(X); //Where X is your normal main gui
GUIOn(Y); //Where Y is your title screen GUI
ShowMouseCursor(); //Only needed if you hid the mouse cursor on the into screen
SetCursorMode(6); //Set the cursor to the Arrow
SetGUIPosition(Y, XPos, YPos); //Move the GUI to the right position


You will then have to code the buttons for you GUI...
Title: Re:Title Screen Question
Post by: Ginny on Wed 12/11/2003 19:54:14
Hey Stefan,

As far as I know, making a title screen isn't difficult. just draw the complete graphic for the screen, then set the Save/Load/Quit/Play/etc texts as hotspots. Animation youcould do with either objects or bg animation. As for fading out, you can use SetObjectTransparancy. If you need a funcion I'll post it but it's more fun to figure out on your own, and not difficult, just needs some fiddling :).

edit: heh, late :P I was under the impression that it's easier with a background than with a gui, using MouseOverHotspot (I think, havn't checked for a while) to make the buttons seem more, buttonish.. heh
Title: Re:Title Screen Question
Post by: Scummbuddy on Thu 13/11/2003 02:19:44
dont make room1 your first room, have your first room be intro.crm and have character start in room 0. im away from my main comp, so if someone agrees with both room 0 matching to intro, please post so
Title: Re:Title Screen Question
Post by: Ishmael on Thu 13/11/2003 11:23:36
I character starts in room 0, it don't mean room0.crm, it means intro.crm...