Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 672

Games • Text Art and Animation

$
0
0
Hi,

Attached is a stack that converts images to text field representations of the image as well as a second card that implements some simple animation.

I've included the ability to save these text images to file and load them. Note that the color information is encoded in the file format so if you open it in a text editor you won't see the image.

A couple of potential use cases:
1. Digital Matrix Simulator: In many pinball games a 128 x 32 digital matrix display (dmd) had been used for displaying scores and short animations. (Look up "circus pinball dmd" for a neat example).
2. Text Adventures

Note for card 1:
1. You can enable the vertical scrollbar to see that it works as expected, I just left it off as the default.
2. I think the best spacing setting is when the textHeight is less than the textSize by 2. Experiment with the sliders to see.

Happy Coding,
Mike
Text Art and Field Animation.zip

Statistics: Posted by Hutchboy — Sun Oct 13, 2024 3:32 am



Viewing all articles
Browse latest Browse all 672

Trending Articles