by Jon (Updated on 2014-01-27)
Our Font Editor gives you a number of options for styling the fonts you use in your games. All fonts in Stencyl are bitmap fonts. There is currently no way to draw using the "system" font or otherwise.
Fonts are considered as a resource type in Stencyl. Therefore, to open up the Font Editor, you either need to create a new Font resource, download one from StencylForge, or open an existing one up from the Dashboard.
- How to: Draw Text
- How To: Creating a Font
- The Interface
- The Future
How To: Drawing Text
How To: Creating a Font
1) File > Create New > Font
2) Give the a font a name.
That's it! The Font Editor will open up.
Edit properties on the left. Live preview is on the right.
- Character Set - Useful if you just want only letters or only numbers to appear
- Font - This is where you choose the font file. You have preset fonts if you want something fast, but you can also choose custom fonts. For more about custom fonts, see importing fonts
- Size - The font size
- Style - Bold, Italic, Both, or Normal
- Smoothing - Choosing no will make the font appear aliased, which is useful for pixely looking fonts.
- Color - You can select any color for your font. Clicking on the option opens the color chooser window.
- Gradient Color - Allows you to blend the first and second colors together vertically in your font.
- Gradient Offset - Lets you decide how low or how high the gradient color should be, affecting the intensity of the blend.
The stroke option allows you to highlight your font with a specific color and at a specific magnitude.
Adding a shadow effect creates a copy of the drawn text with that font, offset x and y pixels away, and blurred at a specific magnitude. This is used to make the characters appear three-dimensional due to the depth between the text and the shadow. Below is an example of basic settings for a shadow effect.
In the future, in lieu of building this editor out further, we will add the ability to import bitmap fonts created in external tools.