Work in Progress

Y Sorting V:1.0

3

GAMELEGEND 2021-04-19 05:05 (Edited)

a fully functional Y Sorting Program for 2 Sprites

Y Sorting: the sprite that has a higher Y value will show up behind the sprite with the lower Y Value

next version: works with multiple sprites

Y-sorting.nx | Open in app
2021-04-19 05:05

was8bit 2021-04-19 08:24

Here is my version for double sized sprites :)

Ysorting X2.nx | Open in app
2021-04-19 08:24

GAMELEGEND 2021-04-19 14:20

nice sprites :)


was8bit 2021-04-19 15:35

Thanky... :)

Sprites sort themselves in order, with Sprite 0 on top, then 1, with Sprite 63 at the bottom of the stack....

Also, if you use SPRITE HIT and let it check multiple hits, it only records the lowest number, ignoring any others (so if Sprite 0 and Sprite 1 hit Sprite 3 at the same time, only Sprite 0 registers .... to check all multiple hits you have to check each individual Sprite separately....


Log in to reply.