Skip to content

Text On Objects? #71

Closed Answered by KilledByAPixel
aminmix asked this question in Q&A
Feb 8, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hey, yes that is super easy to do! You can override the default render and use the drawText function...

render()
{
    super.render();
    drawText(this.innerText, this.pos, this.size);
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@aminmix
Comment options

Answer selected by aminmix
Comment options

You must be logged in to vote
1 reply
@aminmix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants