SP1 z-order example

ZX80, ZX 81, ZX Spectrum, TS2068 and other clones
Post Reply
amateus
Member
Posts: 46
Joined: Fri Nov 15, 2019 9:13 am

SP1 z-order example

Post by amateus »

Hi,

Z-order is a concept that is present since the beginning of videogames: in a 3d world, sprites that are far away of the camera are drawed behind the ones closer to the camera. This concept can also be applied to a 2d world, if we're using depth in our scene.

The code is available at https://github.com/antoniocmateus/z88dk_sp1_zorder and is fully commented.

António
Post Reply