Re: Smash Question
gremlinn, on host 66.75.0.72
Wednesday, February 20, 2008, at 22:07:00
Smash Question posted by Torin on Wednesday, February 20, 2008, at 17:04:32:
> Hey, I just started working on a game in smash, and I ran across a problem; how does one put paragraph breaks in area description text? I read the tutorials over, and can't seem to find a way, but I know I've seen it in some of the Adventure Games Live games. Help would be much appreciated. > > ~Tor "doesn't have a nickname" in
Description text in Smash files gets put verbatim inside the HTML code that eventually is passed to the browser. So you can also pass in your own HTML code (up to a limit).
You could use "<p>" without the quotes to create a paragraph break (really you're supposed to "wrap" an entire paragraph with opening and closing tags, but just about every browser will allow you to abuse this tag).
Example: p This is paragraph 1.<p>This is paragraph 2.
Spaces before and after the <p> would be optional. You can also use <br> to put in a single line break, so "<br><br>" would also do the same as "<p>". Many other tags for formatting the look of text, or for forming tables, will work just fine. I've even found a neat use for inlined Javascript. See the link below to browse through HTML code examples.
W3 HTML Tutorial
|
Post a Reply