Welcome, Beginner Programmer!
You’re a beginner so I bet your having a little trouble with the DM language.
This will be put into 3 parts.
To begin, Use these for coding help!
(Below is the DM Guide, It teaches you all you would need to know!)
DM Guide
(Below is the DM Reference, If you have a question, Look it up here!)
DM Ref
A-I - Basic features of HTML such as bold, underline, italics, etc...
B-II - Some basic coding
C-III - Some tutorials and resources
* A-I Basic HTML
You can use things like this to make more noticed text, and such.
Bold, Use put B between <> and when you want bolding to stop, use /b between <>.
Italics, Use B between <> and to stop it, Use /i between <>.
Underline, Use U between <> and to stop it, Use /u between <>.
Font Color, Use font color=*color* between <> and replace *color* with your color, to stop it use /font color between <>.
Some colors are:
Red
Green
Yellow
Black
White
Pink
Lime
Blue
Fonts, Use font face=*font* between <> replace *font* with yours. To end that font use /font face between <>.
Some fonts are:
Times New Roman
Papyrus
Courier New
Tekton Pro
So that about wraps up this part.
* B-II Basic Code
Okay, So some basic code is like login, logout, world say, etc...
Here is the VERY basic code for these:
The commentary will help you understand what it does/stands for
mob
Login()
world<<"[src] has joined"
Logout()
world<<"[src] have left"
del src
|
mob/verb
OCC(msg as text)
if(!msg) return
world<<"[src]: [msg]"
mob/verb
Say(msg as text)
if(!msg) return
view()<<"[src] says: [msg]"
mob/verb
Whisper(mob/M in world, msg as text)
if(!msg) return
M<<"[src] whispers: [msg]"
|
Of course you can make those more. Like
Bolding it
Italicizing
Different Colors
Different fonts
Heres a basic statpanel:
mob/Stat()
statpanel("Stats")
stat("Level:",src.Level)
|
* C-III Wrap up
Ok so here are my tutorials. They can help you get started!
(Note: I'm not a Byond member, so you have to use the download LINK not the button.)
Login System Demo
Chat system Demo
Rank system demo
Gm Verbs
Levelup Demo
Posted by The Great Sabin on Wednesday, October 07, 2009 09:22PM
- 1 comment
(link)
/
Members say:
yea +0,
nay -0
(Edited on Monday, November 16, 2009 10:22PM)