Discuss Scratch

HackerWacker776
Scratcher
40 posts

Help with 3D Raycaster in Turbowarp

Hello Scratchers!
I am designing a horror raycaster in Turbowarp with pointer lock, custom stage size, and a few other custom extensions. However, the added screen size is bugging out and I cannot describe what it is doing or why it is doing what it is. Here is the download link: Download File Through Dropbox
ash_xiii
Scratcher
17 posts

Help with 3D Raycaster in Turbowarp

I always use Turbowarp so I guess I'll take a look.

If you mean the overdraw problem, just put this in Stage:
when green flag clicked
forever
clear
end
Other than that, there's no issues with it, and it looks pretty cool.

Also, use Turbowarp Placeholder (https://share.turbowarp.org/) for uploading TW3s.

If you wanted an easy peasy way of utilizing pointerlock, put this in Player:
when green flag clicked
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
You probably won't want to do it as an individual script, but I'll leave that up to you.
Edit: Didn't realise you already did it lol.

It's a cool project! I can't wait to see what it'll be like when finished.

Last edited by ash_xiii (Oct. 23, 2023 12:44:33)

HackerWacker776
Scratcher
40 posts

Help with 3D Raycaster in Turbowarp

ash_xiii wrote:

I always use Turbowarp so I guess I'll take a look.

If you mean the overdraw problem, just put this in Stage:
when green flag clicked
forever
clear
end
Other than that, there's no issues with it, and it looks pretty cool.

Also, use Turbowarp Placeholder (https://share.turbowarp.org/) for uploading TW3s.

If you wanted an easy peasy way of utilizing pointerlock, put this in Player:
when green flag clicked
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
You probably won't want to do it as an individual script, but I'll leave that up to you.
Edit: Didn't realise you already did it lol.

It's a cool project! I can't wait to see what it'll be like when finished.
Thank you so much! I put an erase-all block right at the top of the when i recieve paint hat block and it worked like a charm! Thanks for telling me about share.turbowarp.org! I've been using dropbox to share all of my projects with other Scratchers!
HackerWacker776
Scratcher
40 posts

Help with 3D Raycaster in Turbowarp

ash_xiii wrote:

I always use Turbowarp so I guess I'll take a look.

If you mean the overdraw problem, just put this in Stage:
when green flag clicked
forever
clear
end
Other than that, there's no issues with it, and it looks pretty cool.

Also, use Turbowarp Placeholder (https://share.turbowarp.org/) for uploading TW3s.

If you wanted an easy peasy way of utilizing pointerlock, put this in Player:
when green flag clicked
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
You probably won't want to do it as an individual script, but I'll leave that up to you.
Edit: Didn't realise you already did it lol.

It's a cool project! I can't wait to see what it'll be like when finished.
Here's the working version 1! share.turbowarp.org

Powered by DjangoBB