Page 1 of 1

Signs and Level Fonts/Colors

PostPosted: June 30th, 2016, 10:44 am
by LuigiTheBowser
Ok, so I have another questions. I played a few different levels, and noticed some things. When entering a level, some people change the font and color of the level name. They also do that on signs... How do I do that? Is it the same kind of options such doing this? Or is it a mod only thing? And also, in the forum, how do you make the code boxes, but not for code? Such as instead of it saying "code" it says "challenges" or something like that.

Re: Signs and Level Fonts/Colors

PostPosted: June 30th, 2016, 1:20 pm
by Venexis
I've been out of the loop for a while, but I think the colored/italic/bolded/whatever text is done in HTML. If you're familiar with that, you should get the hang of it super easily; but otherwise, it's basically the same as a BBcode tag, just with < and > instead of [ and ].

<i>text here</i> should become text here in game, for instance.

You may need to edit the code (the default character limit for things like signs and level titles is fairly small), meaning you'll need to convert all non-alphanumeric characters to their HTML encoding equivalent (found here. This is only necessary while code editing out of game, not while entering text normally in game). Hope this helps, and I apologize if any of this information is wrong or outdated. If a level mod or someone could fact check, I'd really appreciate it.