Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Text Support #92

Open
atomdmac opened this issue Aug 22, 2013 · 2 comments
Open

Feature Request: Text Support #92

atomdmac opened this issue Aug 22, 2013 · 2 comments

Comments

@atomdmac
Copy link

This is just as much a question as it is a feature request: Is there a reason that there isn't any support for drawing text?

I'm considering creating a copy of the Sprite class and modifying it to create a "Text" class that will accept a "text" option instead of a "image" option. Additionally, I would swap the setImage() method with a setText() method.

Are there any reasons that I -shouldn't- do it this way? Is there a better way? If there are already plans to add text support, should I even bother?

Thanks!

@ippa
Copy link
Owner

ippa commented Aug 22, 2013

Hi, it sounds like your looking for this: https://github.com/ippa/jaws/blob/master/src/text.js ?

@atomdmac
Copy link
Author

Ah, perfect! That oughta save me a whole bunch of time :P

I'll have a stab at building from src now. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants