ID:161591
 
could anyone show me an example of a login screen that has a picture (Load,New,Quit,Delete) ?

when you click (Load) it loads your player

when you click (New) you make a player *Male,Female*

when you click (Delete) it deletes your old Player

when you click (Quit) it exits the game


** i have all these (Load,New,Delete,Quit) but i just need an example of how you click a login screen Picture and when you click *Load* login screen picture it loads up your player**
well, i think its just easyest to do this:

//once you have your login screen on the map, just put these turfs over the appropriate tag (I.E.- load over the load)
turf/newchar
density = 1
layer = 999
Click()
usr.newchar()
turf/load
density = 1
layer = 999
Click()
usr.load()
turf/delete
density = 1
layer=999
Click()
usr.delete()
In response to RanEsu
RanEsu wrote:
well, i think its just easyest to do this:

> //once you have your login screen on the map, just put these turfs over the appropriate tag (I.E.- load over the load)
> turf/newchar
> density = 1
> layer = 999
> Click()
> usr.newchar()
> turf/load
> density = 1
> layer = 999
> Click()
> usr.load()
> turf/delete
> density = 1
> layer=999
> Click()
> usr.delete()
>
>

never really messed with that type of thing but, is usr appropriate there?
In response to Eternal Desire
I'm pretty sure usr is allowed since nothing else would be clicking it. I don't see a point in putting density in them though, and you could make layer=FLY_LAYER.
In response to DisturbedSixx
density is required, because if its not dense, the player (with no icon i might add) would just run around a probably blank map, fun for about 5 min. :P
In response to Eternal Desire
Yep. Click() is a strictly player-initiated action, similarly to a verb. It is one of the few procs where the famous (or I wish it was, I guess) "Ungh. No usr in proc" rule does not apply.
In response to RanEsu
but how do you put the screen like when you enter the game
it shows the turf and objs already without playing the game
In response to XskyflakezX
The most simple way to do this is put all your atoms ("icons") an isolated, separate area on the map. Then, when the player logs in, set his client/eye to the center turf of that area. After he has logged in into his character, set the eye back to his character.
client/New()
src.eye = locate(10,5,2)
//character selection/creation stuff here
if(Loaded_Character)
src.eye = character
In response to Kaioken
ok
thank you very much ^.^
In response to RanEsu
Or, you know, you could just stop the player from moving by using Move().
In response to DisturbedSixx
No need to further bloat your Move() proc; the player doesn't even need to be at the title screen's location, anyway. Just setting the eye to there so he sees it is enough.
Though, if you couldn't use the eye variable, you still wouldn't use Move(); overriding Exit() would be more appropriate.
You can always use a proc.
In response to Wolfdude5
yeah i had same question but how do i put load over load if my log in screen on map is on (0,0,0) from the bottom left corner?

where would i put that in the code shown?