Page 1 of 2

Been working on the title screen all day...

Posted: Wed Sep 01, 2004 7:27 pm
by Falco Girgis
Yes, I've been trying to get images, and graphics to look perfect all day. Then I finally implemented user input so you could actually move the damn option thing. It works great. It might look bland, but I feel that this skeleton has plenty of rooms for improvement and fancy animation...

The blackness at the top is meant for some sort of beautiful art/logo made by one of the artists....

here is a screen straight from the dreamcast:
Image
Don't forget people, everything I show you looks a bit different on the tv (different resolution, different colors) I personally think this looks WAY better on the TV.

And for you programming whores, this is your lucky day. Here is the source to the title screen:

Code: Select all

void TitleScreen() {
  unsigned int counter = 0;
  short int option = 0;

  canvas_img = pvr_mem_malloc(128*64*2);
	png_to_texture("/rd/menu/menu_canvas.png", canvas_img, PNG_FULL_ALPHA);

    while(1) {
	    pvr_wait_ready(); 
		pvr_scene_begin();
		pvr_list_begin(PVR_LIST_TR_POLY);

		counter++;

		if (counter == 300000) break;
		
		draw_sprite(320, 275, 128, 64, 50, 36, canvas_img, 1);
		
		/* Text */
        plx_fcxt_begin(cxt);
		    plx_fcxt_setsize(cxt,30);

            if(option == 0) PrintText(219, 249, 2, 1, 255, 200, 1, "Game Start");
		    else PrintText(219, 249, 2, 1, 255, 1, 1, "Game Start");
		
		    if(option == 1) PrintText(238, 285, 2, 1, 255, 200, 1, "Continue");
		    else PrintText(238, 285, 2, 1, 255, 1, 1, "Continue");
		
		    if(option == 2) PrintText(246, 323, 2, 1, 255, 200, 1, "Credits");
		    else PrintText(246, 323, 2, 1, 255, 1, 1, "Credits");

		    plx_fcxt_setsize(cxt,15);
		    PrintText(168, 390, 2, 1, 1, 1, 1, "Copyright Team Chaos 2004-2005");
		    PrintText(218, 413, 2, 1, 1, 1, 1, "www.TheChaosRift.com");
        plx_fcxt_end(cxt);

		cont_cond_t cond; 
        cont_get_cond(maple_addr(0,0),&cond); 

		if(counter%12 == 0){
		    if(!(cond.buttons & CONT_DPAD_DOWN) || (cond.joyy > 150)) option += 1;
		    if(!(cond.buttons & CONT_DPAD_UP) || (cond.joyy < 100)) option -= 1;
			if(!(cond.buttons & CONT_Y)) vid_screen_shot("/pc/screenshot.ppm");
		}

		if(option > 2) option = 0;
		if(option < 0) option = 2;

		pvr_list_finish(); 
		pvr_scene_finish();
	}
}
Well, what do you think of it?

Posted: Wed Sep 01, 2004 7:31 pm
by Don Pwnious
Thats a great title menu, but arent you going to do the background?

Posted: Wed Sep 01, 2004 7:34 pm
by Falco Girgis
ME?! Oh HELL no, I'M not doing the background. I'll program it, but that'll be somebody like *cough*Dark Crusader's*cough* job.

But yes, I am going to have a background. I think a background just a bit like the one on Megaman Legends title screen would be cool...

Posted: Wed Sep 01, 2004 8:22 pm
by JS Lemming
You could keep the black background and have the characters flying up with the BG parallaxing down. Just a thought :mrgreen:

edit-

I like the copyright text and such at the bottom. It makes it look all profesional and koo.

Posted: Wed Sep 01, 2004 8:35 pm
by Falco Girgis
I think that all of our games should have that...

Posted: Wed Sep 01, 2004 8:39 pm
by Wutai
Did you really get a copyright on it? It probably dosn't cost too much.

Posted: Wed Sep 01, 2004 8:46 pm
by Falco Girgis
Of course I didn't. But everybody knows that if white text at the bottom of the Title Screen is present, then whatever it says must be true...

Posted: Wed Sep 01, 2004 8:57 pm
by Wutai
<font color="White">

I am better than you.

</font>

Posted: Wed Sep 01, 2004 9:10 pm
by Falco Girgis
Well, there's a couple of reasons why you aren't better than me in this instance.

First off, when using html tags:

<font color="#FFFFFF">

Only the |_33+ use the hex colors.

</font>

But finally, I'm smarter because I KNOW that Hypertext Markup Language is disabled! :guffaw:

I am better than YOU!

Posted: Wed Sep 01, 2004 9:14 pm
by Wutai
Shutup!

Posted: Wed Sep 01, 2004 9:15 pm
by Wutai
Ah HAH!!!!

Posted: Wed Sep 01, 2004 9:19 pm
by JS Lemming
Ah somebody just got BURNED.

Posted: Wed Sep 01, 2004 9:24 pm
by Falco Girgis
Actually, the whole white text thing is awesome. You can leave barely visible subliminal messages...

Posted: Wed Sep 01, 2004 9:25 pm
by Wutai
I sure wish I were smart enough to know which one of us got

BURNED!!!

Posted: Wed Sep 01, 2004 9:27 pm
by Falco Girgis
I look back up at that Sub-Standard screenshot and wish to god you guys could see the game in action. It just isn't the same. It looks really cheesy and crappy in the screenshot. On the TV it looks like some sort of proffessionally done wonder...

Take my word, it doesn't really look like that...