Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with 3D Raycaster in Turbowarp
- HackerWacker776
-
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
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
-
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:
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:
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.
If you mean the overdraw problem, just put this in Stage:
when green flag clickedOther than that, there's no issues with it, and it looks pretty cool.
forever
clear
end
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 clickedYou probably won't want to do it as an individual script, but I'll leave that up to you.
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
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
-
40 posts
Help with 3D Raycaster in Turbowarp
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! 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 clickedOther than that, there's no issues with it, and it looks pretty cool.
forever
clear
end
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 clickedYou probably won't want to do it as an individual script, but I'll leave that up to you.
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
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.
- HackerWacker776
-
40 posts
Help with 3D Raycaster in Turbowarp
Here's the working version 1! I always use Turbowarp so I guess I'll take a look.share.turbowarp.org
If you mean the overdraw problem, just put this in Stage:when green flag clickedOther than that, there's no issues with it, and it looks pretty cool.
forever
clear
end
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 clickedYou probably won't want to do it as an individual script, but I'll leave that up to you.
set pointer lock [enabled v]::pen
forever
turn cw ((mouse x) / (sens)) degrees
end
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.
- Discussion Forums
- » Help with Scripts
-
» Help with 3D Raycaster in Turbowarp