Show HN: PyWolf3D, a wolfenstein3D clone written from scratch in Python
Posted by BSPtree 4 days ago
Comments
Comment by antman 3 days ago
From the project page “All code present in this project was written by me, without AI code generation or coding agents”
Comment by mangasmango 3 days ago
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
Comment by BSPtree 2 days ago
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 :)
Comment by mangasmango 1 day ago
[dead]
Comment by ScreenWardenApp 3 days ago
Wow, this takes me back. I'm curious how much time you have in this?
Comment by BSPtree 3 days ago
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!
Comment by vivzkestrel 3 days ago
- stupid question: can you write a 3d game in c++ or python from scratch without using a GPT?
Comment by orangeboats 3 days ago
Are you saying that indie 3D games never existed prior to 2023?
Comment by BSPtree 3 days ago
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.