←back to thread

261 points david927 | 4 comments | | HN request time: 0.037s | source

What are you working on? Any new ideas that you're thinking about?
1. purple-leafy ◴[] No.43155422[source]
A C-based graphics engine/raycasting engine to make 90's games like Wolfenstein3D (1992) - but on a never-before seen scale.

The scale is RNG worlds like Minecraft. I've never seen that before with a Raycaster.

Here is my progress so far (I've had a month break)

https://github.com/con-dog/chunked-z-level-raycaster/blob/ma...

Not for profit, just for fun and exploration

replies(1): >>43157191 #
2. neuralkoi ◴[] No.43157191[source]
Wow, this is really cool. Do you take inspiration from or have you looked at the original Wolfenstein3D code?

https://github.com/id-Software/wolf3d

replies(1): >>43163857 #
3. purple-leafy ◴[] No.43163857[source]
Thanks I appreciate that! Love getting feedback :)

Code-wise I didn't take inspiration from anywhere, I followed "C Programming - A Modern Approach" and based my C knowledge off there. There was also a YouTube video I watched regarding raycasting, and watching people optimise Minecraft etc.

Other than that, its just been alot of trial and error and trying many, many different ideas out.

What has helped is I don't worry about cross-platform ability, I just implement what I want and what feels fun and "innovative".

But I have never seen anyone do a Raycaster with as many vertical/z-levels as I'm planning (1000's), maybe the most I've seen is ~10.

Also most of the approach I'm taking is not best-practice, I'm trying to come up with how to approach everything from my own mind which has been extremely rewarding

replies(1): >>43166427 #
4. purple-leafy ◴[] No.43166427{3}[source]
Also I’m a terrible developer, so if I can do it and have a lot of fun, I think anyone can do it :)

I spent almost 8hours a day over the course of a month working on and off on the project.

Did give me tunnel vision but, no regrets