{{htmlmetatags>metatag-robots=()
metatag-title=(Animations with tiles using midres library)
metatag-keywords=(C,library,Midres,Animation,Tiles,Commodore 64,Commodore VIC20,Commodore 16)
metatag-description=(Animating images on retrocomputers can seem almost impossible, but the "tiling" technique can emulate raster graphics animation at maximum resolution.)
metatag-media-og:image=(:demo_tiles.png)
metatag-og:title=(Animations with tiles using midres library)
metatag-og:description=(Animating images on retrocomputers can seem almost impossible, but the "tiling" technique can emulate raster graphics animation at maximum resolution.)
}}
====== ANIMATIONS WITH TILES ======
Animating images on retrocomputers can seem almost impossible if you don't have dedicated hardware resources. In fact, in the early days of home computers, many of them were classified according to the performance of the animation chipsets. It was not uncommon to come across terms such as "sprite", "bob", and so on, which were nothing more than "entities" that the graphics chipset made available to the programmer, in order to ensure acceptable performance.
{{youtube>iHu1ky33qPw?medium}}
However the text mode of retrocomputers, available on all retrocomputers, often has the ability to dynamically redefine the set of characters that can be shown on the screen.
To take advantage of this feature, a technique for managing graphics, called “tiling”, is described here. This technique is based on text mode and emulates raster graphics by implementing pixel drawing at the single character level. This leaves the maximum resolution available unchanged, while limiting the drawing possibilities.
This short essay describes the theoretical aspects of this modality, the use of [[:img2tile|a specific program]] to create tiles and the integration of this modality in an [[:midres_library|existing library]], to create animations with this graphic modality.
\adsense\
===== SUMMARY =====
This is a short summary of pages related to this topic:
* [[tiling basics|Basics of tiling]]
* [[tiling animations|Animations using tiling]]
* [[img2tile|Convert image(s) to tile(s)]]
* [[:midres_library:demo:tiles|Demonstration program using midres library]]
* [[:midres_library:memory_layout|Memory layout used by midres library]]