Title Screen Question

Started by , Wed 12/11/2003 18:47:49

Previous topic - Next topic

Stefan K

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

Alynn

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
Code: ags

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...

Ginny

#2
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
Try Not to Breathe - coming sooner or later!

We may have years, we may have hours, but sooner or later, we push up flowers. - Membrillo, Grim Fandango coroner

Scummbuddy

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
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Ishmael

I character starts in room 0, it don't mean room0.crm, it means intro.crm...
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