Closed olls closed 10 years ago
Good idea, but what about different chars/colours within a sprite? Couldn't you just modify the image to have chars instead of True/False?
On 8 January 2014 19:14, Oliver Faircliff notifications@github.com wrote:
There needs to be support for multiple types of characters and or colors in the canvas, maybe define a color/char for a sprite?
— Reply to this email directly or view it on GitHubhttps://github.com/olls/graphics/issues/1 .
Probably...
But how would I define/change the individual chars for a shape generated by the shapes module?
For those it would have to be only one type of char.
On 8 January 2014 19:30, Oliver Faircliff notifications@github.com wrote:
But how would I define/change the individual chars for a shape generated by the shapes module?
— Reply to this email directly or view it on GitHubhttps://github.com/olls/graphics/issues/1#issuecomment-31868935 .
Those are the only types at the moment, another thing todo, define your own sprites
You can define your own sprites, just subclass the Image class in shapes.py
873f363645b3aae36156898b3604298480699899 Added colours for per sprite.
2c7d52700403015f9252bca016618501a20985ad Added chars for per sprite.
There needs to be support for multiple types of characters and or colours in the canvas, maybe define a
colour(Done) /char(Done) for a sprite?