ID:175347
 
This is the following code I use for my title page:

obj/login
icon='title.bmp'
layer=MOB_LAYER+1
New(client/C)
screen_loc="9,9,20"
C.screen+=src

client
New()
new /obj/login(src)
..()

it works but when you log in the title page is small, and isn't the actual size that is on the map.

please help me.
Try making a larger picture
In response to Jon88
The picture is actually very large, it just gets re-sized for some reason.

In response to MajinRaditz
Well, it's because you're using a .bmp file for it. Instead...since it'd be a lot harder to make the title page appear on the screen using a bmp file, simply transport them to a position on a map.
You can use a non-icon graphics as a HUD type item. The only way your going to get this to work is to actually cut out 32x32 tiles of your graphic and paste each of them as an overlay object. There are 2 ways you can go about this.
1) Just make a Pop-up Window Title screen thats placed on a spawn and deletes itself after a certain amount time.
Things to know: browse(), browse_rsc()

2) On a blank un-used area of the map or a Z level dedicated to title pages, create the turf with an icon='mypic.bmp'. Then Add it to the map area. Find out what the center tile is to get the title screen centered and there you go. When someone logs in just make sure you locate them to the center tile area.

Hope this helps.. and hope to see more people making use of Popups they're much easier and look just as nice. If you're unsure where to find information on the Things to know check the DM Reference, you can find information on how to use them in your code there.

Cheers!
LJR