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 layering in 3d sprig is wrong #425

Open
Omay238 opened this issue Oct 3, 2022 · 9 comments
Open

sprite layering in 3d sprig is wrong #425

Omay238 opened this issue Oct 3, 2022 · 9 comments
Labels
bug Something isn't working good first issue Good for newcomers low priority

Comments

@Omay238
Copy link
Contributor

Omay238 commented Oct 3, 2022

No description provided.

@Omay238 Omay238 added the bug Something isn't working label Oct 3, 2022
@RoloTheDevBunny
Copy link

The z index, or layout, is controlled by the array where you define all your variables and your bit maps. Top is on top, bottom is on the bottom. Hope this helps!

@Omay238
Copy link
Contributor Author

Omay238 commented Oct 4, 2022

I know, but if you play it in the default editor, the layering is correct. There is an issue with the rendering of the game on the 3D sprig.

@Omay238 Omay238 self-assigned this Oct 4, 2022
@RoloTheDevBunny
Copy link

If it is layered correctly on a 2D device what does 3D have to do with this? Could you send a short video of your problem?

@Omay238
Copy link
Contributor Author

Omay238 commented Oct 4, 2022

2d.webm
3d.webm

@Omay238 Omay238 removed their assignment Oct 11, 2022
@alhardwarehyde
Copy link
Contributor

@grymmy can you try to reproduce this?

@alhardwarehyde alhardwarehyde moved this to Should we do this? in Sprig Mar 7, 2023
@alhardwarehyde alhardwarehyde added the good first issue Good for newcomers label Mar 15, 2023
@alhardwarehyde alhardwarehyde moved this from Should we do this? to Todo (queue) in Sprig Mar 15, 2023
@grymmy
Copy link
Contributor

grymmy commented Nov 10, 2023

@Omay238 this is absolutely ancient, but can you please fill me in on exactly what you mean by the 3d sprig? Do you mean the PC simulator version? Do you happen to know if this still occurs? Apologies for the incredibly slow response...

@RoloTheDevBunny
Copy link

I believe he is referring to Z-Index. That was the closest thing I could think of relating to 3D layering in a 2d plane. I explained up above a solution for this.

@Omay238
Copy link
Contributor Author

Omay238 commented Nov 11, 2023

On the 3D Sprig on the main page, the sprite layering is broken. I'll check if it's still an issue

@Omay238
Copy link
Contributor Author

Omay238 commented Nov 11, 2023

Yeah, it's still an issue. If you press the d key on the 3D sprig, than the a key, then the real player (black one) will go behind the gray one, even though in the code, it should be going on top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers low priority
Projects
Status: Todo (queue)
Development

No branches or pull requests

5 participants