gideros / BMFont

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BMFont for Gideros Studio

The classes BMFont and BMTextField can be used to load and display BMFonts with Gideros Studio.

Usage

-- load font
local font = BMFont.new("font.txt", "font.png")

-- create text
local text = BMTextField.new(font, "Hello Gideros!")

-- add to stage
stage:addChild(text)

-- you can also change the text
text:setText("Hello Giderans!")

These editors can be used to generate BMFonts:

About


Languages

Language:Lua 100.0%