Well..in the e-mail it says:
Lack of helpfiles, please resubmit this game when you add some sort of help
system.
Just wondering what it means by 'help system'.
Flash
ID:259579
Nov 9 2002, 1:06 pm
|
|
In response to Lesbian Assassin
|
|
Or you could use <shameless plug>Crispy.HelpSys</shameless plug>.
|
Flash_war wrote:
Well..in the e-mail it says: For details on game requirements, see: http://www.deadron.com/byond/ ByondBwicki.dmb?ByondGameChannel |
In response to Crispy
|
|
Your help thingy is nifty Crispy..one question though..how would I make it link to an img in the game? or would I need to put it up on the net?
Flash |
In response to Flash_war
|
|
Thanks. :)
To display an image in there, put this in before you display the help window: <code>usr << browse_rsc('icon.dmi')</code> Then put
<img src='icon.dmi'>
I might actually put this functionality into the library. Thanks for the idea! |
In response to Crispy
|
|
What about for an icon state?
|
In response to Flash_war
|
|
Sheesh, you have to make it difficult for me don't ya... :P
After some research, I think this should work: <code>usr << browse_rsc(icon('icon.dmi',"someiconstate"),'blah.dmi')</ code> If you want a specific direction, just specify it in icon(): <code>usr << (icon('icon.dmi',"someiconstate",NORTHWEST),'blah.dmi')</ code> BTW, this is getting incredibly off topic. :P |
In response to Crispy
|
|
Wanna move it to the code problems or something..?
BTW do I put it under datum/helpsys/main? |
In response to Flash_war
|
|
You should have a bit somewhere in your code that actually displays the help system (calls the datum's display proc). Put it there, not in the datum. The <img> bit goes in the datum (in the help text to be exact), but the other bit goes in the code that tells the help system to display itself.
|
In response to Crispy
|
|
Well..I put it in there and stuff but it doesn't work when I put <img src='turfs.dmi'> it just came up with one of those Xs where the pic is suppose to be
|
In response to Flash_war
|
|
Post your code and I'll have a look at it (it might be an idea to start a new thread in in Code Problems).
|
In response to Crispy
|
|
Nevermind..I fixed the problem..so it'd be like this:
usr << browse_rsc(icon('turfs.dmi',"grass"),"turfs.dmi") Then if you want to link to the img in the help file just put this in the text.. <img src=turfs.dmi> Edit: So then actually it'd be like this if you wanted multiple ones.. usr << browse_rsc(icon('icon.dmi',"icon_state"),"img1") usr << browse_rsc(icon('icon.dmi',"icon_state"),"img2") etc. |
The easiest way to make a help system is to write some instructions down in a text or HTML file, and then have a help() command that makes this display in the browser window. Even lazier, you could just make the file and have it included in the game's package.