Need help color sign font in LL:NS

Talk about the level designer. Read about tips and tricks and share ideas.

Moderator: Level Moderator

Need help color sign font in LL:NS

Postby Joshio01 » August 12th, 2015, 2:59 am

Right now in one of my levels I am trying to use HTML tags to create a sign with some green (00FF00) text. I have alreeady looked at a few other posts which have helped a bit but the problem is still occurring. What i am trying to do is have a single word in the sentence green while the rest is regular black while also having the entire text in a larger font size. I've tried a few different ways of doing it but none of them are helping. the sentence goes like this:
<FONT SIZE="35">Gone... for a long time. Need to get in? Use the 'pipe'(green isnt working here) on the other side.
Eyyy look at my new avatar. It even has terrible image quality!
User avatar
Joshio01
Post FLUDDer

 
Posts: 78
Joined: July 22nd, 2015, 1:21 am
Location: Bowser's dungeon. PLEASE SEND HE-

Thumbs Up given: 18 times
Thumbs Up received: 16 times

Re: Need help color sign font in LL:NS

Postby Worldsixthocean » August 12th, 2015, 3:02 am

You should add </FONT> at the end. So the program will know where to turn the font size back to normal. Hope this help you ;)
Image
User avatar
Worldsixthocean
Post FLUDDer

 
Posts: 69
Joined: May 10th, 2015, 4:22 am

Cookie
Goldy301: "I know this may be too late but finally I got to give it to you! What is it? The Cookie Medal! :)"

Thumbs Up given: 2 times
Thumbs Up received: 8 times

Re: Need help color sign font in LL:NS

Postby Niicola » August 12th, 2015, 3:59 am

Try this : <FONT SIZE="35">Gone... for a long time. Need to get in? Use the <FONT COLOR="#00FF00">pipe</FONT> on the other side.
Niicola, now with a capital N
User avatar
Niicola
Post FLUDDer

 
Posts: 52
Joined: July 24th, 2010, 9:00 am
Location: lastlegacy.us

Level Creator

Thumbs Up given: 2 times
Thumbs Up received: 3 times

Re: Need help color sign font in LL:NS

Postby Karyete » August 12th, 2015, 8:12 am

Use this, FF helped me with the matter before.
Image
Major credit goes to l.m for this!

Museum of Monsters

Most recent SM63 / LL level: Flickering Forest
User avatar
Karyete
Moderator

 
Posts: 1745
Joined: March 6th, 2011, 4:35 am
Location: Yes

LL Level Designer Contest Winner
LL LDC #4: Ruins/Temple

Thumbs Up given: 273 times
Thumbs Up received: 148 times

Re: Need help color sign font in LL:NS

Postby Doram » August 12th, 2015, 1:46 pm

Don't forget that most of this is following HTML 4.01 rules.

Also, see this section in the SM63 LD Guide: Focused Guide: Using HTML in SM63 LD. (Pretty much all of it applies to LL, except that Links do not work, and images... well, I need to a bunch more research for that, apparently... Don't try to use images just yet...)

EDIT: Apparently, Images only exist in a box that bounds whatever text is there (the canvas is only as tall as the text), so to make an image appear, you need to put a the image (which counts as text, apparently), and a bunch of empty lines, and another character(like a period). Also, I'll find a better place for this, but I'm here now.

Other newly discovered Image use specifications in LL:Null Space 3.2:
  • The canvas is 420x480 pixels, and about 17 lines of standard sized text tall (the 17th is the first to have it's bottom chopped off at the bottom of the image) Also, the sign background is just under 12 lines tall.
  • Overflow goes up and down off sign background, all contents are centered vertically.
  • Considering a normal size line of text at the top, and 17 lines of text, oversized images are cropped to 420x446, and the top of the image is 33 pixels down from the top of the game edge, 115 pixels from the left, 105 pixels from the right, and runs all the way to the bottom (gotta love the eternal lopsided placement of these things).
  • Bring that to 19 lines of text (or omit the extra line of text above the image, with 17 lines), and you can get the top of the image to only 4 pixels from the top (and that top line of text is not visible any more). More than that, and you can take advantage of the full 480 pixels of height, although part of the image will be falling off of the top of the level.
  • Text DOES flow around the image - text is first centered across the window, and then shifted over by about 3/4 of the width of the image across all affected lines. Works on both left and right aligned images. Clearly, if the image takes up too much of the room, the text falls off of the 420px wide canvas.
  • Hspace does modify this flow, but works weirdly so that by the time the image is properly centered - hspace=(420-imagewidth)/2 - there is no additional space added to the equation (higher math than I feel like doing right now)
  • The parameters of height, width, and hspace can be omitted
  • align="right" works, align="center" does NOT work

All right. I'm getting tired now. I'll work more on this later.
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation.
The foundation of such a method is love.
More words from a wise man on activism, terrorism, violence, and peace
User avatar
Doram
Global Moderator

 
Posts: 1524
Joined: February 22nd, 2010, 7:37 pm
Location: Wherever I'm needed.

Cookie
l.m: "For fixing the stuff I break, and for being the best Forum Dad. XOXO <3"

Thumbs Up given: 153 times
Thumbs Up received: 471 times

Re: Need help color sign font in LL:NS

Postby Joshio01 » August 12th, 2015, 10:58 pm

Thank you for your help guys! its working really well now!
Eyyy look at my new avatar. It even has terrible image quality!
User avatar
Joshio01
Post FLUDDer

 
Posts: 78
Joined: July 22nd, 2015, 1:21 am
Location: Bowser's dungeon. PLEASE SEND HE-

Thumbs Up given: 18 times
Thumbs Up received: 16 times


Return to Last Legacy Level Designer