Pixel precision

From MZXWiki
Revision as of 02:22, 29 December 2010 by Kuroneko (talk | contribs) (Created page with "Pixel precision in Megazeux is a technique that involves using the char edit command or [[List of built-in counters|the CHAR_X/CHAR_Y/PIXEL or CHAR/CHAR...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pixel precision in Megazeux is a technique that involves using the char edit command or the CHAR_X/CHAR_Y/PIXEL or CHAR/CHAR_BYTE/BYTE counters to display real or illusory sub-char objects/sprites. There are multiple degrees of precision that can be achieved with this technique, from true single-pixel precision to half-char movement, and it has many potential gameplay applications.

The term "pixel perfect" is frequently described to use this technique, but is frowned upon from a technical standpoint as the difficulty and work that can go into making such an engine work efficiently, and the technical limitations imposed on it by Megazeux, makes the use of it far from perfect.

Logicow released a Megazeux fork which featured a draw command that allowed the drawing of pixel-precise objects on the screen. This functionality has not been introduced to the main Megazeux line.

Examples