Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4546676
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:59:13+00:00 2026-05-21T15:59:13+00:00

Because I’m a terrible, bad person who likes to do things differently for no

  • 0

Because I’m a terrible, bad person who likes to do things differently for no reason,
I’d love to be able to do something like mySprite.graphics.drawText(…).

As I understand things, the only way to get text currently is to create a TextField and add it as a child of mySprite. In my particular situation I’d rather not do that.

Any advice appreciated!

ooo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:59:14+00:00Added an answer on May 21, 2026 at 3:59 pm

    If you wanted to wrap it up in a method of Sprite I would simply extend the Sprite class, add the function drawText to it. Within that method add the TextField etc. But it doesn’t sound like you want that.

    In which case have a look here
    http://lab.polygonal.de/?p=916

    They have created a collection of code that can render fonts without, well, fonts. There are disadvantages like file size, but it is possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Because data from file look like this: line 1 is name (first last), next
Because apparently everyone hates sub selects, I would like to do this using joins.
Because shells other than ksh do not support pass-by-reference, how can multiple arrays be
Because my CSS3 animation uses over 50% of CPU in Chrome Browser 21.0 on
because when I use the function getUser () do not get the correct id?
Because it takes me a lot of time to integrate the Sherlock Action Bar
Because of min time betwwen update it display the location update after 1 sec
Because I've made .cpp files and then transferred them into .h files, the only
Because I've overloaded the operator++ for an iterator class template<typename T> typename list<T>::iterator& list<T>::iterator::operator++()
Because this is my first attempt at an extension method that seems quite useful

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.