Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » 2d objects on a 3d plane?
- bywok
-
100+ posts
2d objects on a 3d plane?
I'm making a raycaster game and I'm trying to use 2d objects in my game. (sort of like in Baldi's Basics.) I've tried it before but t won't show anything. Does anybody know how to do this? I'll credit you if you can help. Thanks
- bywok
-
100+ posts
2d objects on a 3d plane?
Not necessarily. It could be items though. I mean like the trees in Mario 64 You mean like items?
- Brontosplachna
-
100+ posts
2d objects on a 3d plane?
This project is a ray-casted environment with a character moving through the environment. But one character makes the code twice as complicated.
It is simplest if the objects in the environment are just more walls. If you are using a sprite as a map of your environment, you can make some of the walls different colors and detect when the new color is touched. You can also make animated walls, as in the above project.
It is simplest if the objects in the environment are just more walls. If you are using a sprite as a map of your environment, you can make some of the walls different colors and detect when the new color is touched. You can also make animated walls, as in the above project.
- bywok
-
100+ posts
2d objects on a 3d plane?
This project is a ray-casted environment with a character moving through the environment. But one character makes the code twice as complicated.
It is simplest if the objects in the environment are just more walls. If you are using a sprite as a map of your environment, you can make some of the walls different colors and detect when the new color is touched. You can also make animated walls, as in the above project.
I already did that in dis project. It has falshing walls and doors and also a fan-looking thing. How did you add the zombie?
- Methanatos
-
100+ posts
2d objects on a 3d plane?
I added a zombie to a ray-cast environment by finding all the distances to the walls, sorting those distances, drawing all the far walls, stamping the zombie, then drawing all the nearer walls.
- Discussion Forums
- » Help with Scripts
-
» 2d objects on a 3d plane?