m8f wrote:Crazy stuff!
I have so many questions! Is it an experiment, or there is some serious plan?
Does it run from C++ side only, or from script side too, somehow?
Well, it is an experiment, I have this dream of scripting Doom with Python for many years, but never had the technical skills to do it. I've had a lot of experience with Python in my job now (Apart from side projects on github) and I'm experimenting with the idea somewhat more seriously now, studying pybind11. I'm somewhat acquainted with Kate Fox's
PyDoom, and in my opinion what she was trying to do was not the "ideal" (If there's such a thing) way of doing it. GZDoom is modern, pretty advanced and the product of many many years of community work, there's no reason to try to implement an entirely new source port only in Python.
Pybind11 is a pretty fancy and modern solution to embedding Python to an existing C++ codebase, and yeah, that's exactly what I'm trying to do, I want to mess with the internal functions from Python externally without needing to recompile the code, and I'll probably do a lot of things wrong, but anyway, there's no reason not to do it
I've pushed a few hours ago this "Hello World" of mine (It's on
d_main.cpp), you can clone my fork and test it if you want. I'll post my progress from time to time.