Question: Change in the display priority of sprites in relation to Scroll Screens (VDP2) (SOLUTION)

Open
#139 1 comment 1 reaction 1 assignee View on GitHub

@seven-shades is already working on this.

Since Sep 1, 2026.

Assessment

This issue has not been assessed yet.

Description

help wanted question

It seems that after some recent updates (Aug 13th/Aug 15th) regarding VDP2 and/or Scene2D, the display priority between sprites and Scroll Screens - which can be arranged in different Layers using SetPriority() - has changed.

Up until now the behavior I observed was that the sprites had higher display priority than VDP2::Layer6, thus were drawn on top:
... VDP2::Layer4 < VDP2::Layer5 < VDP2::Layer6 < SPRITES

After updating my local library files to the current repository version, and without having altered my test samples, the display order has changed to this:
... VDP2::Layer4 < SPRITES < VDP2::Layer5 < VDP2::Layer6
The sprites are now hidden by the Scroll Screens assigned to Layer5 or above.

I've created this issue only because I don't know whether this is an intended behavior which has to be taken into account from now on regarding display priorities, or it's an indirect (maybe unintentional) consequence of having modified something else.

Thank you!

Dominant language
C++
Stars
90
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ReyeMe/SaturnRingLib

All issues in ReyeMe/SaturnRingLib

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.