Discuss Scratch

Arietina
Scratcher
5 posts

Bug in VIEW SIMULATOR

My browser / operating system: Windows NT 10.0, Chrome 123.0.0.0, No Flash versions detected
…………………………………………………………………………………………………………………………………………………………………………….
Hi there! I found a bug in my View Simulator project, can anyone help me? As you can see, other walls don't work if you run the project, and that's bad if I want to make a multiplayer hide game (follow me for more info about it! ). I think it's caused by the block
 clear 
but without it the project will not work. Can you help me?

Here is the link:

MineTurte
Scratcher
500+ posts

Bug in VIEW SIMULATOR

Arietina wrote:

My browser / operating system: Windows NT 10.0, Chrome 123.0.0.0, No Flash versions detected
…………………………………………………………………………………………………………………………………………………………………………….
Hi there! I found a bug in my View Simulator project, can anyone help me? As you can see, other walls don't work if you run the project, and that's bad if I want to make a multiplayer hide game (follow me for more info about it! ). I think it's caused by the block
 clear 
but without it the project will not work. Can you help me?

Here is the link:

That is because of the way you are raycasting. You need to do it in a full circle. Just search up raycaster and you'll see some examples.

Hope this helps!

(pronouns are she/her). Advanced Alpha Game Studios Manager. Our website: https://aags2.w3spaces.com
This is JuniperActias. AKA Moth mommy. If I helped you out consider following Juni-Bug (my new account)!




If you found this secret, say uwu
Signature gradients here













Arietina
Scratcher
5 posts

Bug in VIEW SIMULATOR

It isn't a 3D simulator, but it let you see the not visible parts. If you was right, can you be more specific? Thank you.
-stxllxr
New to Scratch
100+ posts

Bug in VIEW SIMULATOR

The problem is, since the middle wall is on the back layer it's erasing last, removing all of the other walls shadows. To fix this problem, remove the “erase all” from all of the custom blocks, and just make one of the 3 wall sprites erase, then use this script:
when green flag clicked // only in one sprite
forever
clear
ottic in direction (direction) ::#FF6680
broadcast [draw v]
end
and in the other sprites, use this script:
when i receive [draw v]
ottic in direction (direction) ::#FF6680
make sure the “erase all” is deleted from the custom block. hope this helps!
Wolf_Link21
Scratcher
100+ posts

Bug in VIEW SIMULATOR

raycasting doesn't have to be used for 3d https://scratch.mit.edu/projects/992278627/

This is dave
:D :: hat :: motion
He protects my from evil kumquats.
Please follow me if you find my response helpful and give me any ideas for my game https://scratch.mit.edu/projects/992371983/

Powered by DjangoBB