Skip to content
No description or website provided.
Lua
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
BMFont.gproj
README.markdown
bmfont.lua
font.png
font.txt
main.lua

README.markdown

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:

Something went wrong with that request. Please try again.