olls / graphics

A console based graphics engine for simple Unicode games and animations.
GNU General Public License v3.0
11 stars 4 forks source link

Text sprites #24

Closed geraintwhite closed 10 years ago

geraintwhite commented 10 years ago

Allow sprites to take a text class rather than an image class. Use the text class to hold a label which has the following methods:

geraintwhite commented 10 years ago

Sorry, I didn't look to hard enough to see if this was a duplicate.

olls commented 10 years ago

Why can't the text sprite have the all same methods? Which would not be relevent for a string?

geraintwhite commented 10 years ago

OK, what I mean't was use a text sprite rather than an image sprite.

olls commented 10 years ago

Yes we can just derive it from the Sprite, and add the text methods.

olls commented 10 years ago

This commit be7da6f53e6de060bca70196b2871109dbfb4b0e is relevant, you can now have text on the screen, not quite the same as sprites as you have to control the text manually. We definitely still need to implement this issue.

olls commented 10 years ago

b075d84f3d1281c2d8f4c339344bace1599f0684