Remix.run Logo
▲ Show HN: PyWolf3D, a wolfenstein3D clone written from scratch in Python(github.com)
30 points by BSPtree a day ago | 9 comments
▲antman 20 hours ago | parent | next [-]

From the project page “All code present in this project was written by me, without AI code generation or coding agents”

▲mangasmango 7 hours ago | parent | prev | next [-]

looks great i have done something similar in the past using the same book but with html canvas and javascript for a free puzzle game I made, raycasting is so fascinating to me

▲BSPtree 38 minutes ago | parent [-]

It really is. Sometimes I think of it as 1D raytracing: indeed of tracing rays for a grid, you trace them for a line in the central horizon of the screen :)

▲ScreenWardenApp 21 hours ago | parent | prev | next [-]

Wow, this takes me back. I'm curious how much time you have in this?

▲BSPtree 13 hours ago | parent [-]

Glad you like it! About 1.5-2 months. I wanted to build a raycaster so I decided to rewrite my fav DOS game while at it!

▲vivzkestrel 19 hours ago | parent | prev [-]

- stupid question: can you write a 3d game in c++ or python from scratch without using a GPT?

▲orangeboats 17 hours ago | parent | next [-]

Are you saying that indie 3D games never existed prior to 2023?

▲BSPtree 13 hours ago | parent | prev | next [-]

Ummm... Of course you can! Consider using opengl libraries like pyopengl. But I would write my own rasterizer (and I did)! With python though that path is much harder.

▲ 11 hours ago | parent | prev [-]
[deleted]