Should we have a command that works like this: ``` blitText("Hello, world!", (0, 0), size=10, font="somefont.ttf") ```
Activity
BookOwl commentedon Jun 1, 2016
Yes, but I would prefer something like
showText(text="Hi!", x=0, y=0, size=12, font="Helvetica")Tymewalk commentedon Jun 2, 2016
@BookOwl What about this (mandatory text argument):
showText("Hello!", x=0, y=0, size=12, font="Helvetica")fonthas to be a system font, but you can also specify a custom one withfontPath:showText("Hello!", x=0, y=0, size=12, fontPath="path/to/font.ttf")If both
fontandfontPathare specified thenfontis used. Defaults to the pygame system font if neither are defined.BookOwl commentedon Jun 2, 2016
@Tymewalk sounds good to me.
Tymewalk commentedon Jun 2, 2016
Once #61 gets merged I'll start working on that.
BookOwl commentedon Jun 3, 2016
Do we want to add this in v0.3.0 or save it for 0.4?
Tymewalk commentedon Jun 3, 2016
@BookOwl 0.3.0 sounds good. It doesn't seem like it'll be too hard, so no sense in putting it off.
My plan is to get as many useful functions and small things as possible in 0.3.x, since then we can work on advanced stuff for 0.4.
BookOwl commentedon Jun 10, 2016
@Tymewalk, are you still planning on doing this?
Tymewalk commentedon Jun 27, 2016
@BookOwl Yeah. Just had some inactivity
Tymewalk commentedon Aug 7, 2016
Been gone for over a month now, Past Self 😐
I'll get to work on this though.
Tymewalk commentedon Aug 7, 2016
We apparently forgot about
colorandantialiasarguments.Check #77 for my progress on this.
Tymewalk commentedon Aug 15, 2016
The tricky part here is getting the screen to blit to.We could ask for which screen as an argument but that could be confusing.Never mind. We have a
slitherStagevariable.Merge pull request #77 from PySlither/easyText
Tymewalk commentedon Sep 11, 2016
It's done, and it also rewrote a little code which makes
blitting new things easier in the future.Soon we shall release 0.2.3 (or 0.3.0)... 😁