
EPUB · English
Z-Order Glitching: Rendering Sprites and Breaking Dimensions
Layers, Math, and Overlaps in Classic Two-Dimensional Game Development
Price and availability
$10.99
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Stores: US, UK, Canada, EU, Australia.
Sign in to buyThe price is re-checked by the server before payment.
For personal use under the eBook licence.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- epubli
- Published
- 8 July 2026
- ISBN
- 9783565546954
- Subjects
- Computer programming / software development, Computer programming / software engineering
About this book
In classic two-dimensional video games, depth is an elaborate and fragile mathematical lie. A television screen has no physical depth; it is merely a flat grid of illuminated pixels. To create the illusion that a hero is standing in front of a tree, programmers must dictate a strict rendering order. This hierarchical system is known as the Z-order. The engine must calculate, frame by frame, which flat sprite gets drawn over another. When developers push hardware to its absolute limits, these sorting algorithms inevitably break down. The result is the infamous Z-order glitch: characters walking through solid walls, weapons rendering behind the enemies they strike, and the visual fabric of the digital world tearing apart. This technical deep-dive explores the fascinating math behind retro sprite rendering. It details the brilliant shortcuts programmers invented to simulate three dimensions on 16-bit hardware, and the spectacular visual failures that occurred when those shortcuts failed. Step behind the flickering screen. Understand the complex depth-sorting algorithms and chaotic visual glitches that defined the golden age of arcade and console programming.
Bibliographic data © Gardners Books Ltd.