I need some help...
Okay I have this code on a page
world
hub = "Dragonball: The Final Showdown"
name = "Dragonball: The Final Showdown"
view = 6
does anyone know why when I play the game it just says dreamseeker? And not the name of my game?
ID:172656
Apr 11 2004, 8:50 pm
|
|
In response to Shades
|
|
Uhhh it still just says dreamseeker
|
disreguard the question about the hub name, doors! now heres my code
turf/doors/door1 icon = 'door.dmi' icon_state = "closed" density = 1 opacity = 1 verb/open() set src in view(1) if(!density) return //already open density = 0 opacity = 0 flick("opening",src) icon_state = "open" verb/close() set src in view(1) if(density) return //already closed density = 1 opacity = 1 flick("closing",src) icon_state = "closed" Now when I open the door theres a big black spacE? I know I have to do something with overlays... so heres my question, what do I do to make it so it shows the grass under the door rather than a black space? |
In response to Majinveku
|
|
There can only be one turf per square. If you place a turf on top of another turf, and the new turf has spaces where you can see through it, then the old turf will be added to the new turf's underlays. So, you'll need to have the default icon_state be "open", and then reset it to "closed" in New().
|
it should be like