Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » I need help with a first person 3D game...
- Big_Wiffa
-
Scratcher
5 posts
I need help with a first person 3D game...
I'm using a basic raycasting engine from this tutorial here —> https://www.youtube.com/watch?v=mzznRhUA1Tk
It's one of the most basic 3D raycasters you can make, but it is very buggy and laggy. I need a new alternative to use that doesn't cause so much lag. I also have been trying to find a tutorial on how to make raycaster entities, and I haven't had any luck. I'm working on chapter two of a 3D FPS, and all of the enemies are moving walls. I just need a bit of help and understanding of first person 3D since I'm new to it, so if you can help that would be great! Thank you!
It's one of the most basic 3D raycasters you can make, but it is very buggy and laggy. I need a new alternative to use that doesn't cause so much lag. I also have been trying to find a tutorial on how to make raycaster entities, and I haven't had any luck. I'm working on chapter two of a 3D FPS, and all of the enemies are moving walls. I just need a bit of help and understanding of first person 3D since I'm new to it, so if you can help that would be great! Thank you!
ask [How do I make non-laggy 3D raycaster?] and wait
- MANIAK86
-
Scratcher
3 posts
I need help with a first person 3D game...
Hi, i think the best way to reduce lag in this raycaster is to draw the wall without use list:
calculate distance
draw the line
Last edited by MANIAK86 (Feb. 28, 2021 19:07:29)
- DC382
-
Scratcher
1000+ posts
I need help with a first person 3D game...
I'm using a basic raycasting engine from this tutorial here —> https://www.youtube.com/watch?v=mzznRhUA1TkIf you want it to run fast, use Turbowarp. Code in Scratch, and playtest it in Turbowarp.
It's one of the most basic 3D raycasters you can make, but it is very buggy and laggy. I need a new alternative to use that doesn't cause so much lag. I also have been trying to find a tutorial on how to make raycaster entities, and I haven't had any luck. I'm working on chapter two of a 3D FPS, and all of the enemies are moving walls. I just need a bit of help and understanding of first person 3D since I'm new to it, so if you can help that would be great! Thank you!ask [How do I make non-laggy 3D raycaster?] and wait
- jackson49
-
Scratcher
1000+ posts
I need help with a first person 3D game...
In the Scratch Wiki tutorial, there's some good suggestions to improve the speed: https://en.scratch-wiki.info/wiki/Raycaster
As for putting enemies in the maze that look like anything but moving walls, I have no idea.
As for putting enemies in the maze that look like anything but moving walls, I have no idea.
Last edited by jackson49 (Feb. 28, 2021 22:17:39)
- Elijah999999
-
Scratcher
1000+ posts
I need help with a first person 3D game...
If you want it to run fast, use Turbowarp. Code in Scratch, and playtest it in Turbowarp.
Actually, some things can't be left with turbowarp… I tried my raycasting game on there, but it doesn't work any better.
- Discussion Forums
- » Help with Scripts
-
» I need help with a first person 3D game...