Raycast Test

A small project testing raycasting.
https://snap.berkeley.edu/snap/snap.html#present:Username=joecooldoo&ProjectName=Raycast%20Test

nice :)
really clean

wow you still here?

What

I think they meant @joecooldoo, not you.

Ah ok

hmm yeah why can't i reply to the op

nvm its fine the reply shows on the right side

nice

Kinda reminds me of Among Us ray-casting. Nice project. :)




it's a bit buggy sometimes, but it looks cool

Maybe try increasing the quality? That fixed it for me.

Cool! :o

its because your cursor is inside the wall and it just bugs out when that happens because there's no where from the ray to go

that doesn't expain why there are 2 separated zones that are lit, how i was able to light the entire area and why i can see the outline of the supposedly lit area

Not really... Flood fiil does not work when the "Visual" sprite is at the edge of the light shape.
You may decrease pen size and enlarge "Raycast".

I think I've fixed the random glitches... try now :smiley:

also, I dont know if scisnap supports this yet, but maybe try using the scisnap
cursor script pic
block (drag the picture into the snap editor to use, you may have to download the picture and drag it into the editor instead if snap errors.) to make the cursor a flashlight. dont know if its possible yet.

woah, nice work. this could be used in games to show players what is visable, and hide things behind walls. [on a side note, i didn't know you still used snap. good to see ya.] i think i'll start trying to make it.