sprig icon indicating copy to clipboard operation
sprig copied to clipboard

sprite layering in 3d sprig is wrong

Open Omay238 opened this issue 2 years ago • 9 comments

Omay238 avatar Oct 03 '22 15:10 Omay238

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!

RoloTheDevBunny avatar Oct 04 '22 14:10 RoloTheDevBunny

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 avatar Oct 04 '22 15:10 Omay238

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?

RoloTheDevBunny avatar Oct 04 '22 15:10 RoloTheDevBunny

2d.webm 3d.webm

Omay238 avatar Oct 04 '22 15:10 Omay238

@grymmy can you try to reproduce this?

alhardwarehyde avatar Mar 07 '23 15:03 alhardwarehyde

@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...

grymmy avatar Nov 10 '23 21:11 grymmy

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.

RoloTheDevBunny avatar Nov 11 '23 02:11 RoloTheDevBunny

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

Omay238 avatar Nov 11 '23 17:11 Omay238

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.

Omay238 avatar Nov 11 '23 17:11 Omay238