peterbrittain / asciimatics

A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Apache License 2.0
3.61k stars 238 forks source link

Add speed parameter to Sprite effect #374

Closed laupse closed 1 year ago

laupse commented 1 year ago

Thanks for taking the time to contibute to this project. You are a star!

Issues fixed by this PR

Sprite can't be drawn at frame one

What does this implement/fix?

It implements speed parameter on Sprite just like it's done on the Print effect. Now we can draw at frame one using speed=0 and also have better control on frame rate on sprite.

peterbrittain commented 1 year ago

Don't worry about the ci fail. That's actually coveralls failing and I'm still waiting for them to fix the bug.