so i copyed it and I did exacly what he did and the obj's stuck to the map and you would have your little menu at the bottem.
My game has a start up screen so when i put the code in, the small menu at the bottem would still be there and i dont want the menu at the start up screen.
I dont know how to make it that it is not on the start up screen but on the actual game map. How would i do such a thing.
What i want to do (if you didnt understand)
my start up screen
_________________________
| |
| |
| World one |
| World two |
| World Three |
| Exit |
|_________________________|
I want to make it that when you click on world one you get send to a map and in that map you have the small menu at the bottom.
i tryed doing this:
turf // turf
World1 // the name of the turf
icon = 'world1.bmp' // the icon of the turf
density = 1 // if 1, you can't walk through it
Click() // if you click it...
usr.loc = locate("World1")
usr.icon = 'Player.dmi'
usr.icon_state = "player"
screen_objs
parent_type = /obj
toolbar_background
icon = 'white.dmi'
layer = TURF_LAYER
map_border
icon = 'border.dmi'
layer = FLY_LAYER+1
home
icon = 'home.dmi'
Click()
usr.icon = 'Player.dmi'
usr.icon_state = "invis"
usr.loc = locate("start")
but i would get the error
loading Title Page Demo.dme
Main.dm:58:error: proc definition not allowed inside another proc
Title Page Demo.dmb - 20 errors, 0 warnings (double-click on an error to jump to it)
Can anyone help me and tell me how a thing like this is possibal. I want to make it like Dragon Ball Zeta's game where the menu is not at the start up screen.