Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vertical callback or per pixel callback : I understand/How does Tilengine work?
#26
(09-18-2023, 03:31 AM)megamarc Wrote: There are four passes, on each pass only effective items for that pass are drawn.

So the first pass of sprites only renders regular sprites, and the second pass only renders priority ones. The same for tiles: first pass draws regular tiles, second pass draws priority tiles. Items drawn last overdraw the ones drawn fist, so this is how priority is achieved.

Oh, that makes sense now.
So if I understand well, you first draw all layers with normal tiles, then you draw the normal sprites, then you draws all layers again but priority tiles only, and then you draw priority sprites?
Reply


Messages In This Thread
RE: Vertical callback or per pixel callback : I understand/How does Tilengine work? - by System64 - 09-18-2023, 09:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)