hi
1)i would like to know how to make scoreboard?
2)i would like know how to code for pop up window when people log on
3)i would like to know how to make a HTML message board on my Browser..(i want to know how to put a Information when i needed)
4)also i want to learn about entering a house and all other goes black but the room and also wud like to learn more about it
ty friends i need them
-Dtroys
ID:174328
Aug 28 2003, 11:30 am
|
|
In response to The Conjuror
|
|
You can't easily make an entire HTML message board in the browser window. A far easier solution would be to get a message board from a website somewhere, and then just have that go in your browser window.
|
In response to The Conjuror
|
|
1)mob var Score = 0 mob verb Add_Point() usr.Score+= 1 usr <<"Your score goes up by one" Note: i wanted to learn a accual scoreboard...i know how to give level up or score up..but i want to know about how to make a accual score board!!!!with Maxpowerlevel... and update every time people gain powerlevel! 2)mob Login() alert("Welcome to BYOND") Note: i accually looking for somehting like a window to pop up every time people log in! i wanted to insert HTML in for Table.. and all that and i just dont know how to make a window pop up.. ! 3)i would like to know how to make a HTML message board on my Browser..(i want to know how to put a Information when i needed) Note: i was trying to learn the edite corner that ZETA 2 uses... its awsome and we can edite our own corner var/mob Corner = {""} some thing like that and i want to learn how to make the message and post it on directly when ever i needed! like an update! 4)also i want to learn about entering a house and all other goes black but the room and also wud like to learn more about it The next code makes a wall that a user cant walk through, that is opaque. When the user is outside of the house, the inside is black, when the user is inside, the outside is black. Try making a square with the wall icon, and a door somewhere. Then run the game and see what happens. turf/wall icon = 'wall.dmi' icon_state = "Wall" density = 1 opacity = 1 turf/door icon = 'door.dmi' icon_state = "door" layer = 8 opacity = 1 //Well there ya have it, very simple versions of what you wanted, though if thought up could be taken to much higher levels. For example, what about a roof on a house that when the user is outside the roof is visible, but when inside it is gone and outside is shaded. Or maybe a door that actually opens and closes when a user either clicks it, commands it, or bumps into it. I would recommend deadrons tutorial and Zilals first tutorial to help you on many of these subjects. Note: This is Just fine! ty thank you friends -Dtroys |
//The following code gives the user a command to add a point to his/her score. Your challenge, try to make it add score to an obj instead of the user that everyone can see. And mak eit happen when the user accomplishes something.
mob
var
Score = 0
mob
verb
Add_Point()
usr.Score+= 1
usr <<"Your score goes up by one"
//This code creates a pop-up saying "Welcome to BYOND, when the user logs in. You Challenge, try making the pop-up window appear for a limited amount of time and then dissapear, using the sleep() proc.
mob
Login()
alert("Welcome to BYOND")
This one im not so sure about, im positive somebody else can help you with this, i know its possible, but my HTML is a little rusty right now. Sorry.
The next code makes a wall that a user cant walk through, that is opaque. When the user is outside of the house, the inside is black, when the user is inside, the outside is black.
Try making a square with the wall icon, and a door somewhere. Then run the game and see what happens.
turf/wall
icon = 'wall.dmi'
icon_state = "Wall"
density = 1
opacity = 1
turf/door
icon = 'door.dmi'
icon_state = "door"
layer = 8
opacity = 1
//Well there ya have it, very simple versions of what you wanted, though if thought up could be taken to much higher levels. For example, what about a roof on a house that when the user is outside the roof is visible, but when inside it is gone and outside is shaded. Or maybe a door that actually opens and closes when a user either clicks it, commands it, or bumps into it. I would recommend deadrons tutorial and Zilals first tutorial to help you on many of these subjects.
P.S, The lines are not properly indednted. Every 3 spaces counts as one tab.
Your welcome
The Conjuror