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

Colours / Chars #1

Closed olls closed 10 years ago

olls commented 10 years ago

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?

geraintwhite commented 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 .

olls commented 10 years ago

Probably...

olls commented 10 years ago

But how would I define/change the individual chars for a shape generated by the shapes module?

geraintwhite commented 10 years ago

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 .

olls commented 10 years ago

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

olls commented 10 years ago

873f363645b3aae36156898b3604298480699899 Added colours for per sprite.

olls commented 10 years ago

2c7d52700403015f9252bca016618501a20985ad Added chars for per sprite.