Discuss Scratch

funni_stuff334
Scratcher
36 posts

Stamp Tool Layering Issue

I'm making a 3d game using raycasting, and I have it set to draw the walls in order from furthest to closest, with entities being stamped in once the wall distance is less than the entity distance, but for some reason no matter what I do the entities are stamped behind everything else.

Even if I have the stamping script run after all of the walls have been drawn they still go behind them.

Anyone have an explanation for this?
souleymane2
Scratcher
100+ posts

Stamp Tool Layering Issue

Hey there,

Could you share a link to your project?

Often times, the issue can come from multiple areas of your code and it would allow me to more thoroughly search it.

Thanks!
funni_stuff334
Scratcher
36 posts

Stamp Tool Layering Issue

souleymane2 wrote:

Hey there,

Could you share a link to your project?

Often times, the issue can come from multiple areas of your code and it would allow me to more thoroughly search it.

Thanks!
Here u go: https://scratch.mit.edu/projects/1129808366/

good luck trying to make sense of this mess of a game
HighlaneGamingStudio
Scratcher
100+ posts

Stamp Tool Layering Issue

Try this tutorial, it might help.

Powered by DjangoBB