I'm working on a module called Text::Anim, to do something akin to sprite animation with ASCII art. It can be used to do a standalone full screen animation, or it can be passed a Curses window, so that you can insert an animation into a window inside your Curses application. Any advice would be appreciated, particularly from anyone who has done sprite animation before. Here are a few specific things I'm interested in:
1) What features would you expect or like that are missing?
2) Is there anything that goes against conventions for sprite animation in a way that would confuse someone with sprite animation experience
3) A better way to implement the get_path routine without passing so many arguments (maybe a hash like the routines in CGI.pm?)
4) Any problems that you run into trying to get it to work
Here is the
module
and a
demo script. There is a small example script at the end of the module. Curses is required for the module, Geo::Weather is required for the demo script.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.