Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprite priority?
#4
Classic systems don't work this way. Instead, each sprite and each individual tile can have a “priority bit” set. The final layout is determined based on combinations of these priority bits, in decreasing order of priority:

  1. Sprites with priority bit set
  2. Tiles with priority bit set
  3. Sprites without priority bit
  4. Tiles without tile priority
  5. Background color
At this point (release 1.15) tilengine only implements tile priority, not sprite priority, but I plan adding it.
Reply


Messages In This Thread
Sprite priority? - by plot_hole - 08-29-2017, 07:59 AM
RE: Sprite priority? - by megamarc - 08-29-2017, 08:29 PM
RE: Sprite priority? - by plot_hole - 08-31-2017, 08:54 AM
RE: Sprite priority? - by megamarc - 08-31-2017, 05:02 PM
RE: Sprite priority? - by plot_hole - 09-02-2017, 03:23 AM
RE: Sprite priority? - by Domarius - 09-02-2017, 08:20 AM
RE: Sprite priority? - by megamarc - 09-02-2017, 11:58 PM
RE: Sprite priority? - by Domarius - 09-03-2017, 10:42 AM
RE: Sprite priority? - by megamarc - 09-03-2017, 07:08 PM
RE: Sprite priority? - by Domarius - 09-03-2017, 09:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)