how do I set font size with loveframes ?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
DarthGrover
Prole
Posts: 16
Joined: Wed Feb 05, 2014 11:31 pm
Location: Ohio USA

how do I set font size with loveframes ?

Post by DarthGrover »

I cant understand the example given in the documentation how do I set font size in loveframes?
User avatar
Nikolai Resokav
Party member
Posts: 140
Joined: Wed Apr 28, 2010 12:51 am
Location: United States

Re: how do I set font size with loveframes ?

Post by Nikolai Resokav »

DarthGrover wrote:I cant understand the example given in the documentation how do I set font size in loveframes?
Are you trying to set the font size of text object? If so, you can use the SetFont method for that.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: how do I set font size with loveframes ?

Post by qubodup »

Is it possible to change the UI font, ideally without editing themes, so that the UI is relative to the window size?
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests