You are browsing as a guest. Sign up (or log in) to start making projects!

Raycaster

  • 4 Devlogs
  • 10 Total hours

A ray casted game similar to Wolfenstein 3D. Don't know what it will be about though.

Open comments for this post

2h 16m 45s logged

I added textures to the walls! They’re kind of broken however. This is because the code that grabs the texture position is kinda jank. The screenshot below shows the textures I’ve added. I also changed the sky and floor back to solid colors since it looks happy now :D

0
0
6
Open comments for this post

6h 32m 16s logged

Hello! Its been awhile since I’ve posted. School just started up and it took a lot of time out of my schedule. Anyways, I’ve implemented the DDA algorithm into the raycaster. It was very hard and it took a bunch of resources/tutorials before I understood the underlying logic. But it was worth it because it makes the walls look 100 times better while also making the game way faster. I also got rid of collision for now because how it used to work was kind dumb since it didn’t allow the user to “slide” off the wall if going in a diagonal direction. So I’ll come back to that soon. Anyways, I hope to also soon add textures to the walls, floors, and celling. I also hope to add a infinite world and a save/load system. NPCs will also come too.

0
0
9
Open comments for this post

48m 37s logged

I added the ability to walk sideways and added some essential features like not being able to walk off the map. I also cleaned up the code. I wanted to put the image below just to show the repercussions of not using DDA in a raycaster. It looks all jagged because my rays are moving at fixed intervals instead of moving from grid space to grid space. This causes the ray to detect walls irregularly. To fix this, you would need your ray steps to be incredibly small (very laggy) or implement DDA. The next devlog should be me implementing it hopefully!

0
0
6
Open comments for this post

47m 33s logged

I’m making a raycaster and so far I’ve got the essentials down. I added a editable map, a raycaster, and basic collision. I have not implemented the DDA algorithm yet because I don’t totally understand it but once I do I will implement it. Will also add a bigger map; textured walls, ceilings, and floors; npcs; objects; and other cool things. Right now I decided to make it look like the Backrooms for fun. I’m thinking this game could take place in a city.

0
0
15

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…