Help With Fonts, in my Games
Monkey Targets Forums/Android/Help With Fonts, in my Games
| ||
| Please may someone put some simple and short example working with Font bigger than the defaults one. Many Thanks. |
| ||
| Use Beaker's Angelfont module. It is part of the bananas folder on the right side of your Monkey TED. To use it in your own project , you need to copy this files to the root dir of your project: angelfont.monkey kernpair.monkey char.monkey And copy this files to your project's data folder: angel_verdana.png angel_verdana.txt In your code you add: Import mojo
Import angelfont
Class MyGame
Field font:AngelFont
Method OnCreate()
...
font = New AngelFont()
font.LoadFont("angel_verdana")
End
Method OnRender()
...
font.DrawText("Hello World")
|
| ||
| Hey!! I wants to Say Thanks!!! a lot this help me to much. Thanks. |