cptx032 / calcium

A ascii/text game library
MIT License
17 stars 2 forks source link

[monochrome] create function to get animation from gif file #6

Closed cptx032 closed 7 years ago

cptx032 commented 7 years ago

Something like

sprites = CalciumSprite(animation={
   'idle': [[...], [...], [...]],
   'running': CalciumSprite.get_animation_from_gif('running.gif')
})
cptx032 commented 7 years ago

fixed in https://github.com/cptx032/calcium/commit/9e02fb80ed95ae27f7ef8e758dde6b99f03bb18d#diff-a3c29ff4d3bdb1dfc48ae123079bb2f9R29