how create profiles

General discussion about LÖVE, Lua, game development, puns, and unicorns.
reza10203045
Prole
Posts: 4
Joined: Thu Sep 03, 2009 12:25 pm

Re: how create profiles

Post by reza10203045 »

do you have source code for example.
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: how create profiles

Post by kalle2990 »

I didn't know about this function when I started with my framework...
So now I've counted how long each character that I added is in paint, it's 101 characters!
I replaced it with a function that supports å, ä and ö (and in upper case) by replacing them with a and o, I should have researched a little first... :cry:
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: how create profiles

Post by Jasoco »

But it doesn't seem to deal with wrapping fonts. It couldn't tell me where the end of a string would be if it went 300 pixels, then wrapped to the next line. But this will kind of do for now.
User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: how create profiles

Post by kalle2990 »

Am I correct that love.graphics.drawf() is using font:getWidth(), or is it using exactly the same thing but not in that function?
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests