Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprite's render order is incorrect #419

Open
JiepengTan opened this issue Nov 19, 2024 · 1 comment
Open

Sprite's render order is incorrect #419

JiepengTan opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working question Further information is requested v2.0 Related to spx v2.0

Comments

@JiepengTan
Copy link
Collaborator

tutorial/03-Clone

image

@JiepengTan JiepengTan added bug Something isn't working v2.0 Related to spx v2.0 labels Nov 19, 2024
@JiepengTan JiepengTan changed the title Inability to render sprite in the proper sequence Sprite render order is incorrect Nov 20, 2024
@JiepengTan JiepengTan changed the title Sprite render order is incorrect Sprite's render order is incorrect Nov 20, 2024
@JiepengTan
Copy link
Collaborator Author

JiepengTan commented Nov 21, 2024

_____________________ spx1__________________________________________________spx2___________

render_order_spx1 render_order_spx2

The rendering order for Spx1 is that sprites created first are displayed in front, while for Spx2, sprites created later are displayed in front. The second method is more intuitive and aligns with the default rendering approach of most engines.

Is there a specific reason for Spx1's design? If not, should it be changed to follow the conventional engine rendering method?
@xushiwei @nighca

@JiepengTan JiepengTan added the question Further information is requested label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested v2.0 Related to spx v2.0
Projects
None yet
Development

No branches or pull requests

1 participant