Fixed quotes and spelling in new actor examples. Fixed RollingNumbers to do nothing instead of crashing if it's rendered before it loads its metrics.

This commit is contained in:
Kyzentun
2015-02-05 18:56:56 -07:00
parent fa560d755c
commit 1de3cce1cd
5 changed files with 47 additions and 24 deletions
@@ -1,17 +1,17 @@
-- A simple BitmapText example. Puts Hello World! in the center of the screen.
-- A simple BitmapText example. Puts "Hello World!" in the center of the screen.
-- BitmapTexts put text on the screen (pretty self-explanatory)
Def.BitmapText{
Font=Common normal,
-- Chooses the font for the text. The font needs to be in the themes Fonts folder or
-- the fallback themes Fonts folder. By default, Common normal is
-- _open sans semibold.
-- File is used in XML files from ITG, instead of Font. Its deprecated.
-- You shouldnt use it.
Font="Common Normal",
-- Chooses the font for the text. The font needs to be in the theme's Fonts
-- folder or the fallback theme's Fonts folder. By default, Common Normal
-- is "_open sans semibold".
-- File is used in XML files from ITG, instead of Font. It's deprecated.
-- You shouldn't use it.
Text=Hello World!,
Text="Hello World!",
-- Chooses what the BitmapText will show. Pretty straightforward.
OnCommand=cmd(Center)
OnCommand= function(self) self:Center() end,
-- Puts the text in the center in the center of the screen.
}