how to make text clickable like a button
how to make text clickable like a button
like make a button
Re: how to make text clickable like a button
The same way you make a button with a label, but skip the button part so it's just the label.
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: how to make text clickable like a button
and if you want the bounding box adapt to your text, use
width = Font:getWidth( text ) to get the texts width
height = Font:getHeight( ) to get its height
love.graphics.getFont() to get the current font
width = Font:getWidth( text ) to get the texts width
height = Font:getHeight( ) to get its height
love.graphics.getFont() to get the current font
Who is online
Users browsing this forum: No registered users and 1 guest