Page 1 of 1

How to position x and y in Text.Lua...?

Posted: Fri Jul 24, 2015 1:48 pm
by schmavies
Help. Im dumb. :crazy:

I decided to try out text.lua from markandgo and I learned how to display wrapped text, but I don't know how to set the x and y axis because the text stays on the origin.

Can someone tell me how to to do this and maybe provide a general example of it? I would appreciate it a lot. :death:

Re: How to position x and y in Text.Lua...?

Posted: Fri Jul 24, 2015 9:52 pm
by s-ol
you can use transformations to move it aronund: https://www.love2d.org/wiki/love.graphics.translate